Bug 340728

Summary: Widget selection issue outside mouse selection rectangle on sequence diagrams
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.14.2 (KDE Applications 4.14.2)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 2.14.97 (KDE 14.11.97)
Attachments: xmi testcase

Description Ralf Habacker 2014-11-07 13:05:46 UTC
Selecting messages in a sequence diagram using the mouse + left click also selects messages/objects outside the selection rectangle. 


Reproducible: Always

Steps to Reproduce:
1. open umbrello with appended test case
2. starts selecting left from 'add file' message
3. extend the selection to the 'add file' label

Actual Results:  
The object 'client' and 'applet' and all message between both objects are selected too.


Expected Results:  
Only messages should be selected, which are partially or complete inside the selection rectangle.
Comment 1 Ralf Habacker 2014-11-07 13:06:04 UTC
Created attachment 89493 [details]
xmi testcase
Comment 2 Ralf Habacker 2014-11-11 11:10:02 UTC
In bigger sequence diagrams the mentioned issue makes it impossible for example to delete messages in a specific area.  You need to delete them each by each.
Comment 3 Ralf Habacker 2014-11-22 13:06:53 UTC
Git commit 0780af1092873e2467da854622a647d60dbc86c7 by Ralf Habacker.
Committed on 12/11/2014 at 19:42.
Pushed by habacker into branch 'Applications/14.12'.

Fix bug 'Widget selection issue outside mouse selection rectangle on sequence diagrams'.

When selecting messages on a sequence diagram using the mouse do not auto select
object widgets outside the selecting rectangle.

Object widgets required for pasting into other diagrams are added automatically
on widget copy operation.

M  +41   -1    umbrello/clipboard/umlclipboard.cpp
M  +1    -0    umbrello/clipboard/umlclipboard.h
M  +0    -40   umbrello/umlscene.cpp
M  +0    -2    umbrello/umlscene.h

http://commits.kde.org/umbrello/0780af1092873e2467da854622a647d60dbc86c7