[umbrello-devel] [umbrello] [Bug 358097] Scene moved after scroll wheel zoom or window resize

Ralf Habacker via KDE Bugzilla bugzilla_noreply at kde.org
Tue Jan 26 12:47:16 UTC 2016


Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/umbr
                   |                            |ello/014319ab1d71b162a0b9bc
                   |                            |9bd518317f9387becb
   Version Fixed In|                            |2.18.2 (KDE Applications
                   |                            |15.12.2)
         Resolution|---                         |FIXED

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit fbfbffea75726b5a2d329a791c896dfb809bbfde by Ralf Habacker.
Committed on 26/01/2016 at 12:47.
Pushed by habacker into branch 'Applications/15.12'.

Fix wheel mouse inaccuracy on zooming.

The inaccuracy is caused by UMLApp instance and UMLView scroll bars
propagating slightly modified zoom value back to the UMLView instance.

The fix is to disable the back propagation.

M  +6    -2    umbrello/uml.cpp
M  +2    -1    umbrello/uml.h
M  +24   -4    umbrello/umlview.cpp
M  +1    -0    umbrello/umlview.h


--- Comment #1 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 014319ab1d71b162a0b9bc9bd518317f9387becb by Ralf Habacker, on behalf
of Tzvetelin Katchov.
Committed on 26/01/2016 at 08:43.
Pushed by habacker into branch 'Applications/15.12'.

Refactoring UMLView

Fix centering of scene view after scroll wheel zoom or window resize.
Remove internal properties for zoom level and center point.
Instead of them get actual value from matrix().m11().
Remove unnecesary and dupliicate methods.
Fix setting of zoom in diagram properties page.
FIXED-IN:2.18.2 (KDE Applications 15.12.2)

M  +2    -2    umbrello/dialogs/pages/diagrampropertiespage.cpp
M  +1    -1    umbrello/uml.cpp
M  +12   -106  umbrello/umlview.cpp
M  +0    -9    umbrello/umlview.h


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

More information about the umbrello-devel mailing list