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

--- Comment #19 from Méven <[email protected]> ---
Git commit 854b57aa82e333ceb117dcb8ceae8c2bc74377ae by Méven Car.
Committed on 12/09/2026 at 09:18.
Pushed by meven into branch 'master'.

viewproperties: name the style a folder comes with, and use it with one style
for all folders

The trash, the searches, the recent files and the downloads folder each come
with a display style of
their own, and six booleans said which. The branch that works out where a
folder's style is kept
already knows which one it is looking at, so it says so directly now, and the
chain that writes the
style reads that one answer.

That answer was also missing where every folder shares one display style. The
branch that sends a
folder to the shared style comes before the branch that reads a local path, and
the downloads folder
is known by its path rather than by a url scheme, so it never reached the test
and was shown like
any other folder. It is recognised before the chain now, and any folder known
the same way will be.

The display style dialog and the general view settings page both write the
style every folder starts
from. Before this change, each named the folder the view was on, and the branch
for the shared style
claimed it. The downloads folder is not claimed there any more, so neither
names a folder now. An
empty url holds that style wherever the view is.

M  +6    -6    src/settings/viewmodes/generalviewsettingspage.cpp
M  +4    -8    src/settings/viewpropertiesdialog.cpp
M  +86   -0    src/tests/viewpropertiestest.cpp
M  +87   -68   src/views/viewproperties.cpp
M  +26   -0    src/views/viewproperties.h

https://invent.kde.org/system/dolphin/-/commit/854b57aa82e333ceb117dcb8ceae8c2bc74377ae

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

Reply via email to