Bug 500329 - Logitech Marble FX Trackball Paste Button not configurable under Wayland
Summary: Logitech Marble FX Trackball Paste Button not configurable under Wayland
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: libinput (other bugs)
Version First Reported In: 6.3.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 16:11 UTC by Jens Westemeier
Modified: 2025-04-01 08:15 UTC (History)
3 users (show)

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


Attachments
udevadm_info (1.58 KB, text/plain)
2025-02-18 16:11 UTC, Jens Westemeier
Details
X11 config (1.94 KB, text/plain)
2025-02-18 16:17 UTC, Jens Westemeier
Details
libinput record (2.44 KB, text/plain)
2025-02-18 16:18 UTC, Jens Westemeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Westemeier 2025-02-18 16:11:57 UTC
Created attachment 178529 [details]
udevadm_info

Hello,

I'm using a Logitech Marble FX Trackball Logitech. OS is Opensuse Tumbleweed. Libinput version is 1.27.1.

This works fine under Plasma6 / X11 (/etc/X11/xorg.conf.d/99-Logitech-Marble.conf 99-Logitech-Marble.conf ).

Under Plasma6 / Wayland the paste button is not working, MiddleMouseEmulation seems to be set, but can't be changed (only both big buttons simultaneously provide paste functionality). qdbus6 org.kde.KWin /org/kde/KWin/InputDevice/event4 gives qdbus6

Scrolling functionality could be set by:

qdbus6 org.kde.KWin /org/kde/KWin/InputDevice/event4
       org.kde.KWin.InputDevice.scrollOnButtonDown true

libinput record (with one time paste button pressed) gives: libinput_record

udevadm info gives: udevadm_info

Thanks for your help,
Jens
Comment 1 Jens Westemeier 2025-02-18 16:17:32 UTC
Created attachment 178530 [details]
X11 config
Comment 2 Jens Westemeier 2025-02-18 16:18:02 UTC
Created attachment 178531 [details]
libinput record
Comment 3 Jens Westemeier 2025-02-18 16:20:58 UTC
In the Mouse configuration I can assign any shortcuts. How can I assign the paste functionality?
Comment 4 Jens Westemeier 2025-02-18 18:47:20 UTC
Here a comment from libinput developer Peter Hutterer:

Paste is usually in response to a middle button press but that button you're pressing? it produces BTN_SIDE. That one is sequentially button 4 which in X maps to button 8 (4,5,6,7 is reserved for scrolling). Which according to your xorg.conf you map into logical button 2 (together with button 9, which will be whatever produces BTN_EXTRA) - hence why it works for paste.
In libinput/Wayland that button remains BTN_SIDE and that is passed up to the compositor and eventually to the Wayland client. What you need is a compositor functionality to remap that button into another button, equivalent to the ButtonMapping xorg.conf option. I don't know though if Plasma has that option but either way - that's where you need to ask ๐Ÿ˜„
Comment 5 Nate Graham 2025-02-19 21:56:58 UTC
Great info! You can re-map buttons on System Settings' Mouse page, which is I suspect where the trackball will appear. Can you try that?
Comment 6 Jens Westemeier 2025-02-20 07:59:35 UTC
My trackball appears in System Settings. Going to "Configure Extra Buttons -> Add Binding" I can press the small button, intended to perform the Paste operation. But how to assign the Paste operation in the second step? I pressed both left&right big buttons, which currently provide the Paste operation, but that does not work. It seems that at that stage only keyboard shortcuts are allowed.
Comment 7 Bug Janitor Service 2025-03-07 03:47:45 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Jens Westemeier 2025-04-01 08:15:55 UTC
(In reply to Nate Graham from comment #5)
> Great info! You can re-map buttons on System Settings' Mouse page, which is
> I suspect where the trackball will appear. Can you try that?

Is any more information required?