This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90274 - elements are not deselected after continuous moving of their container
Summary: elements are not deselected after continuous moving of their container
Status: VERIFIED WORKSFORME
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-11-29 13:35 UTC by Andrew Korostelev
Modified: 2008-06-20 17:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2006-11-29 13:35:18 UTC
a11y issue.

When user uses Ctrl+<arrow> to move container with several elements on it, 
these elements are automatically selected (to be moved together with container).
If user presses shortcut shortly - after keys are released, elements are
deselected. 
But they remain selected after continuos moving (if keys are pressed for some time).

steps:
- create class diagram.
- put package on it.
- put class on package element.
- enlarge package to contain class element completely.
- select only package element.
- Press and hold Ctrl+Down for some time (several seconds).
class element is also selected and moved together with package.
BUG: After keys released class is still selected.

But: If you not press the same shortcut shortly, class will be deselected after
keys are released.
Comment 1 Andrew Korostelev 2006-11-29 13:35:50 UTC
appeared after fix of issue 88841
Comment 2 Thuy.d Nguyen 2006-11-29 17:16:33 UTC
This is not a bug.  When you move a container, all the elements inside the
container are also moved.  This behavior is consistent with moving the container
using a mouse and it exists even in buzz.

After the fix of 88841, you can not move a container out of  its contained
elements by keyboard (as stated above) and this is a fix not a regression.
Marking the issue as Invalid. 

Comment 3 Andrew Korostelev 2006-11-29 17:30:20 UTC
this issue is about necessity to deselect elements after moving process is finished.

-after you have moved container by mouse, it's elements are not selected (only
the container itself)
- if you have moved it by keyboard, in some cases elements remain selected even
after moving process is finished.

But cause differs from the first specified:
elements are not deselected after container was moved if Ctrl was released
first. If I release <Arrow> and then <Ctrl> - elements are deselected.

Comment 4 Andrew Korostelev 2006-11-29 17:34:11 UTC
I understand that it was necessary to select contained elements to move them
with container.
Just deselect them after. Only container should remain selected.
Comment 5 George Vasick 2007-06-28 22:40:55 UTC
Targeted in drawing area redesign.
Comment 6 George Vasick 2007-07-04 00:52:16 UTC
Restoring original priority and using the standard NB waiver process.
Comment 7 George Vasick 2008-01-02 17:39:34 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 8 George Vasick 2008-06-10 17:12:52 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.
Comment 9 Peter Lam 2008-06-20 17:43:04 UTC
not reproducible in 6.5.
Comment 10 Peter Lam 2008-06-20 17:44:12 UTC
verified in 6.5 build.