Skip to content
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

Holding a mouse button and pressing a keyboard key disables mouse input on Sway Atomic #596

Open
ribbanya opened this issue Sep 11, 2024 · 3 comments
Labels
bug Something isn't working f40 Related to Fedora 40

Comments

@ribbanya
Copy link

ribbanya commented Sep 11, 2024

Describe the bug
When a mouse button is held, and then a keyboard button is pressed, mouse input stops working. This includes the cursor but I believe it also affects any additional mouse button input. I believe that whatever mouse buttons were held before pressing a keyboard button are held until all buttons are released.

To Reproduce
Please describe the steps needed to reproduce the bug:

  1. Open https://shawon9324.github.io/apps/keytester/ or any game or application that uses keyboard and mouse.
  2. Press and hold any mouse button.
  3. Press any keyboard key (while holding the mouse button).
  4. Move the cursor (it should be unable to move).
  5. Release the keyboard and mouse buttons.
  6. Move the cursor (it should work again).

Expected behavior
Pressing the mouse and keyboard buttons should not impact the ability to use the cursor or mouse buttons.

OS version:
It is from the Fedora-Sericea-40-1.14-x86_64 image. It is no longer installed so I cannot provide the requested output.

Additional context
Originally posted to wayblueorg/wayblue#55. This issue does NOT affect the non-atomic Sway spin. It also does not affect any other atomic spins, such as Silverblue or Kinoite, if you layer sway onto them.

Below is a table of tested images.

✔️ = the issue is ABSENT
❌ = the issue is PRESENT

Image
✔️ Fedora Sway Spin 40
Fedora Sway Atomic 40
✔️ Fedora Silverblue 40
✔️ Fedora Silverblue 40 under layered sway
✔️ ublue/bazzite
✔️ ublue/bazzite under layered sway
ublue/sericea-main*
✔️ wayblueorg/hyprland
✔️ wayblueorg/hyprland under layered sway
wayblueorg/sway*

* Built on Sway Atomic.

@travier
Copy link
Member

travier commented Sep 11, 2024

I can "reproduce" the mouse stops working element on Kinoite 41 with the above website, only when pressing characters, not when pressing left/right/top/down buttons for example.

@travier travier added the f40 Related to Fedora 40 label Sep 11, 2024
@travier
Copy link
Member

travier commented Sep 11, 2024

It might be good to report that to the Sway SIG in Fedora as those folks are more versed into Sway than us here: https://gitlab.com/fedora/sigs/sway/SIG/-/issues/?sort=updated_desc&state=opened&first_page_size=100

@ribbanya
Copy link
Author

I can "reproduce" the mouse stops working element on Kinoite 41 with the above website, only when pressing characters, not when pressing left/right/top/down buttons for example.

This matches my experience.

It might be good to report that to the Sway SIG in Fedora as those folks are more versed into Sway than us here: https://gitlab.com/fedora/sigs/sway/SIG/-/issues/?sort=updated_desc&state=opened&first_page_size=100

Will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working f40 Related to Fedora 40
Projects
None yet
Development

No branches or pull requests

2 participants