plasma6-dolphin 25.04.0-2 (x86_64;znver1;x86_64) 2025-17878
9999
Status | published | ||||||||||||||||||||||||||||||
Submitter | rugyada [@T] gmail.com | ||||||||||||||||||||||||||||||
Platform | rolling | ||||||||||||||||||||||||||||||
Repository | main | ||||||||||||||||||||||||||||||
URL | https://abf.openmandriva.org/build_lists/520427 | ||||||||||||||||||||||||||||||
Packages |
|
||||||||||||||||||||||||||||||
Build Date | 2025-04-25 14:45:27 +0000 UTC | ||||||||||||||||||||||||||||||
Last Updated | 2025-05-03 20:20:43.772329275 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 4785c9e96bfc6841d8b98bf9bb80b5e3f9bacd5e commit 4785c9e96bfc6841d8b98bf9bb80b5e3f9bacd5e Author: Bernhard Rosenkränzer <bero@lindev.ch> AuthorDate: Tue Apr 22 18:09:45 2025 +0200 Commit: Bernhard Rosenkränzer <bero@lindev.ch> CommitDate: Tue Apr 22 18:09:45 2025 +0200 Add upstream fix for session handling --- 6032b78512685dc7d6cc3754d536823d428525c4.patch | 38 ++++++++++++++++++++++++++ plasma6-dolphin.spec | 4 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 6032b78512685dc7d6cc3754d536823d428525c4.patch diff --git a/6032b78512685dc7d6cc3754d536823d428525c4.patch b/6032b78512685dc7d6cc3754d536823d428525c4.patch new file mode 100644 index 0000000..b605c51 --- /dev/null +++ b/6032b78512685dc7d6cc3754d536823d428525c4.patch @@ -0,0 +1,38 @@ +From 6032b78512685dc7d6cc3754d536823d428525c4 Mon Sep 17 00:00:00 2001 +From: Felix Ernst <felixernst@zohomail.eu> +Date: Wed, 16 Apr 2025 13:50:05 +0000 +Subject: [PATCH] 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. + +BUG: 502770 + + +(cherry picked from commit c0bf226aa1cc02c9bffff1ec05e07a255d8d2f6e) + +Co-authored-by: Felix Ernst <felixernst@zohomail.eu> +--- + src/dolphinmainwindow.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp +index 8a6c99ce57..391fe81a8c 100644 +--- a/src/dolphinmainwindow.cpp ++++ b/src/dolphinmainwindow.cpp +@@ -757,6 +757,8 @@ void DolphinMainWindow::slotSaveSession() + KConfig *config = KConfigGui::sessionConfig(); + saveGlobalProperties(config); + savePropertiesInternal(config, 1); ++ KConfigGroup group = config->group(QStringLiteral("Number")); ++ group.writeEntry("NumberOfWindows", 1); // Makes session restore aware that there is a window to restore. + + auto future = QtConcurrent::run([config]() { + config->sync(); +-- +GitLab + diff --git a/plasma6-dolphin.spec b/plasma6-dolphin.spec index c13197e..3013d2b 100644 --- a/plasma6-dolphin.spec +++ b/plasma6-dolphin.spec @@ -6,7 +6,7 @@ Summary: File manager for KDE focusing on usability Name: plasma6-dolphin Version: 25.04.0 -Release: %{?git:0.%{git}.}1 +Release: %{?git:0.%{git}.}2 License: GPLv2+ Group: Graphical desktop/KDE %if 0%{?git:1} @@ -65,6 +65,8 @@ dolphin-21.03.80-show-copyto-moveto-by-default.patch # Revert https://invent.kde.org/system/dolphin/-/commit/122fee5625f0285ec4ebda79162c72390989eb2a.patch # It makes the UI less consistent for the sake of making it idiot friendly. This isn't GNOME. revert-122fee5625f0285ec4ebda79162c72390989eb2a.patch +# https://bugs.kde.org/show_bug.cgi?id=502770 +https://invent.kde.org/system/dolphin/-/commit/6032b78512685dc7d6cc3754d536823d428525c4.patch %description Dolphin is a file manager for KDE focusing on usability.
Not Available
369start [@T] proton.me | No Comment. | 5d 21hrs |
369start [@T] proton.me | No Comment. | 5d 20hrs |