[GH-ISSUE #1036] Middle mouse drag does not work in some applications #821

Closed
opened 2026-05-05 07:11:01 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @fallingcats on GitHub (Jan 24, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1036

Describe the bug
Dragging while middle-mouse button is held down does not work on clients in some applications

To Reproduce
Steps to reproduce the behavior:

  1. Open a .pdf in Okular on a client
  2. Drag with middle mouse button (should zoom in Okular)
  3. Cursor changes, nothing happens. Cursor does not change back

Expected behavior
Okular should zoom in or out, instead nothing happens

Desktop (please complete the following information):
Operating System: Arch Linux
Barrier version: 2.3.3
Display Server: X11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.9-arch1-1
OS Type: 64-bit
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.1 GiB of RAM
Graphics Processor: AMD RENOIR

Edit: I should mention those specs are for the client. The server is the same in all software-related aspects though.

Additional context
It seems to me that dragging middle mouse does not work in Qt applications in general with barrier clients, although this is hard to test because most applications don't respond to that anyways. Firefox (gtk) seems to work.
Also, Okular correctly changes the cursor to indicate zooming, but it does not work and also does not change the cursor back until pressing left click.

Originally created by @fallingcats on GitHub (Jan 24, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1036 **Describe the bug** Dragging while middle-mouse button is held down does not work on clients in some applications **To Reproduce** Steps to reproduce the behavior: 1. Open a .pdf in Okular on a client 2. Drag with middle mouse button (should zoom in Okular) 3. Cursor changes, nothing happens. Cursor does not change back **Expected behavior** Okular should zoom in or out, instead nothing happens **Desktop (please complete the following information):** Operating System: Arch Linux Barrier version: 2.3.3 Display Server: X11 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.10.9-arch1-1 OS Type: 64-bit Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics Memory: 15.1 GiB of RAM Graphics Processor: AMD RENOIR Edit: I should mention those specs are for the client. The server is the same in all software-related aspects though. **Additional context** It seems to me that dragging middle mouse does not work in Qt applications in general with barrier clients, although this is hard to test because most applications don't respond to that anyways. Firefox (gtk) seems to work. Also, Okular correctly changes the cursor to indicate zooming, but it does not work and also does not change the cursor back until pressing left click.
Author
Owner

@fallingcats commented on GitHub (Jan 24, 2021):

I have reason to suspect that this problem is caused by something else on my system. closing for now.

<!-- gh-comment-id:766455420 --> @fallingcats commented on GitHub (Jan 24, 2021): I have reason to suspect that this problem is caused by something else on my system. closing for now.
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#821
No description provided.