Summary: | No session management in kxkb (it doesn't remembers the last layout) | ||
---|---|---|---|
Product: | [Unmaintained] kxkb | Reporter: | ismore |
Component: | general | Assignee: | Andriy Rysin <arysin> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kevin, mongolie2006-kde, silver.salonen, thomas.bettler |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.0 | |
Sentry Crash Report: |
Description
ismore
2002-12-19 13:29:12 UTC
it's easy to implement for 'Global' switching policy in kxkb but prett hard to impossible for 'Application' and 'Window', moving to wishlist *** Bug 88675 has been marked as a duplicate of this bug. *** *** Bug 96204 has been marked as a duplicate of this bug. *** See also bug 197823: "The layout switcher has not memory. Layouts passed in fixed order." Coming to KDE 4.7: http://techbase.kde.org/Schedules/KDE4/4.7_Feature_Plan#kde-workspace Git commit def90750e40ff6dc8b7cff6d778dd2e4bd8d1010 by Andriy Rysin. Committed on 17/04/2011 at 22:39. Pushed by rysin into branch 'master'. Add session support for keyboard layouts BUG: 52095 FIXED_IN: 4.7.0 M +1 -0 kcontrol/keyboard/CMakeLists.txt M +3 -0 kcontrol/keyboard/keyboard_config.cpp M +2 -0 kcontrol/keyboard/keyboard_config.h M +12 -0 kcontrol/keyboard/keyboard_daemon.cpp M +8 -2 kcontrol/keyboard/layout_memory.h A +260 -0 kcontrol/keyboard/layout_memory_persister.cpp [License: GPL (v2+)] A +52 -0 kcontrol/keyboard/layout_memory_persister.h [License: GPL (v2+)] M +3 -0 kcontrol/keyboard/tests/CMakeLists.txt A +101 -0 kcontrol/keyboard/tests/keyboard_daemon_test.cpp [License: GPL (v2+)] A +160 -0 kcontrol/keyboard/tests/layout_memory_persister_test.cpp [License: GPL (v2+)] M +5 -0 kcontrol/keyboard/x11_helper.h http://commits.kde.org/kde-workspace/def90750e40ff6dc8b7cff6d778dd2e4bd8d1010 Just a note: restoring layouts works for all switching modes except "By window". I am not sure if there's an easy way to restore layouts by window: currently keyboard daemon remembers layouts by WId which is transient. Theoretically we could try to store layout information into window properties and let kcmserver restore them and then keyboard daemon will have to read that but that would be quite different from what it does now so that might take another 8 years to implement :) I use per-application layouts and these are not remembered either. Should a new bug report be opened for that? Silver, is session management set to 'Restore previous session' in KDE? Yes, it is. |