Created attachment 142064 [details] the instances that are open SUMMARY konsole opens multiple instances in certain directories upon login (from shutdown, not sleep) these instances are in the same directories every time, and always on the same virtual desktop i exit from them every time, however they always open again upon restart STEPS TO REPRODUCE 1. - 2. - 3. - OBSERVED RESULT konsole opens instances upon restart EXPECTED RESULT konsole does not open instances upon restart SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54.0 Qt Version: 5.11.3 ADDITIONAL INFORMATION
Created attachment 142065 [details] konsole version
Created attachment 142066 [details] about system
Is session restore enabled? (systemsettings -> startup and shutdown -> desktop session).
(In reply to Ahmad Samir from comment #3) > Is session restore enabled? (systemsettings -> startup and shutdown -> > desktop session). yes, it is when i disabled it, konsole no longer opened instances upon start however, when i re-enabled it, konsole again opened the same instances upon start the crux of this bug is that i am exiting console (via the "exit" command), so there should not be any instances in the session to restore
You mean all konsole windows are closed before you logout but they still open again when you login?
(In reply to Ahmad Samir from comment #5) > You mean all konsole windows are closed before you logout but they still > open again when you login? precisely
That means session saving isn't working correctly; but that would be a plasma bug.
Plasma 5.14 is quite old.
(In reply to Ahmad Samir from comment #8) > Plasma 5.14 is quite old. thank you could you help me find where I should submit the bug?
I'd changed the Product in this report, so you don't need to file a new one.
(In reply to Ahmad Samir from comment #10) > I'd changed the Product in this report, so you don't need to file a new one. thank you
Please include output of ~/.config/ksmserverrc
(In reply to David Edmundson from comment #12) > Please include output of ~/.config/ksmserverrc [General] confirmLogout=true excludeApps= loginMode=restorePreviousLogout offerShutdown=true screenCount=1 shutdownType=0 [LegacySession: saved at previous logout] count=0 [Session: saved at previous logout] clientId1=10c4daca67000163344631500000108160000 clientId2=10c4daca67000163344631500000108160008 clientId3=10c4daca67000163344631500000108160009 clientId4=10c4daca67000163344631500000108160010 clientId5=10c4daca67000163344632800000108160012 count=5 discardCommand1[$e]=rm,$HOME/.config/session/kwin_10c4daca67000163344631500000108160000_1633446425_319438 program1=/usr/bin/kwin_x11 program2=/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd program3=/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil program4=/usr/bin/korgac program5=firefox restartCommand1=/usr/bin/kwin_x11,-session,10c4daca67000163344631500000108160000_1633446425_319438 restartCommand2=/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd,-session,10c4daca67000163344631500000108160008_1633446425_315251 restartCommand3=/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil,-session,10c4daca67000163344631500000108160009_1633446425_312490 restartCommand4=/usr/bin/korgac,-session,10c4daca67000163344631500000108160010_1633446425_315337 restartCommand5=/usr/lib/firefox-esr/firefox-esr,--sm-client-id,10c4daca67000163344632800000108160012 restartStyleHint1=0 restartStyleHint2=0 restartStyleHint3=0 restartStyleHint4=0 restartStyleHint5=0 userId1=styg userId2=styg userId3=styg userId4=styg userId5=styg wasWm1=true wasWm2=false wasWm3=false wasWm4=false wasWm5=false I have fixed the issue! I closed all instances of konsole, and then exited the session. when i logged back in, they were no longer open. My commands for shutdown and restart, "/sbin/shutdown now" and "/sbin/shutdown -r now" respectively, must not have been exiting the session.