Bug 498302

Summary: Dolphin doesn't respect the "single window" setting when launched with no arguments
Product: [Applications] dolphin Reporter: 15c730840a66 <6ot3tjpxk>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dolphin-bugs-null, kdedev, postix
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 15c730840a66 2025-01-06 04:52:58 UTC
SUMMARY
I have the OpenExternallyCalledFolderInNewTab setting ("Keep a single Dolphin window, opening new folders in tabs") enabled in Dolphin, but despite this, using my Meta+E keyboard shortcut to launch Dolphin will always create a new window. In previous versions, it would either open $HOME in a new tab, or focus an existing tab that's already in that directory. If I instead launch Dolphin using a path as an argument (e.g. `dolphin ~`), then it behaves the way I would expect it to without the argument.

STEPS TO REPRODUCE
1. Verify that OpenExternallyCalledFolderInNewTab=true in ~/.config/dolphinrc
2. Run the command `dolphin` without providing any arguments

OBSERVED RESULT
Launching Dolphin without arguments always creates a new window.

EXPECTED RESULT
If the setting is enabled, launching Dolphin without arguments should open a new tab for whichever startup location is configured (or focus an existing tab if a relevant one exists), and only open a new window if no windows currently exist.

SOFTWARE/OS VERSIONS
Dolphin: 24.12.0
Linux: 6.12.8-arch1-1
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Comment 1 TraceyC 2025-01-08 20:56:34 UTC
I can reproduce this on Dolphin 24.08.3 as well as Dolphin built from git-master (25.03.70)