Bug 338452 - Mousewheel zoom resets to minimum after exceeding maximum
Summary: Mousewheel zoom resets to minimum after exceeding maximum
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.20.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 18:47 UTC by Kai Uwe Broulik
Modified: 2014-08-21 21:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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