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

Felix Ernst <fe.a.er...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/gwenview/commit/514e35
                   |                            |ae4a2049682fb65f18ce03c3448
                   |                            |c08c2b6
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |21.12

--- Comment #8 from Felix Ernst <fe.a.er...@gmail.com> ---
Git commit 514e35ae4a2049682fb65f18ce03c3448c08c2b6 by Felix Ernst.
Committed on 09/09/2021 at 13:02.
Pushed by felixernst into branch 'master'.

Don't change the zoom value unless the user made a selection

This is a fix for a feature that was recently introduced.

The ZoomComboBox in the very bottom right of the Gwenview main
window can be used to select different zoom values. The zoom values
are changed when they are hovered so users have a way to know
which zoom these values correspond to in relation to the size of
the currently viewed image.

Unfortunately when a user hovered any option and then closed
the popup without making a selection, the zoom value wasn't
correctly reset to the zoom value that was used before the popup
was opened. This commit fixes this.

This commit also makes it so when the popup is opened, the option
that corresponds to the current zoom value is highlighted. If the
current zoom value doesn't exist as an option in the popup,
nothing is highlighted by default.
FIXED-IN: 21.12

M  +23   -7    lib/zoomcombobox/zoomcombobox.cpp

https://invent.kde.org/graphics/gwenview/commit/514e35ae4a2049682fb65f18ce03c3448c08c2b6

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

Reply via email to