Bug 378511 - Numlock key not turning on under Wayland
Summary: Numlock key not turning on under Wayland
Status: RESOLVED DUPLICATE of bug 377155
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.9.4
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-06 17:07 UTC by Andrius Štikonas
Modified: 2017-04-14 19:11 UTC (History)
0 users

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 Andrius Štikonas 2017-04-06 17:07:25 UTC
I was testing numlock in a Plasma Wayland session. Pressing numlock turned it off but I was not able to turn it back on by pressing num lock again. It was still in off state.

However, switching keyboard layouts actually turned numlock on.
Comment 1 Martin Flöser 2017-04-06 18:42:13 UTC
Do you have an led? If yes, does it represent the state correctly?
Comment 2 Andrius Štikonas 2017-04-06 18:54:33 UTC
(In reply to Martin Gräßlin from comment #1)
> Do you have an led? If yes, does it represent the state correctly?

Yes, I have led and it didn't represent state correctly.

I was going to write that I can't reproduce this anymore after reboot but now I managed to trigger it again after opening poedit. I guess something to do with XWayland. I.e. Kate as wayland client works fine now but Kate running under xcb does not work.
Comment 3 Martin Flöser 2017-04-06 19:42:39 UTC
Which Xwayland version are you using?
Comment 4 Andrius Štikonas 2017-04-06 19:48:35 UTC
(In reply to Martin Gräßlin from comment #3)
> Which Xwayland version are you using?

1.19.2
Comment 5 Martin Flöser 2017-04-07 04:53:36 UTC
hmm XWayland 1.19 really improved in getting the state updates right. Looks like not in all cases.

As I don't have a keyboard with numlock: could you please test whether the same problem happens with Weston?
Comment 6 Andrius Štikonas 2017-04-07 11:06:26 UTC
I can't reproduce it from either Weston or Gnome session. Only in Plasma session.

Hm, I wonder if this bug is caused by the same thing as #375708.
Comment 7 Martin Flöser 2017-04-14 19:11:58 UTC
After investigating bug #377155 I think it's that one. If you could test whether https://phabricator.kde.org/D5452 also works for this bug report, that would be appreciated.

*** This bug has been marked as a duplicate of bug 377155 ***