[dolphin] [Bug 469271] Double click on folder from desktop opens not only that folder but also random unrelated ones

Jonathan Wakely bugzilla_noreply at kde.org
Fri Jan 26 19:17:07 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=469271

Jonathan Wakely <zilla at kayari.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zilla at kayari.org

--- Comment #4 from Jonathan Wakely <zilla at kayari.org> ---
> Especially when I already have another window open. The concept of "last time" is not even well defined in this situation.

Yeah I think this is the problem. I have a dolphin window that I keep open
permanently, with two tabs to a bunch of PDFs that I consult every day (docs
like the C and C++ standards). So I definitely want that window to be restored
when I start dolphin.

But if I open a second dolphin window, or a third one, or some other
application runs "xdg-open /some/path", or I mount a USB drive via the systray
applet, I don't want a new window with all the same tabs in it *again*.

I have Firefox set to restore my tabs and windows from last time as well, but
if I press Ctrl-N to open a new window it doesn't reopen all those tabs
*again*. They're still there in the original window, I don't need them
reopened!

If I change dolphin's setting to show $HOME (or some other dir) on startup,
then launching a new dolphin window to open a specific dir (e.g. with xdg-open)
or mounting a removable drive doesn't open with $HOME in a second tab, it
*only* opens the location it was told to open. Why doesn't the "show on
startup" setting take effect here too? To be clear, I don't think it should
take effect, because that would be silly. But that's exactly what it does when
"show on startup" is set to restore the previous state.

I think the sensible behaviour would be to ignore that setting when dolphin is
launched to show a specific dir (like when clicking on a folder on the desktop,
or mounting a removable drive, or some other app uses xdg-open). Just show the
dir it's been asked to show.

If dolphin is launched with no arguments, e.g. from the start menu or the
command line, then the "show on startup" would be relevant. That is the action
"start dolphin", and not "show dir X in a file manager, which happens to be
dolphin". They are two very different use cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list