Bug#993030: plasma-desktop: keyboard layout variant is ignored

2021-08-28 Thread Marius Mikucionis
Package: plasma-desktop
Version: 4:5.21.5-2
Followup-For: Bug #993030

now I had time to experiment with this issue: it seems that the "variant" part 
is not being setup correctly (it seems to be ignored).
for example, I tried setting up Russian keyboard layout with "phonetic" variant 
-- the variant setting has no effect at all.

A workaround is to use the commandline, where the format is "layout(variant)":
setxkbmap "lt(us)"

Then the keyboard indicator shows unconfigured "lt(us)" -- confusing, but it 
works and I do not have to touch it again.

-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/32 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:da
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-desktop depends on:
ii  accountsservice  0.6.55-3
ii  breeze   4:5.21.5-2
ii  kactivitymanagerd5.21.5-2
ii  kde-cli-tools4:5.21.5-2
ii  kded55.83.0-2
ii  kio  5.83.0-2
ii  kpackagetool55.83.0-2
ii  libaccounts-qt5-11.16-2
ii  libc62.31-13
ii  libcrypt11:4.4.18-4
ii  libglib2.0-0 2.68.4-1
ii  libibus-1.0-51.5.24-1
ii  libkaccounts24:21.08.0-1
ii  libkf5activities55.83.0-2
ii  libkf5activitiesstats1   5.83.0-2
ii  libkf5authcore5  5.83.0-2
ii  libkf5baloo5 5.83.0-2
ii  libkf5codecs55.83.0-2
ii  libkf5completion55.83.0-2
ii  libkf5configcore55.83.0-2
ii  libkf5configgui5 5.83.0-2
ii  libkf5configwidgets5 5.83.0-3
ii  libkf5coreaddons55.83.0-2
ii  libkf5crash5 5.83.0-2
ii  libkf5dbusaddons55.83.0-2
ii  libkf5declarative5   5.83.0-2
ii  libkf5globalaccel-bin5.83.0-2
ii  libkf5globalaccel5   5.83.0-2
ii  libkf5guiaddons5 5.83.0-2
ii  libkf5i18n5  5.83.0-3
ii  libkf5iconthemes55.83.0-2
ii  libkf5itemviews5 5.83.0-2
ii  libkf5jobwidgets55.83.0-2
ii  libkf5kcmutils5  5.83.0-2
ii  libkf5kdelibs4support5   5.83.0-2
ii  libkf5kiocore5   5.83.0-2
ii  libkf5kiofilewidgets55.83.0-2
ii  libkf5kiogui55.83.0-2
ii  libkf5kiowidgets55.83.0-2
ii  libkf5newstuff5  5.83.0-2
ii  libkf5notifications5 5.83.0-3
ii  libkf5notifyconfig5  5.83.0-2
ii  libkf5package5   5.83.0-2
ii  libkf5plasma55.83.0-2
ii  libkf5plasmaquick5   5.83.0-2
ii  libkf5quickaddons5   5.83.0-2
ii  libkf5runner55.78.0-3
ii  libkf5service-bin5.83.0-2
ii  libkf5service5   5.83.0-2
ii  libkf5solid5 5.83.0-2
ii  libkf5sonnetcore55.83.0-2
ii  libkf5sonnetui5  5.83.0-2
ii  libkf5wallet-bin 5.83.0-2
ii  libkf5wallet55.83.0-2
ii  libkf5widgetsaddons5 5.83.0-2
ii  libkf5windowsystem5  5.83.0-2
ii  libkf5xmlgui55.83.0-2
ii  libkworkspace5-5 4:5.21.5-3
ii  libnotificationmanager1  4:5.21.5-3
ii  libpackagekitqt5-1   1.0.2-1
ii  libphonon4qt5-4  4:4.11.1-4
ii  libprocesscore9  4:5.21.5-3
ii  libqt5concurrent55.15.2+dfsg-10
ii  libqt5core5a 5.15.2+dfsg-10
ii  libqt5dbus5  5.15.2+dfsg-10
ii  libqt5gui5   5.15.2+dfsg-10
ii  libqt5network5   5.15.2+dfsg-10
ii  libqt5qml5   5.15.2+dfsg-8
ii  libqt5quick5 5.15.2+dfsg-8
ii  libqt5quickwidgets5  5.15.2+dfsg-8
ii  

