Bug 469188 - Alternate buttons not working under Wayland
Summary: Alternate buttons not working under Wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.27.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-30 11:56 UTC by Zastrix Arundell
Modified: 2023-06-12 07:58 UTC (History)
1 user (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 Zastrix Arundell 2023-04-30 11:56:00 UTC
SUMMARY
When running KDE under wayland the media keys don't work. They don't control the current media and going to the shortcut editor it doesn't see the media combo being pressed. Changing the session to x11 fixes the issue and media can be controller with the media keys.


STEPS TO REPRODUCE
1. Login with an Wayland session.
2. Try to control the media with media control buttons. (it doesn't work)
3. Logout and login with an X11 session
4. Try to control the media with media control buttons. (it works)

OBSERVED RESULT
Wayland ignores the buttons completely.

EXPECTED RESULT
The media control buttons work.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux kinoite 6.2.13-300.fc38.x86_64
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Comment 1 Nate Graham 2023-05-02 16:36:55 UTC
What kind of keyboard are you using? Are you saying that all input from these keys is ignored by everything in the Plasma Wayland session?
Comment 2 Zastrix Arundell 2023-05-08 07:23:01 UTC
The model specifically is Redragon Kumara K552 / a desktop keyboard. Yes all of the keyboard inputs for media controls buttons are ignored while under the Plasma Wayland session.

I also tried to run `showkey -a` and I don't get a response at all when I try to use the media keys (which are a combination of FN + F5-F8).

Actually, now when I tried the other keys, it's not only the media ones which aren't working but actually every key which has an additional action when holding down FN, so everything from F1 to F12.
Comment 3 Zastrix Arundell 2023-05-08 07:34:27 UTC
After jumping to an X11 session `showkey -a` doesn't show anything as well when using alternative buttons. But to expand the info about the issue I'm having: as an example, KCalc start when I press FN+F11 while under X11 but not while under Wayland, on top of the issue which I'm having under wayland.
Comment 4 Bug Janitor Service 2023-05-23 03:45:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Zastrix Arundell 2023-05-28 04:15:49 UTC
I was originally running fedora kinoite with Nvidia drivers and after switching to ublue nvidia builds for kinoite the issue is no longer happening. Probably safe to assume that it has something to do with Nvidia indirectly.
Comment 6 Bug Janitor Service 2023-06-12 03:45:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!