Bug 408928 - On X11, Keyboard layout OSD doesn't work
Summary: On X11, Keyboard layout OSD doesn't work
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (show other bugs)
Version: 5.16.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Andrey
URL:
Keywords:
: 405706 423611 423617 429234 456533 491311 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-19 21:33 UTC by Yan
Modified: 2024-09-08 20:52 UTC (History)
17 users (show)

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


Attachments
X11 session on Neon unstable edition (847.30 KB, image/png)
2020-02-12 17:01 UTC, Patrick Silva
Details
Wayland session on Neon unstable edition (816.27 KB, image/png)
2020-02-12 17:02 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yan 2019-06-19 21:33:03 UTC
SUMMARY


STEPS TO REPRODUCE
1. Switch keyboard layout - no OSD pops up (OSD is notification in the center of a screen, like volume adjustment)
2. Relogin to wayland - it works
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: arch liux
(available in About System)
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Kai Uwe Broulik 2019-06-20 15:07:39 UTC
Works here on X, Ctrl+Alt+K
Comment 2 Yan 2019-06-20 17:15:17 UTC
I use win+space as a shortcut
Comment 3 Patrick Silva 2019-07-14 19:14:00 UTC
I can confirm this bug on Arch Linux running Plasma 5.16.3.
The OSD does not appear when I switch the keyboard layout by clicking its
icon in the systray on X11 session.
Comment 4 Patrick Silva 2020-02-12 17:01:17 UTC
Created attachment 125907 [details]
X11 session on Neon unstable edition

This issue persists on Plasma 5.18. Wayland session is also affected.

On Neon unstable edition OSD works yet, but it has different appearance depending on session used.
Compare the attached screenshots taken on X11 and Wayland sessions please.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.68.0
Qt Version: 5.13.2
Comment 5 Patrick Silva 2020-02-12 17:02:00 UTC
Created attachment 125908 [details]
Wayland session on Neon unstable edition
Comment 6 Patrick Silva 2020-02-13 12:25:11 UTC
Here "Display visual feedback for status changes" was unchecked in system settings > general behavior.
Now I also get different OSDs on X11 and Wayland sessions, as we can see in my attached screenshots, on Arch Linux.
Comment 7 phrxmd 2020-06-28 09:10:38 UTC
I just filed bug 423611 where I see a similar behaviour (no OSD), but only when the keyboard shortcut is from the "main" shortcut list. If I switch keyboards using a user-defined "alternative" shortcut, the OSD appears. This might be the same bug, and also the reason why not everybody can reproduce this.
Comment 8 Nate Graham 2021-03-19 19:57:16 UTC
Works in the Wayland session.
Comment 9 Nate Graham 2021-03-20 00:30:17 UTC
*** Bug 423611 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2021-03-20 00:30:22 UTC
*** Bug 429234 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2021-03-20 00:30:29 UTC
*** Bug 423617 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2021-04-09 20:03:33 UTC
*** Bug 435533 has been marked as a duplicate of this bug. ***
Comment 13 Andrey 2021-04-18 14:32:23 UTC
*** Bug 435533 has been marked as a duplicate of this bug. ***
Comment 14 Nicolas Fella 2021-05-22 21:29:22 UTC

*** This bug has been marked as a duplicate of bug 405706 ***
Comment 15 Nicolas Fella 2021-05-22 21:39:57 UTC
*** Bug 405706 has been marked as a duplicate of this bug. ***
Comment 16 Andrey 2021-05-22 22:39:44 UTC
AFAIK it now doesn't work even for secondary shortcut too because of bug 435533
Comment 17 Bug Janitor Service 2021-05-27 15:56:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwindowsystem/-/merge_requests/24
Comment 18 Bug Janitor Service 2021-05-28 11:28:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/491
Comment 19 Andrey 2022-07-11 16:47:51 UTC
*** Bug 456533 has been marked as a duplicate of this bug. ***
Comment 20 cipricus 2024-03-19 08:19:04 UTC
(In reply to phrxmd from comment #7)
> I just filed bug 423611 where I see a similar behaviour (no OSD), but only
> when the keyboard shortcut is from the "main" shortcut list. If I switch
> keyboards using a user-defined "alternative" shortcut, the OSD appears. This
> might be the same bug, and also the reason why not everybody can reproduce
> this.

I have the same problem in 5.27.10. The difference between main and alternative shortcuts is that the main ones are pre-defined (have to be checked in a list), while the alternative shortcut has to "manually", actively introduced, that is used, sampled.
Comment 21 cipricus 2024-03-19 08:23:05 UTC
The per-layout shortcuts do not trigger the OSD either (in X11). Plasma 5.27.10. Only the alternative shortcut does.
Comment 22 ratijas 2024-03-26 18:19:38 UTC
Changing the status back to CONFIRMED since no one is actively working on it.

FWIW I do experience the same issue. Seems like keyboard shortcuts and mappings are a hot mess due to historical reasons somewhat outside of our control :(
Comment 23 Andrey 2024-08-05 19:12:26 UTC
*** Bug 491311 has been marked as a duplicate of this bug. ***