[Okular-devel] [okular] [Bug 321212] Middle mouse pressing in a form makes the rendering go crazy

Albert Astals Cid aacid at kde.org
Tue Aug 6 20:02:02 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=321212

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |4.11.0
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/okul
                   |                            |ar/45dc1990ebca66c2529bf7dd
                   |                            |206a9862ade2dd0e

--- Comment #13 from Albert Astals Cid <aacid at kde.org> ---
Git commit 45dc1990ebca66c2529bf7dd206a9862ade2dd0e by Albert Astals Cid.
Committed on 06/08/2013 at 20:01.
Pushed by aacid into branch 'KDE/4.11'.

Don't keep track of middle mouse press in a variable

This fixes the rendering problem in 321212. Why? Because what was happening is
that for some reason the middle mouse press to gets to the PageView but not the
release, this meant that the PageView got stuck into mouseMidZooming mode and
all sort of bad things happened. Now since we don't cache if the mid mouse
button is pressed (we just query it when needed) everything is better.

Ideally i'd like to know why we get the press and not the release, but not sure
that's feasible to "fix".
REVIEW: 111901
FIXED-IN: 4.11.0

M  +5    -9    ui/pageview.cpp

http://commits.kde.org/okular/45dc1990ebca66c2529bf7dd206a9862ade2dd0e

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list