[PR #1031] [MERGED] Enable use of keyboard to modify screens #1747

Closed
opened 2026-05-05 08:00:57 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/debauchee/barrier/pull/1031
Author: @albertony
Created: 1/21/2021
Status: Merged
Merged: 1/25/2021
Merged by: @p12tic

Base: masterHead: keyboard_ui


📝 Commits (1)

  • 4ee6a54 Enable use of keyboard to modify screens

📊 Changes

4 files changed (+78 additions, -7 deletions)

View changed files

doc/newsfragments/gui-keyboard-enabled-screen-layout.feature (+1 -0)
📝 src/gui/src/ScreenSetupModel.cpp (+1 -1)
📝 src/gui/src/ScreenSetupView.cpp (+72 -6)
📝 src/gui/src/ScreenSetupView.h (+4 -0)

📄 Description

This change enables the use of keyboard to modify screen layout.

Existing version relies on drag&drop mouse operation only. I think adding the possibility to use keyboard navigation is a nice addition, and for some it is even a requirement to be able to use the application properly.

With this you can do the following in the "Server Configuration" dialog's "Screen and links" tab:

  • Press tab key to get into the screen grid, and tab again to get focus out from the grid again.
  • Press arrow keys, page up/down, home/end, ctrl+home/end, etc to move within the screen grid.
  • Press enter key to open screen settings for existing screen in current cell, or insert new if cell is empty.
  • Press delete key to delete the screen in current cell.
  • Hold control while pressing arrow keys to move/swap screens with adjacent ones.

Hopefully this fixes https://github.com/debauchee/barrier/issues/1030, but there might be other changes that are needed as well for it to be 100% covered..


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/debauchee/barrier/pull/1031 **Author:** [@albertony](https://github.com/albertony) **Created:** 1/21/2021 **Status:** ✅ Merged **Merged:** 1/25/2021 **Merged by:** [@p12tic](https://github.com/p12tic) **Base:** `master` ← **Head:** `keyboard_ui` --- ### 📝 Commits (1) - [`4ee6a54`](https://github.com/debauchee/barrier/commit/4ee6a54d41a4aa53820f3a7fe50ff0d53b3e9ad2) Enable use of keyboard to modify screens ### 📊 Changes **4 files changed** (+78 additions, -7 deletions) <details> <summary>View changed files</summary> ➕ `doc/newsfragments/gui-keyboard-enabled-screen-layout.feature` (+1 -0) 📝 `src/gui/src/ScreenSetupModel.cpp` (+1 -1) 📝 `src/gui/src/ScreenSetupView.cpp` (+72 -6) 📝 `src/gui/src/ScreenSetupView.h` (+4 -0) </details> ### 📄 Description This change enables the use of keyboard to modify screen layout. Existing version relies on drag&drop mouse operation only. I think adding the possibility to use keyboard navigation is a nice addition, and for [some](https://github.com/debauchee/barrier/issues/1030) it is even a requirement to be able to use the application properly. With this you can do the following in the "Server Configuration" dialog's "Screen and links" tab: - Press tab key to get into the screen grid, and tab again to get focus out from the grid again. - Press arrow keys, page up/down, home/end, ctrl+home/end, etc to move within the screen grid. - Press enter key to open screen settings for existing screen in current cell, or insert new if cell is empty. - Press delete key to delete the screen in current cell. - Hold control while pressing arrow keys to move/swap screens with adjacent ones. Hopefully this fixes https://github.com/debauchee/barrier/issues/1030, but there might be other changes that are needed as well for it to be 100% covered.. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 08:00:57 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1747
No description provided.