Bug 485374 - Left/right button simulation of the middle button does not work.
Summary: Left/right button simulation of the middle button does not work.
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 6.0.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-11 13:07 UTC by Lukas Ruzicka
Modified: 2024-04-12 18:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ruzicka 2024-04-11 13:07:01 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

The mouse has a settings that when I click left and mouse button together, I can simulate the click of the middle button. However, this does not work and whenever I press the combination, it behaves like whatever button was clicked last, in my hand it is mostly the right button, so I am ending with the context menu most of the time.

STEPS TO REPRODUCE
1. Go to KSettings and open the Mouse settings.
2. Click on "Press left and right buttons for middle-click.
3. Hit Apply.
4. Try it.

OBSERVED RESULT

The two buttons do not simulate the middle click.

EXPECTED RESULT

The two button should simulate the middle click when the option is there.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 fanzhuyifan 2024-04-11 16:09:25 UTC
Is this on wayland or x11? At least on wayland this is handled by libinput.
Comment 2 Lukas Ruzicka 2024-04-11 16:41:47 UTC
I have seen this on Wayland. Am I getting it right that this is not supposed to work on Wayland?
Comment 3 fanzhuyifan 2024-04-11 17:04:02 UTC
(In reply to Lukas Ruzicka from comment #2)
> I have seen this on Wayland. Am I getting it right that this is not supposed
> to work on Wayland?

This is supposed to work. Kwin completely depends on libinput for this on wayland. If this is not working, either that setting is not being sent to libinput, or this is a libinput issue.
Comment 4 Nate Graham 2024-04-12 18:08:05 UTC
It's working for me with my mouse, so I suspect a Libinput issue. Please report it to https://gitlab.freedesktop.org/libinput/libinput/-/issues/. Thanks!