Bug 295605

Summary: problems with widget moving/resizing in state diagrams
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In: 4.9.0

Description Ralf Habacker 2012-03-09 12:40:00 UTC
User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build Identifier: 

Several states on a state diagram could not be moved

Reproducible: Always

Steps to Reproduce:
1. Create a state diagram 
2. Add an inital and end state 
3. Try to move a state 
Actual Results:  
In many cases the state will be resized, which is very annoying.

Expected Results:  
The state should be moved


Moving is only possible on high zoom levels or with big state size.
Comment 1 Oliver Kellogg 2012-03-09 18:01:55 UTC
SVN commit 1284663 by okellogg:

UMLWidget::drawSelected():
- Don't draw the resize anchor if the widget is so small that the anchor
  would cover up most of the widget.

UMLWidgetController::isInResizeArea():
- If the widget itself is very small then make the resize area small, too.
  Reason: Else it becomes impossible to do a Move instead of Resize.



 M  +1 -0      ChangeLog  
 M  +10 -3     umbrello/controller/umlwidgetcontroller.cpp  
 M  +3 -1      umbrello/widgets/umlwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1284663