Bug 496997

Summary: Entering a file address in Dolphin opens the file instead of showing it, and leaves the tab in a perpetual Loading state
Product: [Applications] dolphin Reporter: esperluette08
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: john.kizer, kfm-devel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description esperluette08 2024-12-03 17:33:24 UTC
SUMMARY
Entering a file in Dolphin address bar open the file instead of opening the parent folder and selecting the file.

Also, when closing then re-opening Dolphin, the file is opening again.

STEPS TO REPRODUCE
1. Enter a file, like /usr/share/wallpapers/Autumn/contents/screenshot.jpg in Dolphin address bar.
2. Closing and re-opening Dolphin

OBSERVED RESULT
The file is opened twice.

EXPECTED RESULT
The parent folder should be opened with this file selected. Same on re-opening Dolphin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Comment 1 John Kizer 2024-12-15 06:28:41 UTC
I can reproduce this on Fedora KDE 41 - which at first doesn't seem totally undesirable, but it does leave a tab that stays in a perpetual "Loading" state and, to your point, will re-open that file if it's not closed or navigated elsewhere.
Comment 2 esperluette08 2024-12-17 13:25:42 UTC
The actual behavior of opening the specified file when opening Dolphin doesn't seem unwanted but I see some problem with it:

* The automatic opening of the file is not obvious if the file is not the selected tab,

* The file can be large or the default application to open it may be slow, and even fail to open (like after a OOM),

* No Dolphin action is possible on the file (without going to parent folder, by editing the address or adding the "parent folder" button),

* The default application may have been accidentally set to Dolphin to open this kind of file, and so, Dolphin seems to always display "Loading cancelled" on a empty panel, without showing the file.