Bug 469438

Summary: When opening folder in Dolphin, it creates new window instead of new tab
Product: [Applications] dolphin Reporter: Timofey <vuki03>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kfm-devel, postix
Priority: NOR    
Version First Reported In: 23.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Timofey 2023-05-07 10:15:08 UTC
SUMMARY
When opening a folder when one instance of Dolphin is running, instead of focusing that window and opening a new tab, program creates another window, usually with all previous tabs and the new one. This is annoyingly happens, when you click "Show file in folder", for example, for downloaded file. 


STEPS TO REPRODUCE
1. If you test on fresh install, manually open and close some tabs in Dolphin
2. Leave one window, and close all tabs except Folder1
3. In terminal type `dolphin Folder2` or `xdg-open Folder2`


OBSERVED RESULT
A new window with Folder1 and Folder2 appears. Old windows still has Folder1


EXPECTED RESULT
The old Dolphin window is focused, both Folder1 and Folder2 are opened


SOFTWARE/OS VERSIONS
Linux: EndeavourOS
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Tested in VM on fresh EndeavourOS installation
Comment 1 postix 2025-01-13 12:02:31 UTC
I think this happens because "dolphin Folder2" or "xdg-open Folder2" will by default create a new instance of Dolphin. Compared to Firefox or Chrome, several Dolphin windows don't run in the same process. 

Try Dolphin settings (Ctrl + Shift + ,) -> UI -> Open files: Keep a single Dolphin window open, open new folders in tabs
Comment 2 Bug Janitor Service 2025-01-28 03:47:17 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-02-12 03:46:49 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.