SUMMARY When having "Show on startup" set to "Folders, tabs, and windows state from last time" and opening the terminal, the .zshrc will not have been loaded and I'm greeted with a default zsh session. Manually sourcing .zshrc works. Setting it manually (to anything) works as intended. I was not able to test with bash since I can't get dolphin to acknowledge I've changed shell. STEPS TO REPRODUCE 1. Set "Show on startup" to "Folders, tabs, and windows state from last time" 2. Restart dolphin 3. Open terminal and see a default zsh prompt OBSERVED RESULT Default prompt is displayed (.zshrc not loaded) main% cd / main% cd /home/ main% cd /home/katt main% EXPECTED RESULT My custom .zshrc to be loaded katt@main ~ ยป SOFTWARE/OS VERSIONS Linux: 5.8.0-zen1-1-zen KDE Plasma Version: 5.19.4 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION Dolphin 20.07.90 wasn't in the list but I've tested both 20.07.90 and git master (97a14db70)
I have the same issue. When Folder, tabs and window state from last time option is enabled zshrc doesn't load. This update started happening after latest kde apps update i.e 20.08 System Info: Operating System: Arch Linux KDE Plasma Version: 5.19.4 KDE Frameworks Version: 5.73.0 KDE Apps Version: 20.08 Qt Version: 5.15.0
Typo Edit - This issue started happening after latest kde apps update i.e 20.08
I can confirm this affects me too and just started happening after the update to 20.08.0. The workaround of setting the home folder in "Show on startup:" in Dolphin's startup preferences fixes the problem.
Unclear whether this is a problem in Dolphin or in the Konsole KPart, and where we could fix it. Tomaz, any ideas?
Nate, no, no ideas yet. on the konsole side we haven't changed anything that could trigger this. I'll need to test.
Created attachment 131043 [details] works for me on master. works for me on master.
Created attachment 131049 [details] Still broken, commit 257eeebf4 Still broken on my end, running latest git.
I have the same issue. When Folder, tabs and window state from last time option is enabled zshrc doesn't load. This does however seem to only happen when I close dolphin with the konsole open and then re-open dolphin. On a side note when restore Folder, tabs and window state is selected and I close the konsole before closing dolphin and then re-open dolphin and then only the console you can see a flicker from where the default zsh is showing and when zrhrc is loaded but it loads successfully. This does not happen when restore Folder, tabs and window state is not selected. It almost seems like it is trying to cd to the last used folder while still loading the zshrc or vice versa. System Info: Operating System: Manjaro Linux KDE Plasma Version: 5.19.4 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.0 Kernel Version: 5.8.3-2-MANJARO OS Type: 64-bit
I have the same problem since 20.08.0. Not having found this bugreport I have posted on on my own, which I will mark as duplicate to this one: https://bugs.kde.org/show_bug.cgi?id=426076 OBSERVED RESULT: only when $ZDOTDIR is set the sourcing fails. When manually sourcing in the konsole panel it works as expected. Standalone Konsole works as expected. Sorry for the messy duplicate.
*** Bug 426076 has been marked as a duplicate of this bug. ***
Could this bug have the same cause as https://bugs.kde.org/show_bug.cgi?id=407990, which is about session restore? I remember to have experienced this bug before 20.08, but only in connection with session restore. Since 20.08, I experience this bug whenever Dolphin is started with the terminal pane opened.
Sure looks like it, thanks. I guess it was a pre-existing bug that god worse since we're using session restore by default now. *** This bug has been marked as a duplicate of bug 407990 ***
There is a workaround as mentioning here: "The workaround is to choose a specific folder in the startup section of the dolphin settings. I hope that's useful for someone else." https://www.reddit.com/r/kde/comments/icpqye/dolphin_not_running_the_default_shell_after_update/