Date: Wed, 26 Oct 2022 16:58:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267368] x11/kf5-kded: does not save per-application keyboard layout settings anymore Message-ID: <bug-267368-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267368 Bug ID: 267368 Summary: x11/kf5-kded: does not save per-application keyboard layout settings anymore Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: d8zNeCFG@aon.at Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org 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)" (wh= ich 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=3D"1.0" SwitchMode=3D"WinClass"> <item currentLayout=3D"at" layouts=3D"us,at" ownerKey=3D"Thunderbird"/> <item currentLayout=3D"at" layouts=3D"us,at" ownerKey=3D"dolphin"/> <item currentLayout=3D"at" layouts=3D"us,at" ownerKey=3D"okular"/> <item currentLayout=3D"at" layouts=3D"us,at" ownerKey=3D"soffice.bin"/> </LayoutMap> [0]%=20 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=3D"at" layouts=3D"us,at" ownerKey=3D"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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267368-7788>