maintainer-feedback requested: [Bug 267368] x11/kf5-kded: does not save per-application keyboard layout settings anymore
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 26 17:58:19 BST 2022
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 267368: x11/kf5-kded: does not save per-application keyboard layout
settings anymore
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267368
--- Description ---
Scenario:
- FreeBSD 12.3 latest
- ports as of Oct 13, specifically kf5-kded-5.98.0
- using "per-application" keyboard layout settings
- using "German (Austria)" for some (e.g., thunderbird), "English (US)" (which
is also the default) for the rest
- normally, keyboard layout settings are saved into the file
.local/share/kded5/keyboard/session/layout_memory.xml
- until a while ago, thunderbird seemed to use a WM_CLASS of "Thunderbird"
(inferred from the contents of the layout_memory.xml file)
- currently, it uses "Mail", "thunderbird"
- The contents of the layout_memory.xml file were:
[0]% cat .local/share/kded5/keyboard/session/layout_memory.xml
<!DOCTYPE LayoutMap>
<LayoutMap version="1.0" SwitchMode="WinClass">
<item currentLayout="at" layouts="us,at" ownerKey="Thunderbird"/>
<item currentLayout="at" layouts="us,at" ownerKey="dolphin"/>
<item currentLayout="at" layouts="us,at" ownerKey="okular"/>
<item currentLayout="at" layouts="us,at" ownerKey="soffice.bin"/>
</LayoutMap>
[0]%
Result:
- When logging in again, thunderbird gets the layout "English (US)"
Expected result:
- As for dolphin and okular, the layout should be remembered for thunderbird
across session close/open.
Analysis:
- The file .local/share/kded5/keyboard/session/layout_memory.xml still gets
read
- This can be seen by added the following line to it:
<item currentLayout="at" layouts="us,at" ownerKey="thunderbird"/>
- (note the lower-case "t")
- With this line, after a new login (session) thunderbird immediately starts
with the "German (Austria)" keyboard layout
- Obviously, on logout (or probably whenever the keyboard layout for an
application is changed) the file is not updated anymore
-- Martin
More information about the kde-freebsd
mailing list