Bug 361402 - Scroll to zoom is inverted
Summary: Scroll to zoom is inverted
Status: RESOLVED FIXED
Alias: None
Product: okteta
Classification: Applications
Component: general (other bugs)
Version First Reported In: 0.17.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-05 07:49 UTC by Ovidiu-Florin BOGDAN
Modified: 2016-04-05 16:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ovidiu-Florin BOGDAN 2016-04-05 07:49:12 UTC
In all applications Ctrl+scroll (mouse wheel) zooms in when scrolled up and out when scrolled down.

Okteta has this inverted

Reproducible: Always

Steps to Reproduce:
1. Open file
2. Press control button (keyboard) and scroll up
3. Press control button (keyboard) and scroll down

Actual Results:  
2. text gets smaller (zooms out)
3. text gets bigger (zooms in)

Expected Results:  
2. text gets bigger (zooms in)
3. text gets smaller (zooms out)

Also the zoom scale (in the status bar) does not update to the current zoom, when zooming like this.
Comment 1 Friedrich W. H. Kossebau 2016-04-05 16:38:55 UTC
Git commit 1be4b581f1c4df904b8e11c407f10dc79da3943e by Friedrich W. H. Kossebau.
Committed on 05/04/2016 at 16:32.
Pushed by kossebau into branch 'Applications/16.04'.

Signal changes of zoomlevel in Okteta::AbstractByteArrayView

Fixes KastenOkteta ByteArrayView to forward also zoomlevel changes e.g. by
Ctrl+scrollwheel on the view.

API change:
* added signal Okteta::AbstractByteArrayView::zoomLevelChanged(double)

M  +1    -1    CMakeLists.txt
M  +2    -0    gui/abstractbytearrayview.h
M  +25   -4    gui/abstractbytearrayview_p.cpp
M  +1    -0    kasten/gui/view/bytearrayjanusview.cpp
M  +1    -0    kasten/gui/view/bytearrayjanusview.h
M  +1    -1    kasten/gui/view/bytearrayview.cpp

http://commits.kde.org/okteta/1be4b581f1c4df904b8e11c407f10dc79da3943e
Comment 2 Friedrich W. H. Kossebau 2016-04-05 16:38:55 UTC
Git commit 150813e0100be40d9e99e3f3c13e851433424143 by Friedrich W. H. Kossebau.
Committed on 05/04/2016 at 16:32.
Pushed by kossebau into branch 'Applications/16.04'.

Fixed: Align direction of zooming in view by scrollwheel with other apps

FIXED-IN: 0.18.90

M  +2    -2    gui/controller/zoomwheelcontroller.cpp

http://commits.kde.org/okteta/150813e0100be40d9e99e3f3c13e851433424143