Bug 376460 - OSD is annoying (layout switching) on Wayland
Summary: OSD is annoying (layout switching) on Wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: 5.9.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 21:47 UTC by Vladimir
Modified: 2021-02-01 13:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2017-02-13 21:47:11 UTC
I've started using Plasma 5.9 on Wayland in my day to day work, and I found that when I'm switching my keyboard layout (using shortcuts) I see very annoying OSD on screen. As I'm on desktop (no touchscreen or something) I don't really want to see any kind of OSD on layout switch event.

For now the only workaround that I've found is to edit /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/osd/Osd.qml and to disable OSD (set timeout to 0). This is not fully disables OSD, but at least makes it almost invisible.

I also think that this behavior is Walyand-related and is not there on X11.
Comment 1 Kai Uwe Broulik 2017-02-13 21:50:40 UTC
On Wayland KWin triggers the OSD and does so on every keyboard layout change. Imho we should change the X11 implementation to do the same. We also show an OSD when changing the volume in all cases (both through keyboard shortcuts and interacting with the System Tray). I often accidentally switch keyboard layouts and don't notice until I start typing rubbish.
Comment 2 Martin Flöser 2017-02-14 05:25:52 UTC
There should be a way to globally disable the OSD. That is sufficient.
Comment 3 Vladimir 2017-02-14 08:23:27 UTC
I disagree with closing bug as "won't fix" with a comment "there should be a way to disable it globaly". There is NO WAY to disable OSD globally at this moment. Please close a bug with either meaningful explanation why you won't fix it (in that case you'll 100% sure lose me as a user) or close it once you implement a way to disable OSD globally.
Comment 4 Kai Uwe Broulik 2017-02-14 12:40:26 UTC
> There is NO WAY to disable OSD globally at this moment. 

There is. System Settings → Workspace Behavior → Workspace → "Visual feedback for status changes"
Comment 5 Andrey 2020-12-19 00:01:15 UTC
Should we re-open this?
People continue to complain:
bug 426450
Comment 6 Andrey 2021-02-01 13:47:16 UTC
Git commit 61be205a0dd98bc6a56c34697490a86ad5118231 by Andrey Butirsky.
Committed on 01/02/2021 at 13:39.
Pushed by butirsky into branch 'master'.

feat: add option to disable OSD on keyboard layout change

Counterpart commit with the same title is in P-D
Related: bug 426450

M  +5    -3    shell/osd.cpp
M  +2    -1    shell/osd.h

https://invent.kde.org/plasma/plasma-workspace/commit/61be205a0dd98bc6a56c34697490a86ad5118231
Comment 7 Andrey 2021-02-01 13:58:04 UTC
Git commit 86381afb241ac0d3d70947819e8971a14300518a by Andrey Butirsky.
Committed on 01/02/2021 at 13:55.
Pushed by butirsky into branch 'master'.

feat: add option to disable OSD on keyboard layout change

Existing ability to disable OSD globally seems is not enough.
People see OSD on keyboard layout change especially annoying.
So provide the fine grained option.

Counterpart commit with the same title is in P-W
Related: bug 426450

M  +2    -0    kcms/keyboard/CMakeLists.txt
M  +8    -1    kcms/keyboard/kcm_keyboard.cpp
M  +2    -0    kcms/keyboard/kcm_keyboard.h
M  +7    -4    kcms/keyboard/kcm_keyboard.ui
M  +14   -2    kcms/keyboard/kcm_keyboard_widget.cpp
M  +4    -1    kcms/keyboard/kcm_keyboard_widget.h
A  +6    -0    kcms/keyboard/workspace_options.kcfgc
M  +6    -0    kcms/workspaceoptions/workspaceoptions_plasmasettings.kcfg

https://invent.kde.org/plasma/plasma-desktop/commit/86381afb241ac0d3d70947819e8971a14300518a