https://bugs.kde.org/show_bug.cgi?id=436584
Bug ID: 436584 Summary: dolphin --select Product: dolphin Version: 21.04.0 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: the.betraye...@gmail.com CC: kfm-de...@kde.org Target Milestone: --- Created attachment 138143 --> https://bugs.kde.org/attachment.cgi?id=138143&action=edit Screenshot of how it looks SUMMARY There is a way to start Dolphin from console, for example. There is a key "--select" in dolphin command which is supposed to select file paths that are following that command. Let's say I have a file /home/user/Downloads/picture.jpg If I type in console "dolphin --select /home/user/Downloads/picture.jpg" AND have a running instance of Dolphin everything is going to work just perfect. But if I close all instances of Dolphin on my PC and do the same console launch the same command - then DOlphin is going to open a file as an empty folder, and, also open that file in gwenview You might ask "why do you even need to launch Dolphin from console"? My answer is that I'm trying to make a "Reveal in Finder" kind of feature in my program, so I'm launching it from the following code: QProcess proc; proc.startDetached("dolphin", QStringList() << "--select" << info.canonicalFilePath()); STEPS TO REPRODUCE 1. Close all Dolphin instances 2. Type in console "dolphin --select ~/.bashrc" OBSERVED RESULT Dolphin is going to open .bashrc file as if was an empty folder and also run kate on this file EXPECTED RESULT Dolphin would open home folder and select there .bashrc file if it's visible SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Archlinux (available in About System) KDE Plasma Version: 5.21.04 KDE Frameworks Version: 5.81.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.