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 146112 - a11y: holding down Ctrl+Arrows does not move element continuously
Summary: a11y: holding down Ctrl+Arrows does not move element continuously
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-09-03 23:52 UTC by Peter Lam
Modified: 2008-09-11 00:55 UTC (History)
0 users

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 Peter Lam 2008-09-03 23:52:43 UTC
build 20080903

When the Ctrl+Arrow keys are being pressed, the selected element(s) should be moved continuously but it's not doing this
now.
Comment 1 Peter Lam 2008-09-06 01:47:51 UTC
bumping this to P2 since this also affects usability. When using keyboard to create element to diagram from palette or
project tree, the created element ends up in the middle of the diagram which user normally has to move it to a desired
location. So, moving has to be pressed with Ctrl+Arrows keys repeatedly for each step of move. 
Comment 2 Trey Spiva 2008-09-08 15:30:42 UTC
This works on the Mac.  It must be a windows issue.
Comment 3 Sergey Petrov 2008-09-08 15:40:16 UTC
I made some investigation and not sure why it was changed in 6.5/
in 6.5 move happened on keyReleased,  in 6.1 on keyPressed.
on windows if I press and hold a key it will generate number of keyPressed and generate keyReleased only once when it
will be released. may be mac generate keyReleaed continuously.
Comment 4 Trey Spiva 2008-09-08 16:48:48 UTC
That may be true, but again on the Mac this works.  The change was made to work similar to the standard mouse move action.  If this is the reason why it is 
not working on windows we can add the move to the logic that detects if we are already in a move action.  However I want to make sure that is does not 
mess up the Mac behavior first.
Comment 5 Trey Spiva 2008-09-08 16:57:13 UTC
Ok on the Mac we only receive one Mouse Pressed event, but multiple mouse release events.  From what Sergy said we are getting multiple mouse pressed 
buttons but only one mouse release event.  
Comment 6 Trey Spiva 2008-09-08 17:50:06 UTC
Fixed

http://hg.netbeans.org/uml-main/rev/4373550409ab
Comment 7 Trey Spiva 2008-09-08 18:24:53 UTC
Reviewed
Comment 8 Peter Lam 2008-09-11 00:55:03 UTC
verified in build 20080910