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

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

dolphinview: Refresh the default zoom level when previews are toggled

The per-folder zoom stores -1 for a folder that follows the default of
the view mode settings, and that default is cached per view in
m_defaultZoomLevel. It is read from the preview state, but it was only
refreshed on a view mode change and when the settings dialog applied.

A view kept the size of the preview state of the folder it opened on. A
folder entered afterwards in the other state, with no zoom level of its
own, was then shown at the size configured for the state the view came
from. Previews were drawn at the icon size, and a folder without
previews at the preview size.

Refresh the cached default whenever the preview state changes, on the
preview toggle and when opening a folder that carries the other state.

This slipped through commit 0f7a9c681 ("viewproperties: Add per-folder
zoom").
Related: bug 524842
FIXED-IN: 26.08.2

M  +68   -0    src/tests/dolphinviewtest.cpp
M  +2    -0    src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/-/commit/550d54db01f7ad35e44826b86adea1e4039b1de6

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

Reply via email to