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

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/e6
                   |                            |cc0b1fca1176ffbcc6e024a3fb7
                   |                            |2729049f3c9

--- Comment #26 from Fabian Vogt <fab...@ritter-vogt.de> ---
Git commit e6cc0b1fca1176ffbcc6e024a3fb72729049f3c9 by Fabian Vogt.
Committed on 28/12/2021 at 11:05.
Pushed by fvogt into branch 'master'.

[kcms/keyboard] Avoid serializing list options as \\0

VariantList, DisplayNames and Options are comma-delimited string lists in a
setxkbmap/libxkbcommon compatible format, but serializing a QStringList with
a single empty string ends up as "\\0" in the config file, which is not
compatible. This can't happen for LayoutList, because layout strings are never
empty.

Add a kconf_update script to convert \\0 into empty lists for the affected
entries.

This restores the old format for compatibility with e.g. KWin.

M  +13   -4    kcms/keyboard/kcm_keyboard_widget.cpp
M  +4    -0    kcms/keyboard/kconf_update/CMakeLists.txt
A  +8    -0    kcms/keyboard/kconf_update/kxkb.upd
A  +17   -0    kcms/keyboard/kconf_update/kxkb_emptylists.awk
M  +10   -0    kcms/keyboard/keyboard_config.cpp
M  +4    -0    kcms/keyboard/keyboardsettings.kcfg

https://invent.kde.org/plasma/plasma-desktop/commit/e6cc0b1fca1176ffbcc6e024a3fb72729049f3c9

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

Reply via email to