Bug 461524 - "Open containing folder" actions do not work if parent folder is already open
Summary: "Open containing folder" actions do not work if parent folder is already open
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.08.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-06 21:45 UTC by Naxdy
Modified: 2022-11-06 23:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naxdy 2022-11-06 21:45:25 UTC
SUMMARY
(this is on X11, not tested on Wayland)

When using the "open containing folder" action from a different program (tested with VSCodium, Jetbrains IDEs, and Firefox' download notification), the action only succeeds if none of the parent folders are currently opened within dolphin, else whichever parent folder is opened will be focused instead.

In other words, "open containing folder" on any file or folder within the directory /home/naxdy/git/some_project will only succeed properly if none of the upper level folders are opened within dolphin.

STEPS TO REPRODUCE
1. Open dolphin and point to /home/[user]
2. Download a file in Firefox (e.g. the HTML of this page)
3. Upon download, select "open containing folder" from the navigation's burger menu

OBSERVED RESULT
Dolphin focuses, and if there are multiple tabs, the tab pointing to /home/[user] will focus, but the containing folder (/home/[user]/Downloads) is not opened.

EXPECTED RESULT
Dolphin focuses and a new tab is created, pointing to /home/[user]/Downloads

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo 6.0.6 / 5.26.2
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.5
Comment 1 Felix Ernst 2022-11-06 23:19:56 UTC
Thanks for the report! This should already be fixed for the next release by https://invent.kde.org/system/dolphin/-/commit/4d81aabd1ee78c2fca61452ef3a866cfad0c88a5. (I also just re-tested to confirm.)

If it is for some reason not fixed for you after updating to Dolphin 22.12, which will be released next month, feel free to re-open this merge request. Cheers!