mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1479] Ubuntu 20 server, Windows 10 client, barrier fails unless chrome is fullscreen #1124
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#1124
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 @gclayburg on GitHub (Dec 12, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1479
What happened?
I installed barrier 2.4.0-release-ac5a1bfb on Ubuntu 20.04. I run it as a server without using SSL.
I installed barrier 2.4.0-release-3e0d758b on Windows 10. This one runs as a client.
What I find is that barrier works to share the mouse and keyboard, but only when there is an application like chrome running full screen on the server. If there is not app in full screen, the mouse will never leave the server to travel to the client. As soon as the app is maximized to full screen again, the mouse can move to the client. I've noticed this with the chrome app, but others may trigger this behavior as well.
What is also interesting is that this little trick does not work for all apps. Running the file manager in full screen for example does not "trick" barrier to start working.
Version
v2.4.0
Git commit hash (if applicable)
No response
If applicable, where did you install Barrier from?
Barrier on the server is running from the latest stable snap.
What OSes are you seeing the problem on? (Check all that apply)
Linux
What OS versions are you using?
Ubuntu 20.04
Relevant log output
No response
Any other information
No response
@alexemilberg commented on GitHub (Dec 26, 2021):
Do you use wayland?
@raffraffraff commented on GitHub (Dec 27, 2021):
Hi Gary.
Wild guess: something on the desktop (screenlets? plasma widgets?) is "taking over" when the mouse hovers over the edge, but when you've got an application in full-screen mode it can't do this.
Some of these might help you diagnose:
[Disclaimer: I don't actually use Barrier, I'm just browsing issues to see if it's worth my while installing it!]
@raffraffraff commented on GitHub (Dec 27, 2021):
If nothing above helps, perhaps you can use
xevto show some Xorg debugging information for your desktop.xwininfo, and click on your desktop. It'll show a bunch of information including window IDxev -id <window_ID>At this point, xev will show debug information whenever you type or click the mouse. It also shows information
LeaveNotify eventandEnterNotify eventany time the mouse leaves or enters the desktop (eg: activating a dock or panel, or over an open application window). See if it triggers Leave/Enter events on the edge of the desktop when no applications are open.@raffraffraff commented on GitHub (Dec 27, 2021):
Also, see https://github.com/symless/synergy-core/issues/4524 (it's an old issue from Synergy, which Barrier was forked from). It appears to confirm that launchers and docks can indeed affect or be affected by edge activated software.
@gclayburg commented on GitHub (Dec 28, 2021):
Yes, I use wayland and gnome 3.36.8. I should be able to try some of these ideas later tonight.
@alexemilberg commented on GitHub (Dec 29, 2021):
Wayland is not really supported right now, try switching to xorg session
and see if it works better.
@darylliney1406 commented on GitHub (Jan 30, 2022):
I have this same issue. When Chrome is full screen or at the edge configured in the server I am able to move my mouse to another machine, as soon as it is minimised you are stopped from moving to another machine.
I have found that this behaviour disappears whilst using xfce.
@raffraffraff commented on GitHub (Feb 1, 2022):
^ XFCE doesn't support Wayland at all right now. If you prefer to use Gnome or KDE then see if your login manager has an option to run them without Wayland.
@dgentry commented on GitHub (Feb 17, 2022):
I hit this too.
First, I hit the issue where if you run the server on Windows and the client on Ubuntu 20.04/Gnome/Wayland, the cursor disappears as it moves onto the Ubuntu screen, and works, except for cursor visiblity. (I can click on stuff, type into dialog boxes, etc., I just can't see where the cursor is.)
So I switched the Ubuntu machine to be the server and Windows the client, and astonishingly, it does work as long as there's a full screen Chrome on the monitor next to the Windows monitor. It doesn't work with full screen File Manager, Terminal, AisleRiot, or a couple of other programs I tried.
I will now switch to running Gnome on Xorg instead of Wayland, but I will lose some Gnome features I had been using. Are there any plans to ever support Wayland? It seems like it's not far from working, but I haven't dug through the barrier source.
@alexemilberg commented on GitHub (Mar 8, 2022):
@dgentry I think this issue tracks wayland progress https://github.com/debauchee/barrier/issues/109
@themaskedcrusader commented on GitHub (Apr 10, 2024):
This is still happening in Ubuntu 22.04. If Chrome is fullscreen, I can switch to other desktops, When windowed the cursor is locked to my screen. It appears to only be chrome. Fullscreen Firefox doesn't let me switch. Full screen calculator doesn't let me switch. I've checked a lot of other apps (terminal, gedit, solitare, etc) and all don't let the cursor move to the other screens.
Chrome doesn't even have to be full screen. If I have the chrome window off the side of the desktop, I can switch as long as my cursor goes from chrome to the edge of the screen. Nothing else will work. Tis very strange.
Edit: So it looks totally related to Wayland. I switched to X11 and it works fine without a full-screen chrome. and What is it about Chrome that it overrides whatever Wayland is doing? that's weird too.