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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/2e665e1
                   |                            |b513b3f7c082bedc8faaf47bee8
                   |                            |008c73

--- Comment #2 from Méven <[email protected]> ---
Git commit 2e665e1b513b3f7c082bedc8faaf47bee8008c73 by Méven Car, on behalf of
Pan Zhang.
Committed on 23/05/2026 at 10:25.
Pushed by meven into branch 'master'.

viewproperties: respect saved properties for special folders with global view
props enabled

When "Use common display style for all folders" is enabled, the
useDefaultSettings condition was always true because useGlobalViewProps was the
first term in the OR chain. This caused special folders controlled by
useSearchView, useTrashView, and useRecentDocumentsView to reset to their
default view on every load, overriding any user customization.

Restrict the unconditional default-apply to non-special folders only. For
special folders, the existing timestamp-based check handles the logic
correctly, and the fallback in the else branch still applies defaults when no
saved properties exist (first visit).

M  +28   -0    src/tests/viewpropertiestest.cpp
M  +6    -2    src/views/viewproperties.cpp

https://invent.kde.org/system/dolphin/-/commit/2e665e1b513b3f7c082bedc8faaf47bee8008c73

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

Reply via email to