Unneeded barriers interfere with window management
Project
Deskflow
Deskflow version info
Deskflow: 1.21.1 (flatpak from flathub) Qt: 6.8.3 System: EndeavourOS (x64) Session: KDE Plasma 6.3.3 (Wayland)
Build type
Other (please specify)
Operating systems (OS)
- [x] Linux (Wayland)
- [ ] Windows
- [ ] macOS
- [ ] Linux (X11)
- [ ] BSD-derived
- [ ] Other (please specify)
Wayland on Linux
- [x] I have reviewed the Wayland known issues and my issue is new
- [ ] I am not using Wayland on Linux
Signing on macOS
- [ ] I have authorized the app to run on my Mac
- [x] I am not using macOS
Continuous build
- [x] I have tried the latest continuous build and the issue persists
- [ ] I am unable to try the latest continuous build
OS versions/distros
EndeavourOS (Arch x64 Kernel 6.13.8-arch1-1)
Deskflow configuration
- Client and Server both EndeavourOS Plasma 6
- Both clients have only one screen
- Host left, client right
- Encryption disabled
What steps will reproduce the problem?
- Start Deskflow
- Connect client to the right of the screen
- Try maximizing a window by dragging its top bar and move it against the top edge of the screen
- If the mouseup happens when the cursor touches the edge its never registered by the OS
Log output
Additional information
I know this is mentioned in the common Wayland problems and I tried the suggestion of the latest comment: https://bugs.kde.org/show_bug.cgi?id=494702#c2
For my own usecase I just removed the initialization of the bottom and top barrier in PortalInputCapture::cb_zones_changed
This only fixes half the problem and also only works for horizontal setups.
Since I dont have that much of an idea what I'm doing I'm not able to solve it myself in a nice way - Sorry I think the best solution would be to put each of the barrier creation calls in a conditional which decides on a per screen basis which edges should be "active".
A temporary shortcut could be to give gui option to limit the edges to left and right on any screen.
Thank you!
The solution here is to make borders only where a border really exists.