eirikbakke opened a new pull request, #5337:
URL: https://github.com/apache/netbeans/pull/5337

   In an OutlineView with multiple selection enabled, if the user tries to drag 
one row to a different position (e.g. to reorder rows when the underlying nodes 
support it), additional rows will be selected as the mouse moves over them 
during the drag operation. On MacOS, it happens 100% of the time. On Windows, 
I've seen this bug happen in the past as well, though much less frequently. On 
Windows the bug is merely annoying, but on MacOS the bug makes OutlineView's 
drag-and-drop feature unusable. This PR adds a workaround in ETable, the 
component used by OutlineView.
   
   See my original ancient issue description from 
[2013](https://bz.apache.org/netbeans/show_bug.cgi?id=230690) and the more 
recent [NETBEANS-5728](https://issues.apache.org/jira/browse/NETBEANS-5728).
   
   This PR also fixes a bug where dragging outside the ETable may cause Swing's 
autoscrolling events to continue firing indefinitely.
   
   I don't know of any particular place in the IDE where ETable/OutlineView is 
used with drag-and-drop enabled, so this PR might be hard to test 
independently. But the patch in this PR has functioned successfully in the 
NetBeans Platform application [Ultorg](https://www.ultorg.com) for 1.5 years.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to