Forum / NoMachine for Linux / Mouse left/right click issue
- This topic has 10 replies, 3 voices, and was last updated 3 years, 7 months ago by graywolf.
-
AuthorPosts
-
May 5, 2021 at 16:53 #33247whitewitchParticipant
Hi,
I am using my Macbook air to connect to a Linux work machine via NoMachine.
The left and right mouse clicks function ok. I am using a webpage where ctrl + LeftClick and ctrl + RightClick should do different things but via NoMachine they function the same. I also tried to check the “emulate right mouse button”. Then the ctrl + RightClick works but ctrl + LeftClick performs nothing. Do anyone one know how to have separate function for ctrl + LeftClick and ctrl + RightClick? Thank you!
May 5, 2021 at 17:26 #33256whitewitchParticipantEDIT: after checking the “emulate right mouse button” box, the ctrl + RightClick and ctrl + LeftClick performs the same thing which is ctrl + RightClick is supposed to do
May 6, 2021 at 09:17 #33266graywolfParticipantHello.
Does it makes any different if you use a different client machine with a different OS, Windows for example?
Inspect events forwarded on actions Ctrl+Left Button and Ctrl+Right Button. Launch the xev tool using a terminal in the remote session. You would restrict inspection to mouse and keyboard events for better readability:
xev -event keyboard -event mouse
May 7, 2021 at 08:46 #33284whitewitchParticipantHey graywolf, thanks for your reply.
I have no idea how to interpret the results so I upload two logs and hope to get some help.
Tested events are 5 times of ctrl+leftClick followed by 5 time of ctrl+RightClick for both logs.
Above behaviors were restricted in between “a” from keyboard
xev.log : “emulate right mouse button” box is not checked
xev_emulateRight.log : “emulate right mouse button” box is checked
To summarize the issue I have again:
When “emulate right mouse button” box is not checked, both ctrl+LeftClick and ctrl+RightClick function as ctrl+LeftClick
When “emulate right mouse button” box is checked, both ctrl+LeftClick and ctrl+RightClick function as ctrl+RightClick
Thanks in advance!
May 7, 2021 at 08:54 #33293CarinParticipantHi whitewitch,
The log files failed to attach. Can you send them directly to forum[at]nomachine[dot]com? Please make sure you use the title of the topic as the subject of your email. Thanks!
May 10, 2021 at 16:14 #33366whitewitchParticipantHey,
I sent those files via email last week and was wondering whether they were received or got lost?
May 10, 2021 at 18:04 #33370graywolfParticipantHello. I would expect to find ButtonPress/ButtonRelease events, but I can’t see any.
I had to spend some more words about the way xev works, sorry. In order to record events, you have to generate them on the xev window: move the pointer over the xev window, then Ctrl+click on it.May 11, 2021 at 16:29 #33383whitewitchParticipantHi, thanks for the explanation. I sent another email with two log files again. Hope I did it correctly this time. Thank you in advance. Appreciate it.
May 14, 2021 at 18:53 #33455graywolfParticipantHello, the log actually shows 10 events Ctrl+LeftClick where you issued 5 left and 5 right button clicks. It looks that events are created with wrong button code. We managed to reproduce, so I think we are going to open a Trouble Report.
May 17, 2021 at 17:13 #33486whitewitchParticipantThanks and that would be great! Please let me know when it is fixed. Thank you. Appreciate it!
May 18, 2021 at 10:38 #33504graywolfParticipantHello. Here’s the TR: Right mouse button behaves like left button if Control key is pressed down
-
AuthorPosts
This topic was marked as solved, you can't post.