[dolphin] [Bug 502770] Dolphin does not restore open tabs when "Show on startup" is set to "Folders, tabs, and window state from last time"

"Felix Ernst" <[email protected]>
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=502770

Felix Ernst <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/commit/c0bf226 |em/dolphin/-/commit/6032b78
                   |aa1cc02c9bffff1ec05e07a255d |512685dc7d6cc3754d536823d42
                   |8d2f6e                      |8525c4

--- Comment #7 from Felix Ernst <[email protected]> ---
Git commit 6032b78512685dc7d6cc3754d536823d428525c4 by Felix Ernst, on behalf
of Felix Ernst.
Committed on 16/04/2025 at 13:50.
Pushed by felixernst into branch 'release/25.04'.

Fix session restore

Since https://commits.kde.org/kxmlgui/8c9fb02a1d37672b26a03a9dd9e8675743deb269
KXmlGui only triggers a session restore for a window when the
session config contains a "NumberOfWindows" key with a value >= 1.
This commit adds such a key to the Dolphin session config, which
fixes the Dolphin main window restore for KXmlGui versions
containing that commit.


(cherry picked from commit c0bf226aa1cc02c9bffff1ec05e07a255d8d2f6e)

Co-authored-by: Felix Ernst <[email protected]>

M  +2    -0    src/dolphinmainwindow.cpp

https://invent.kde.org/system/dolphin/-/commit/6032b78512685dc7d6cc3754d536823d428525c4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.