Bug 437349 - "Reset Zoom Level" action is non-functional when previews are disabled
Summary: "Reset Zoom Level" action is non-functional when previews are disabled
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 21.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 10:38 UTC by popov895
Modified: 2021-08-26 14:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.12


Attachments
Disable preview (49.84 KB, image/png)
2021-05-19 18:55 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
Description popov895 2021-05-19 10:38:50 UTC
SUMMARY

"Reset Zoom Level" action doesn't reset the zoom level.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: openSUSE Tumbleweed 20210517 / X11
KDE Plasma Version: 5.21.5
KDE Gear Version: 21.04.1
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-05-19 16:32:33 UTC
Works for me.Can you clarify how you're triggering the action, what the zoom level is when you trigger it and what the default zoom level is?
Comment 2 popov895 2021-05-19 18:55:39 UTC
Created attachment 138573 [details]
Disable preview

Any scale, in any way. Just disable preview (see attachment). Removing ~/.local/share/dolphin/view_properties or enabling preview fixes the issue until disabling it again.
Comment 3 Nate Graham 2021-05-19 18:59:56 UTC
Got it, can confirm now.
Comment 4 popov895 2021-05-19 19:01:38 UTC
It's also necessary to delete ~/.config/session/dolphin_dolphin_dolphin (if exists).
Comment 5 Bug Janitor Service 2021-08-06 09:08:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/254
Comment 6 Bug Janitor Service 2021-08-17 17:47:01 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/259
Comment 7 Méven Car 2021-08-26 11:14:28 UTC
Git commit ae46ab2c3d6e373425d9e107a9f34ebeea5c60b3 by Méven Car, on behalf of Eugene Popov.
Committed on 26/08/2021 at 11:14.
Pushed by meven into branch 'master'.

Use default icon size when resetting zoom level

M  +24   -8    src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/commit/ae46ab2c3d6e373425d9e107a9f34ebeea5c60b3