Bug 446322

Summary: Dolphin resets to default location and layout and "forgets" location in directory tree, split windows and open panels after restart on plugin change
Product: [Applications] dolphin Reporter: Paul Brown <paul.brown>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 21.11.90   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Brown 2021-12-01 12:29:21 UTC
SUMMARY

When you change a plugin that needs a restart (e.g.: enabling/disabling Dropbox or Git) in Dolphin, if you pick "Restart" from the dialogue, Dolphin will restart _and_ reset to its default settings, "forgetting" any tabs, splits or panels you had open and defaulting back to showing the user's home directory, instead of the one the user may have had open at the moment of the restart.

STEPS TO REPRODUCE
1. Open the terminal panel, split the screen, navigate to a directory that isn't home, etc.
2. Open  _Configure Dolphin_ > _Context Menu_. 
3. Enable or disable a plugin that requires restart when applied (for example, Git support) and click "Apply"
4. From the dialogue that appears, click "Restart"

OBSERVED RESULT

Dolphin resets to default location and layout.

EXPECTED RESULT

Should retain layout, tabs and location prior to the restart.

SOFTWARE/OS VERSIONS

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-41-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION

Workaround: When the dialogue pops up asking if you want to restart Dolphin now or "Later", choose later. Then stop Dolphin the regular way (say, clicking on the close button or selecting _File_ > _Quit_) and start it up again. Prior settings will be retained.