Not sure if this is really a bug or a feature hehe. I have two keyboard layouts, the main one and a secondary which I use on specific apps like Konsole. Somehow my choices only persist during the session and are lost every time I boot, so I have to manually switch layout for the first time I open those apps. On the settings I have keyboard layout policy set to 'application', which works with the mentioned caveat. One solution I've tried is creating a KWin rule for the applications I want to have a different layout, but there are no rules for that, only things mainly related to the window (focus, opacity, placement ...). SOFTWARE/OS VERSIONS KDE Plasma Version: 5.22.5 KDE Framework Version: 5.86.0 Qt Version: 5.15.2
Please try on Wayland, if the issue persists, try to find reproducer. Thanks.
PS: forgot to mention: for Wayland, there must be "Restore previous saved session" set in Settings to restore the layout on boot-up.
"Restore previous saved session" was already checked in settings. I've managed to reproduce the issue consistently. 1) On a running session change layout for Konsole application 2) Close session and login back again 3) Open Konsole application and layout is correct 4) Open Firefox and layout changes to default, which is correct 5) Switch back to Konsole. I can see layout inidicator on panel flipping but it doesn't change and remains on previous one (default) Once I set again the correct layout for Konsole, every time I switch applications I get what I expect. Hope this helps.
Was it on Wayland? There might be glitches on X11 and they probably don't worth the efforts to fix them.
On X11 the issue happens first time I change back to Konsole from another app with a different layout. Later on, choices are respected no matter if I close and re-open Konsole. On Wayland I see a different problem. Layout is respected while changing between windows, but every time I open a new Konsole I have to set it up.
(In reply to Jason from comment #5) > On Wayland I see a different problem. Layout is respected while changing > between windows, but every time I open a new Konsole I have to set it up. Note if you open a new window from within Konsole itself, it will respect the layout. Could you open a separate issue about that? Also, could you make sure Konsole layout persists between sessions if you don't close it's window? That would mean the issue you opened here is not relevant for Wayland.
> Also, could you make sure Konsole layout persists between sessions if you > don't close it's window? That would mean the issue you opened here is not > relevant for Wayland. If you mean on X11, keyboard layout is always correct the first time you interact with Konsole, no matter if it is already open when you login or with a fresh new window. Problem happens when switching back from another app: keyboard layout change gets stucked and once you do it manually it works well from that point on. On Wayland switching between windows doesn't seem to trigger the bug.
No, I meant on Wayland. Please make sure it restores the layout correctly: > Also, could you make sure Konsole layout persists between sessions if you > don't close it's window?
(In reply to Andrey from comment #8) > No, I meant on Wayland. Please make sure it restores the layout correctly: > > > Also, could you make sure Konsole layout persists between sessions if you > > don't close it's window? That's the case, layout is correct when I close the session leaving Konsole window open.
Thanks. Then let's open a wayland-specific issue: (In reply to Andrey from comment #6) > (In reply to Jason from comment #5) > > On Wayland I see a different problem. Layout is respected while changing > > between windows, but every time I open a new Konsole I have to set it up. > > Note if you open a new window from within Konsole itself, it will respect > the layout. Could you open a separate issue about that?
(In reply to Andrey from comment #10) > Thanks. Then let's open a wayland-specific issue: Does this mean the bug is a wont-fix on X11?
I'm afraid it is. If the fix was obvious we could try it, but no one will go to investigate it on a dead platform, I think. Sorry.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!