https://bugs.kde.org/show_bug.cgi?id=513009

            Bug ID: 513009
           Summary: Wayland: media keys from wireless keyboard Consumer
                    Control device not recognized
    Classification: Plasma
           Product: plasmashell
      Version First 6.3.6
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Audio in general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY
On Plasma Wayland, media keys from my wireless keyboard are not recognized for
shortcuts and do not change system volume, even though the kernel receives
correct KEY_VOLUMEUP/KEY_VOLUMEDOWN/KEY_MUTE events.

STEPS TO REPRODUCE
1. Connect "ROYUAN 2.4G Wireless Keyboard" (Keydous) via its 2.4G wireless USB
dongle.
2. Log into a Plasma Wayland session.
3. Run "libinput list-devices" and note that the keyboard is split into several
devices:
   - ROYUAN 2.4G Wireless Keyboard
   - ROYUAN 2.4G Wireless Keyboard Consumer Control
   - ROYUAN 2.4G Wireless Keyboard System Control
   - ROYUAN 2.4G Wireless Keyboard Mouse
4. Run "sudo evtest /dev/input/event18" (Consumer Control device).
5. Press the keyboard volume wheel/buttons.
6. Open System Settings → Shortcuts → Audio Volume and try to rebind "Increase
Volume" and "Decrease Volume" using the keyboard volume wheel.

ACTUAL RESULT
- evtest shows proper events:
  - KEY_VOLUMEUP (115)
  - KEY_VOLUMEDOWN (114)
  - KEY_MUTE (113)
- System Settings does not detect these keys when assigning shortcuts.
- The keyboard volume wheel and mute key do not change the system volume in
Plasma Wayland.

EXPECTED RESULT
- Plasma should recognize media keys from the keyboard’s Consumer Control
device when assigning shortcuts.
- The keyboard volume wheel and mute key should change the system volume, like
other media keys.

ADDITIONAL INFORMATION
- Distribution: Manjaro (Arch-based), Linux.
- Session: Plasma Wayland.
- Another wireless headset with its own Consumer Control device works fine: its
volume buttons change system volume as expected.
- The issue seems specific to this keyboard being split into multiple input
devices; the kernel receives the events correctly, but Plasma Wayland ignores
them.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to