Bug 304201 - (allow option to) invert zoom direction for ctrl + middle mouse drag
Summary: (allow option to) invert zoom direction for ctrl + middle mouse drag
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-28 18:29 UTC by Tom Hall
Modified: 2014-02-18 10:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hall 2012-07-28 18:29:54 UTC
I'm guessing there will be some options/preferences related to the new interaction system when it is finished, but just in case:

To me, zooming with ctrl + middle mouse drag feels backwards/inverted.

Reproducible: Always

Steps to Reproduce:
1. Hold ctrl and drag up and down with the middle mouse button.
Actual Results:  
Dragging up zooms in, dragging down zooms out. No option to invert the behaviour.

Expected Results:  
Dragging up zooms out, dragging down zooms in, but more importantly: Option to invert the behaviour if the user wishes.

As far as I can tell, the behaviour is currently hardcoded. Offering the user an option to invert the behaviour should mean that there is no need to debate which way is better (probably mostly personal preference). However, for what it's worth (even with an option, one way still has to be the default):

MyPaint's zoom works the other way round (up = out, down = in). Having canvas interaction that is very similar, but backwards, could be very annoying for those who use both programs in their workflow.
Comment 1 Halla Rempt 2012-12-28 15:03:08 UTC
Ack.
Comment 2 Halla Rempt 2014-02-18 10:17:38 UTC
Git commit d5aa9e3e24193c4b0a5b68763b226e84cc2816d9 by Boudewijn Rempt.
Committed on 18/02/2014 at 10:16.
Pushed by rempt into branch 'calligra/2.8'.

This option has (intentionally) no gui...

Add InvertMiddleClickZoom=true to the kritarc file and the action is
inverted :-)

M  +15   -6    krita/ui/input/kis_zoom_action.cpp
M  +0    -1    krita/ui/kis_config.h

http://commits.kde.org/calligra/d5aa9e3e24193c4b0a5b68763b226e84cc2816d9
Comment 3 Halla Rempt 2014-02-18 10:37:29 UTC
Git commit 10cdadffbfbd0a514f55c615eaf81277e596f634 by Boudewijn Rempt.
Committed on 18/02/2014 at 10:16.
Pushed by rempt into branch 'master'.

This option has (intentionally) no gui...

Add InvertMiddleClickZoom=true to the kritarc file and the action is
inverted :-)

Conflicts:
	krita/ui/kis_config.h

M  +15   -6    krita/ui/input/kis_zoom_action.cpp
M  +0    -1    krita/ui/kis_config.h

http://commits.kde.org/calligra/10cdadffbfbd0a514f55c615eaf81277e596f634