ctrl+scroll always zooms to top left corner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
In Progress
|
Medium
|
Unassigned |
Bug Description
When scrolling using the ctrl-key and scroll wheel combination the canvas is not focusing on the mouse position. Instead it slowly moves to the top left corner with every increase in zoom level.
It would be preferable to zoom and keep the center of the screen with respect of the mouse position, because this is an easy way to zoom into to a specific location. Also with the current behavior if you zoom in it feels very random where in the canvas you end up.
To summarize:
Currently zooming using the scroll wheel results in a random feeling location.
It would be awesome if the scroll wheel could be used to zoom into a specif location on the canvas pointed by the mouse pointer. '
Tested on the release 2.0.2 and the latest build https:/
Changed in pinta: | |
milestone: | 2.1 → 2.2 |
Thanks for the report! I agree that the behaviour should be as you're describing
The code is making some attempt to recenter the view, so I'll have to do some testing with a mouse and look into this. I see one related change in Pinta 2.0 to get Ctrl+wheel working after porting to GTK3 (https:/ /github. com/PintaProjec t/Pinta/ pull/177), so testing against Pinta 1.7 is probably the first place to start