Bug 338452

Summary: Mousewheel zoom resets to minimum after exceeding maximum
Product: [Applications] okular Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.20.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 4.14.1
Sentry Crash Report:

Description Kai Uwe Broulik 2014-08-21 18:47:15 UTC
Starting in KDE SC 4.14 when using Ctrl+Mousewheel to zoom in it will wrap from 1600% to 10% a couple of times and then freeze eating up all CPU and RAM. It shouldn't wrap, it should stop at maximum.

Steps to reproduce:
- Open a PDF file
- Use Ctrl+Mousewheel to zoom in a while

Note how it goes from 10% all the way to 1600% and then back to 10% and all the way to 1600% and often it freezes then with 100% cpu usage eating up all my RAM (5GB+)
Comment 1 Albert Astals Cid 2014-08-21 21:39:01 UTC
Git commit f09df0aa05db4858a6daae13aaf5ce30eca8d416 by Albert Astals Cid.
Committed on 21/08/2014 at 21:34.
Pushed by aacid into branch 'KDE/4.14'.

Don't let people zoomin/out past the "range of values"
FIXED-IN: 4.14.1

M  +4    -0    ui/pageview.cpp

http://commits.kde.org/okular/f09df0aa05db4858a6daae13aaf5ce30eca8d416