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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/commit/476cb0a |em/dolphin/-/commit/70cd6c0
                   |f843a26ebdd509c5b400532d20f |9296033f7de847d7006062e802b
                   |71dcb2                      |6e6473

--- Comment #6 from Méven <[email protected]> ---
Git commit 70cd6c09296033f7de847d7006062e802b6e6473 by Méven Car.
Committed on 02/11/2025 at 19:05.
Pushed by meven into branch 'release/25.08'.

dolphinView: resetZoomLevel: reset to user defined default zoom

Instead of ViewModeSettings default mode.

The original resetZoomLevel() implementation used settings.useDefaults(true) to
force reading the system's hardcoded default icon size (typically 16px),
ignoring the user's custom default size configured in Dolphin's View settings.
This caused Ctrl+0 to reset icons to the minimum size instead of the user's
preferred default.

This patch removes the useDefaults(true) call, allowing
ViewModeSettings::iconSize() to directly retrieve the user-configured default
icon size. Ctrl+0 now correctly resets to the size the user set in Dolphin's
settings, aligning with expected behavior.


(cherry picked from commit 476cb0af843a26ebdd509c5b400532d20f71dcb2)

Co-authored-by: weinan li <[email protected]>

M  +2    -4    src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/-/commit/70cd6c09296033f7de847d7006062e802b6e6473

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

Reply via email to