Bug 485196 - Bound additional mouse buttons to modifier+letter only work with Latin keyboard layouts
Summary: Bound additional mouse buttons to modifier+letter only work with Latin keyboa...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 6.0.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 19:00 UTC by ezh
Modified: 2024-04-11 16:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ezh 2024-04-07 19:00:10 UTC
KDE 6 on Fedora 40 beta, but the case was same with F39 with KDE 5.27.xx.

1. Logitech Performance MX mouse with two extra buttons (beside back & forward ones).

2. Set those 2 buttons via KDE System Settings - Mouse - Bind Additional Mouse Buttons for:
a) CTRL-W for closing a tab
b) ALT-F4 for closing a window/program

3. At some point CTRL-W binding stops working, at least in Firefox. It seems the ALT-F4 continues to work.
Seems like some focus problem, but I can select text in the active tab. Changing a tab does not fixes the issue.

4. It starts working again:
a) after some time (could not determine any logic in it)
b) after just opening KDE System Settings - Mouse - Re-Bind Additional Mouse Buttons window (do nothing, just open)

Tested on two PC: notebook and desktop, using two different mouses.

I'm a Linux beginner, can provide/do logs/tests if step-by-step guide is provided.
Comment 1 ezh 2024-04-07 19:37:49 UTC
Can confirm now (just experienced it again): the ALT-F4 bounded button closes the whole window, but the CTRL-W bounded button stops working and resumes after some time (or changing some tabs?).
Comment 2 ezh 2024-04-07 20:12:42 UTC
Just got it again. It is not FF related, in Thunberbird as well a tab would not close, as a Telegram window as well.

Opened KDE System Settings - Mouse - Re-Bind Additional Mouse Buttons window and all works again OK:
FF and TB tabs closes, Telegram windows closes as well.
Comment 3 ezh 2024-04-07 20:39:56 UTC
Now I got it. When Russian keyboard layout is selected, the CTRL-W binding does not work.
It works only with Latin bindings.
Comment 4 ezh 2024-04-07 20:45:03 UTC
Same ALT+latin letter does not work when Russian keyboard layout is selected.
Comment 5 ezh 2024-04-09 08:52:18 UTC
It works not only with English, but any Latin keyboard layout.