Bug 380001 - Mouse Wheel Up/Down zooms relative to cursor, +/- zooms to middle of canvas
Summary: Mouse Wheel Up/Down zooms relative to cursor, +/- zooms to middle of canvas
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.1.3
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Ashwin Dhakaita
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 10:09 UTC by ethala20
Modified: 2019-01-28 08:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video showing the ways Zoom In/Out work for different inputs. (3.82 MB, video/mp4)
2017-05-19 10:09 UTC, ethala20
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ethala20 2017-05-19 10:09:37 UTC
Created attachment 105627 [details]
Video showing the ways Zoom In/Out work for different inputs.

Mouse Wheel Up and key combination "=" is set to Zoom In, while Mouse Wheel Down and key combo "-" is set to Zoom Out. However, they behave differently. The Mouse Wheel zooms in and out based on the position of the cursor, while the =/- keys zoom in and out of the middle of the screen, regardless of where the mouse is.

Mouse Wheel/Mouse Buttons zoom relative to cursor, Key Combinations zoom to the middle.
Comment 1 Halla Rempt 2017-06-05 10:58:57 UTC
Yes, this currently the way Krita works. Setting to wish and confirming.
Comment 2 mvowada 2019-01-24 02:43:33 UTC
I second the request: it would be consistent behaviour having both the mouse and shortcuts zooming to cursor.
Comment 3 Raghavendra kamath 2019-01-28 06:56:00 UTC
I don't know if this correct, while zooming from the mouse, I would like it to zoom with respect to my mouse cursor, but while zooming with the keyboard shortcut I would prefer it to be zoom in with respect to canvas center. I can't find the earlier discussion but we had a discussion about zoom actions.

A user would require to position his cursor before zooming in with keyboard for it to zoom towards the cursor position, in which case he would most like be zooming with the mouse shortcut itself. So move cursor then zoom with shortcut becomes a bit cumbersome. there is also ctrl + space + (middle mouse) left click shortcut which can satisfy zoom to cursor position request too. Having the distinction of two different type of zoom action would help and be useful for those who want both types of zoom behavior
Comment 4 mvowada 2019-01-28 07:49:15 UTC
(In reply to Raghavendra kamath from comment #3)
> for those who want both types of zoom behaviour

Keyboard shortcuts for zooming relative to the mouse cursor would let users to zoom relative to cursor directly from their pen buttons.

Why not to add two new shortcuts, let's say "CTRL+SHIFT++" and "CTRL+SHIFT+-" for zooming to cursor?
Comment 5 Raghavendra kamath 2019-01-28 08:12:33 UTC
In the phabricator review, Ashwin (dev) said that "The ctrl + +/ ctrl + - will zoom with respect to centre while =/- keys will zoom with repect to cursor position." I guess this solves the problem.
Comment 6 mvowada 2019-01-28 08:34:48 UTC
Yes.

I've just realized that I missed the point of this report by confusing the zoom in/out shortcuts with the zoom input setting. Please, forget what I've said before. 

And it's already possible to set the zoom to cursor from the pen buttons by going to "Settings" > "Configure Krita..." > "Canvas Input Settings" > "Zoom Canvas".
Comment 7 mvowada 2019-01-28 08:50:37 UTC
To recap, the =/- keys do not zoom relative to cursor and do not appear in "Settings > Configure Krita... > Keyboard shortcuts" yet in Krita 4.2.0.