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

--- Comment #11 from Andrey <butir...@gmail.com> ---
Git commit a482d73de2911494ba3a0d89ada945fe4a28235f by Andrey Butirsky.
Committed on 24/11/2020 at 13:34.
Pushed by butirsky into branch 'master'.

feat: expose keyboard layout Short Name via DBus

Due space constraints, Short Name is the only name suitable for keyboard
layout indication on panels and systray. Usually it's just 2 symbols
corresponding to standard ISO country code.

libxkbcommon doesn't have this information, so we have to store it in
compositor for the exposing:
https://github.com/xkbcommon/libxkbcommon/issues/192

It's exposed by getLayoutDisplayName() DBus method now, as it should initially.
For Long Name, getCurrentLayoutLongName() method was added.

Relevant P-W commits:
Keyboard Layout plugin: passthrough Short Name from compositor to QML applet
fix: Keyboard Layout plugin: wrong property for passing Short Name
X11 part, P-D:
feat: expose keyboard layout Long Name via DBus
FEATURE:

M  +9    -1    keyboard_layout.cpp
M  +1    -0    keyboard_layout.h
M  +8    -2    xkb.cpp
M  +4    -0    xkb.h

https://invent.kde.org/plasma/kwin/commit/a482d73de2911494ba3a0d89ada945fe4a28235f

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

Reply via email to