Summary: | moving a class causes the view to center to the moved class (very annoying when the diagram is big enough) | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Pekka Jääskeläinen <pekka.jaaskelainen> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Pekka Jääskeläinen
2004-09-17 13:08:37 UTC
Interesting, automatic scrolling works fine when at 1:1 zoom in but when it's zoomed in it stops working and the widget can jump. This is likely to do with a coordinate somewhere not being scaled properly. I also have experienced this problem under Mandrake 10.1 CE and SUSE 9.2 with KDE 3.3 installed. CVS commit by okellogg: BUG:89691 - mouseMove(): Don't base canvas scroll on the inverseWorldMatrix(). M +2 -2 toolbarstate.cpp 1.9 --- kdesdk/umbrello/umbrello/toolbarstate.cpp #1.8:1.9 @@ -143,6 +143,6 @@ void ToolBarState::mouseMove(QMouseEvent if (m_bIsButtonPressed) { - int vx = m_pMouseEvent->x(); - int vy = m_pMouseEvent->y(); + int vx = ome->x(); + int vy = ome->y(); int contsX = m_pUMLView->contentsX(); int contsY = m_pUMLView->contentsY(); |