Bug#993030: plasma-desktop: keyboard layout swaps third level characters

2021-08-26 Thread Marius Mikucionis
Package: plasma-desktop
Version: 4:5.21.5-2
Severity: normal

Dear Maintainer,

Something strange happened to the keyboard layout treatment and I am not sure 
where exactly. It manifests in KDE plasma, which I upgraded recently and thus I 
assume that the issue is with plasma. I do not know the exact package which 
handles the keybord layout, so feel free to reassign to other package.

The issue is with "Lithuanian" kayboard layout with "Lithuanian (US)" variant.
Normally the layout is the same as US keyboard, except the 3rd level 
(accessible by holding Right-AltGr) contains Lithuanian letters on the number 
keys (the row above the letters, not the numberpad).
The issue is that the 3rd level (Lithuanian letters) now work at the 1st level 
(ie. without Right-AltGr) and the numbers are accessible as 3rd level (while 
holding the Right-AltGr).
The keyboard settings still show the correct layout (1st numbers, 3rd LT 
letters).

I have tried removing and re-adding this layout, and the issue persists.

I have tried Danish layout and the issue is not there (i.e. 1st level are 
numbers and 3rd are currency and other characters), so maybe the issue is 
specific to this particular variant.

   * What led up to the situation?

   apt update && apt upgrade && plasmashell --restart

   * What exactly did you do (or not do) that was effective (or ineffective)?

   now I am forced to switch between US and LT layout which is not convenient.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-desktop depends on:
ii  accountsservice  0.6.55-3
ii  breeze   4:5.21.5-2
ii  kactivitymanagerd5.21.5-2
ii  kde-cli-tools4:5.21.5-2
ii  kded55.83.0-2
ii  kio  5.83.0-2
ii  kpackagetool55.83.0-2
ii  libaccounts-qt5-11.16-2
ii  libc62.31-13
ii  libcrypt11:4.4.18-4
ii  libglib2.0-0 2.68.4-1
ii  libibus-1.0-51.5.24-1
ii  libkaccounts24:21.08.0-1
ii  libkf5activities55.83.0-2
ii  libkf5activitiesstats1   5.83.0-2
ii  libkf5authcore5  5.83.0-2
ii  libkf5baloo5 5.83.0-2
ii  libkf5codecs55.83.0-2
ii  libkf5completion55.83.0-2
ii  libkf5configcore55.83.0-2
ii  libkf5configgui5 5.83.0-2
ii  libkf5configwidgets5 5.83.0-3
ii  libkf5coreaddons55.83.0-2
ii  libkf5crash5 5.83.0-2
ii  libkf5dbusaddons55.83.0-2
ii  libkf5declarative5   5.83.0-2
ii  libkf5globalaccel-bin5.83.0-2
ii  libkf5globalaccel5   5.83.0-2
ii  libkf5guiaddons5 5.83.0-2
ii  libkf5i18n5  5.83.0-3
ii  libkf5iconthemes55.83.0-2
ii  libkf5itemviews5 5.83.0-2
ii  libkf5jobwidgets55.83.0-2
ii  libkf5kcmutils5  5.83.0-2
ii  libkf5kdelibs4support5   5.83.0-2
ii  libkf5kiocore5   5.83.0-2
ii  libkf5kiofilewidgets55.83.0-2
ii  libkf5kiogui55.83.0-2
ii  libkf5kiowidgets55.83.0-2
ii  libkf5newstuff5  5.83.0-2
ii  libkf5notifications5 5.83.0-3
ii  libkf5notifyconfig5  5.83.0-2
ii  libkf5package5   5.83.0-2
ii  libkf5plasma55.83.0-2
ii  libkf5plasmaquick5   5.83.0-2
ii  libkf5quickaddons5   5.83.0-2
ii  libkf5runner55.83.0-3
ii  libkf5service-bin5.83.0-2
ii  libkf5service5   5.83.0-2
ii  libkf5solid5 5.83.0-2
ii  libkf5sonnetcore55.83.0-2
ii  libkf5sonnetui5  5.83.0-2
ii