Summary: | Cannot configure mouse side buttons | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | EatMe <glacourse> |
Component: | kcm_mouse | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cleber.souza.abreu, duha.bugs, glacourse, jl710, kde, kdedev, leanguedes, natalie_clarius, nate, quarro, witchhunterpro |
Priority: | NOR | ||
Version First Reported In: | 6.4.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/990d7f16ceb0920d52558583b3d97ebc2f5b24ab | Version Fixed In: | 6.4.6 |
Sentry Crash Report: |
Description
EatMe
2025-06-29 13:37:18 UTC
I was able to reproduce the same issue. It asks to press the buttons you want to add a key binding for, but after pressing them, nothing happens. Operating System: Arch Linux KDE Plasma Version: 6.4.2 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.4-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-3570 CPU @ 3.40GHz Memory: 16 GiB of RAM (15.6 GiB usable) Graphics Processor: NVIDIA GeForce GTX 1050 Ti Hello! I had the same problem reported in this topic. I use Fedora and I followed these steps: 1- I downloaded the latest Fedora ISO dated 03/07/2025; 2- I put the ISO on a Pen-drive with Ventoy; 3- I started the ISO when the notebook booted; 4- Fedora started normally and Plasma recognized the side buttons of my mouse (generic mouse) normally; 5- I installed Fedora on the notebook; 6- I restarted the notebook and started the system normally from the local disk. At that moment, Plasma still recognized the side buttons of my mouse; 7- I updated the system to the latest version (data below); 8- From that moment on, Plasma stopped recognizing the side buttons of my mouse. Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.1 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i3-7020U CPU @ 2.30GHz Memory: 8 GiB of RAM (7.6 GiB usable) Graphics Processor: Intel® HD Graphics 620 Manufacturer: ASUSTeK COMPUTER INC. Product Name: VivoBook 15_ASUS Laptop X540UAR System Version: 1.0 Would be nice to know that this is being looked into. This is still an issue in Plasma 6.4.3. A workaround is to edit `~/.config/kcminputrc` and add the section `[ButtonRebinds][Mouse]` and then the binding bellow it, so for example this is what you add if you want to switch the virtual desktops with the side buttons (which is how I switch between virtual desktops, very handy): ` [ButtonRebinds][Mouse] ExtraButton1=Key,Meta+Ctrl+Right ExtraButton2=Key,Meta+Ctrl+Left ` (In reply to Greeniac from comment #4) > This is still an issue in Plasma 6.4.3. A workaround is to edit > `~/.config/kcminputrc` and add the section `[ButtonRebinds][Mouse]` and then > the binding bellow it, so for example this is what you add if you want to > switch the virtual desktops with the side buttons (which is how I switch > between virtual desktops, very handy): > > ` > [ButtonRebinds][Mouse] > ExtraButton1=Key,Meta+Ctrl+Right > ExtraButton2=Key,Meta+Ctrl+Left > ` Oops! I didn't know that code blocks don't work here (or I just did them wrong). *** Bug 509644 has been marked as a duplicate of this bug. *** I checked out a really old version of the kcm (january 2024) and it has the same issue so some change somewhere else broke it. Seems 2ec4cdfe92bcba736fa64b4fc6e534cfc15abb59 is the first bad commit commit 2ec4cdfe92bcba736fa64b4fc6e534cfc15abb59 Author: Marco Martin <notmart@gmail.com> Date: Wed May 7 15:45:44 2025 +0200 ColumnView: Use only touch event for dragging Drop support of synthetized mouse event for touch drag of ColumnView, use only proper touch events now. Code is simpler and way less glitchy, things like Plasma Settings appear much more reliable now src/layouts/columnview.cpp | 247 +++++++++++++++++---------------------------- src/layouts/columnview.h | 15 ++- is the culprit A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3203 Git commit 84f1f2f3cd62373b76d759f6a3e95f25b74b97cb by David Redondo. Committed on 24/09/2025 at 14:23. Pushed by davidre into branch 'master'. kcms/mouse: Make button rebinding work again 2ec4cdfe92bcba736fa64b4fc6e534cfc15abb59 in Kirigami broke it for some reason, event handling code looks the same. For now as a workaround we can make the columnview non-interactive while listening for mouse buttons. FIXED-IN:6.4.6 M +7 -0 kcms/mouse/ui/bindings.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/84f1f2f3cd62373b76d759f6a3e95f25b74b97cb (In reply to David Redondo from comment #10) > Git commit 84f1f2f3cd62373b76d759f6a3e95f25b74b97cb by David Redondo. > Committed on 24/09/2025 at 14:23. > Pushed by davidre into branch 'master'. > > kcms/mouse: Make button rebinding work again > > 2ec4cdfe92bcba736fa64b4fc6e534cfc15abb59 in Kirigami broke it > for some reason, event handling code looks the same. > For now as a workaround we can make the columnview non-interactive > while listening for mouse buttons. > FIXED-IN:6.4.6 > > M +7 -0 kcms/mouse/ui/bindings.qml > > https://invent.kde.org/plasma/plasma-desktop/-/commit/ > 84f1f2f3cd62373b76d759f6a3e95f25b74b97cb Nice! Git commit 756a579f4a925158a485aeff45144b02d5e2145c by David Redondo. Committed on 24/09/2025 at 14:53. Pushed by davidre into branch 'Plasma/6.5'. kcms/mouse: Make button rebinding work again 2ec4cdfe92bcba736fa64b4fc6e534cfc15abb59 in Kirigami broke it for some reason, event handling code looks the same. For now as a workaround we can make the columnview non-interactive while listening for mouse buttons. FIXED-IN:6.4.6 (cherry picked from commit 84f1f2f3cd62373b76d759f6a3e95f25b74b97cb) Co-authored-by: David Redondo <kde@david-redondo.de> M +7 -0 kcms/mouse/ui/bindings.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/756a579f4a925158a485aeff45144b02d5e2145c Git commit 990d7f16ceb0920d52558583b3d97ebc2f5b24ab by David Redondo. Committed on 24/09/2025 at 15:23. Pushed by davidre into branch 'Plasma/6.4'. kcms/mouse: Make button rebinding work again 2ec4cdfe92bcba736fa64b4fc6e534cfc15abb59 in Kirigami broke it for some reason, event handling code looks the same. For now as a workaround we can make the columnview non-interactive while listening for mouse buttons. FIXED-IN:6.4.6 (cherry picked from commit 84f1f2f3cd62373b76d759f6a3e95f25b74b97cb) Co-authored-by: David Redondo <kde@david-redondo.de> (cherry picked from commit 756a579f4a925158a485aeff45144b02d5e2145c) Co-authored-by: David Redondo <kde@david-redondo.de> M +7 -0 kcms/mouse/ui/bindings.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/990d7f16ceb0920d52558583b3d97ebc2f5b24ab |