mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1058] Keypress hotkey does not trigger on the server screen #841
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#841
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Azzurite on GitHub (Feb 8, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1058
Describe the bug
If you create a "key press" hotkey, for example when
1is pressed, then press2, and select the server screen as "Only on these screens", I would expect that when I press1, that the server screen receives a2. However, this only seems to work on client screens.To Reproduce
Steps to reproduce the behavior:
1212is pressed on the selected screenExpected behavior
I would expect that when I press
1, the hotkey triggers and sends the keypress2to the server screen.I would also expect that when I create a hotkey
1that then also presses1, that that also works on the server screen, i.e. the hotkey is visible to the OS instead of getting blocked.Desktop (please complete the following information):
@sblatnick commented on GitHub (Mar 8, 2021):
I think I am seeing the same behavior.
Server: 2.3.3-release-12024b9a on Debian, built myself from the master branch to get Sun keyboard support.
Client: 2.3.3-release-6f45a8ac on MacOS Catalina
I set up a hotkey to map the Sun keyboard's Help key to press F1, and it only sends the keypress to the client machine, not the server.
I would expect the button to be pressed on both boxes, but I also wouldn't mind if the keypress were dependent on the machine with the focus. Alternatively, if I could get the Sun keys to be passed to MacOS without using hotkeys at all, I could accomplish the same thing using karabiner.
The situation this presents is either I can use the Help key on my server/linux box natively (no hotkey defined), or I can use it on my client/mac, but there is no way I know of to have the key work on both boxes. In other words, if I specify the hotkey, neither Help nor F1 keypress invokes the desired UI interaction in Compiz Fusion running on the server/debian box. However, if I open Compiz Config, and grab a keypress, it will assign the Help key as a shortcut/keybinding.
I've tried various settings of "only on these screens" to no avail. Does this setting mean to trigger the hotkey only when that screen is focused, or only to send the hotkey to those screens? It seems to be the latter.
How are hotkeys supposed to work? Send the key to all applicable screens, or just the focused one? Could we add an option if there isn't one to determine which of these behaviors to use?
@PseudoResonance commented on GitHub (Feb 26, 2022):
I've run into this as well. My hotkeys will only send to the client, but it breaks hotkeys on the server. Both of which are running Windows 11 21H2. It doesn't seem to be OS related.