Can’t move mouse and scroll at the same time

Forum / NoMachine for Linux / Can’t move mouse and scroll at the same time

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #43640
    dmautz
    Participant

    I’m connecting from Windows 10 to Ubuntu 22.04.2. NoMachine version 8.4.2. All updates have been installed. I’m using a wireless Logitech mouse with the Logitech G Hub installed on Windows. After logging into the Ubuntu computer, I can not use the scroll wheel while moving the mouse. If I keep the mouse perfectly still, scrolling works fine. I haven’t been able to find a solution. Any suggestions?

    #44003
    Britgirl
    Keymaster

    Are you able to test with a different mouse? Does that work without issues?

    It would be useful to see the xev output. Start the ‘xev’ utility on the Ubuntu machine and show us the output when you reproduce the problem with the mouse.

    #44073
    dmautz
    Participant

    Well, I was able to find something weird. If I connect via NoMachine remotely from Windows then log in to Ubuntu from the client, the move and scroll at same time does not work. If I connect via NoMachine but don’t log in, then flip my monitor over to the Ubuntu box and log in from there, then it works. It even works if I flip back and use the client afterwards. So it has something to do with the login to Ubuntu via the NoMachine client.

    #44092
    Britgirl
    Keymaster

    Hi,

    It would still be useful to see the xev output from the Ubuntu machine (see my earlier reply).

    If you login to the desktop through the NoMachine session and then you flip the monitor over to the server, do you reproduce the same behaviour using the mouse attached to the server?

    #44093
    dmautz
    Participant

    Thanks for helping. Sorry I forgot to include the xev output.

    Here is the xev output when it is working:

    Move mouse inside or outside the box:

    MotionNotify event, serial 37, synthetic NO, window 0x5200001,

    root 0x765, subw 0x0, time 372848, (177,125), root:(222,234),

    state 0x10, is_hint 0, same_screen YES

    Scroll outside the window:

    ButtonPress event, serial 37, synthetic NO, window 0x5200001,

    root 0x765, subw 0x0, time 261502, (142,66), root:(187,175),

    state 0x10, button 5, same_screen YES

    ButtonRelease event, serial 37, synthetic NO, window 0x5200001,

    root 0x765, subw 0x0, time 261502, (142,66), root:(187,175),

    state 0x1010, button 5, same_screen YES

    Scroll inside the window:

    ButtonPress event, serial 37, synthetic NO, window 0x4000001,

    root 0x765, subw 0x4000002, time 137289, (25,30), root:(1305,575),

    state 0x10, button 5, same_screen YES

    EnterNotify event, serial 37, synthetic NO, window 0x4000001,

    root 0x765, subw 0x0, time 137289, (25,30), root:(1305,575),

    mode NotifyGrab, detail NotifyInferior, same_screen YES,

    focus YES, state 4112

    KeymapNotify event, serial 37, synthetic NO, window 0x0,

    keys:  101 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

    0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

    ButtonRelease event, serial 37, synthetic NO, window 0x4000001,

    root 0x765, subw 0x4000002, time 137289, (25,30), root:(1305,575),

    state 0x1010, button 5, same_screen YES

    LeaveNotify event, serial 37, synthetic NO, window 0x4000001,

    root 0x765, subw 0x0, time 137289, (25,30), root:(1305,575),

    mode NotifyUngrab, detail NotifyInferior, same_screen YES,

    focus YES, state 16

     

    Here it is when it’s not working:

    Move mouse in or outside the window:

    MotionNotify event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x0, time 2515240, (172,95), root:(267,254),

    state 0x0, is_hint 0, same_screen YES

    Scroll outside the window:

    ButtonPress event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x0, time 2514814, (143,91), root:(238,250),

    state 0x0, button 5, same_screen YES

    ButtonRelease event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x0, time 2514814, (143,91), root:(238,250),

    state 0x1000, button 5, same_screen YES

    Scroll inside the window:

    ButtonPress event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x2000002, time 437377, (16,28), root:(66,142),

    state 0x0, button 5, same_screen YES

    EnterNotify event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x0, time 437377, (16,28), root:(66,142),

    mode NotifyGrab, detail NotifyInferior, same_screen YES,

    focus NO, state 4096

    KeymapNotify event, serial 34, synthetic NO, window 0x0,

    keys:  4294967191 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

    0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

    ButtonRelease event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x2000002, time 437377, (16,28), root:(66,142),

    state 0x1000, button 5, same_screen YES

    LeaveNotify event, serial 34, synthetic NO, window 0x2000001,

    root 0x497, subw 0x0, time 437377, (16,28), root:(66,142),

    mode NotifyUngrab, detail NotifyInferior, same_screen YES,

    focus NO, state 0

     

    And here’s a pastebin link to the full output when it’s not working:

    https://pastebin.com/nvnqrqKY

     

    #44096
    dmautz
    Participant

    Switching between monitor outputs doesn’t seem to be doing anything anymore so it must have been something else I was doing. I never had the mouse plugged into the server. I think it was just showing the movement through the NoMachine client. I can’t replicate the steps for it to be working again anymore.

    #44164
    Britgirl
    Keymaster

    We were not able to able to reproduce the problem. If the issue returns, please grab the xev output and submit.  You can always open a new topic if this one is closed.

Viewing 7 posts - 1 through 7 (of 7 total)

This topic was marked as solved, you can't post.