-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland - Ctrl + Click Gesture Does Not Work Anywhere #1
Comments
Maybe related, Nemo Shift+Click or Ctrl+Click doesn't work either. |
linux mint 21.3 I have the same problem, Shift and Ctrl only work when writing text, if im in a game or in nemo they dont do anything. |
Seems like key-down events aren't sent for shift/ctrl/alt. Key-up events for them are however. |
Fedora 39 with cinnamon 6.0.4, same problem - affects all applications as far as I can tell |
If you press Ctrl having different window focused, and then click within the desired window, it works. Fedora 39 with Cinnamon 6.0.4 |
Also have the same issue when running applications such as games. Pressing Shift key does nothing. Linux mint 21.3 |
i just tried cinnamon 6.4.0 on arch linux and this still doesnt work |
so far, that doesn't seem to be the case; this bug is still present in the 22.1 beta... |
So interestingly, if you do CTRL+Shift+Click it works so this may be some simple keymap issue? |
thats interesting ctrl+shift+click = ctrl+click the second key can also be alt |
Surely this is something that can be programmed around... |
yeah, i would try to do it myself but i don't know if this is inside cinnamon or muffin |
I am having the same issue, on Linux Mint 22.0, but I'm confident that I have identified the cause and here are my steps of logic:
Consider this output from Weston, when I press the Shift key:
And this output with Muffin (Cinnamon):
The last parameter of this event is the keystate, 1 being pressed (key down) and 0 being released (key up). (Source) As you can see, there is a key down event missing. This does not happen with normal keys, only the modifier keys. Xwayland, GTK and Qt applications don't seem to mind this, but it seems Wine does. I suspect this is due to how Wine's input model differs from X11 and Wayland. EDIT: more info EDIT 2: I have found the cause of this bug and I've made a pull request to fix it. |
Presently, Muffin sends key-up events for modifier keys but no key-down event. This breaks applications that use a modifier key standalone, such as the Shift-click functionality in browsers, games which use modifier keys seperately, and Wine, where modifiers are rendered completely non-functional due to how its input model works. This commit fixes those issues. Closes: linuxmint/wayland#1
works fine just like on x11 with the fix |
Just tested this with the fix on mint 22.0 with wayland experimental. Seemed to do the trick. Blender shift/ctrl key works as expected. Steam games (Enshrouded) also works perfectly. |
Distribution
Archlinux
Package version
6.0
Graphics hardware in use
Intel + Nvidia Optimus
Frequency
Always
Bug description
When testing with the Wayland integration, I notice that I can no longer use mouse gestures that include the use of the left control...I am unsure if this translates to other keys.
Steps to reproduce
Open a browser or other application that has a use for ctrl + click, such as opening a new tab...try it and it won't work.
Expected behavior
A new tab would open in firefox or chromium. Instead, it opens in the current tab because left control does nothing as a modifier when using the mouse.
Additional information
No response
The text was updated successfully, but these errors were encountered: