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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/c1f53ed
                   |                            |3a96c9b9cd5943cc4fb69272ab1
                   |                            |9f04f5
            Version|                            |26.12.0
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED

--- Comment #2 from Méven <[email protected]> ---
Git commit c1f53ed3a96c9b9cd5943cc4fb69272ab19f04f5 by Méven Car, on behalf of
Michał Walczak.
Committed on 18/10/2026 at 08:51.
Pushed by meven into branch 'master'.

Open files instead of folders when activating split view at startup

With "Begin in split view mode" enabled, session restoring skipped, and
--select given (as Dolphin::openNewWindow() does for the
FileManager1.ShowItems D-Bus call when no window is open), main() calls
openFiles() and then, to activate the view, openDirectories() with the
same urls. Those urls are files, so a second tab is opened at the file
and shows "Trying to open a file as a folder".

Call openFiles() again in that case instead, as the session restoring
branch already does. It finds the folder that is already open, activates
its view and selects the files there.
Related: bug 519682
FIXED-IN: 26.12.0

M  +5    -1    src/main.cpp
M  +60   -0    src/tests/dolphinmainwindowtest.cpp

https://invent.kde.org/system/dolphin/-/commit/c1f53ed3a96c9b9cd5943cc4fb69272ab19f04f5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to