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.
Sometimes when I select classes from a package and drag them into a next package it displays one Move Class dialog per one moved class except Move Classes dialog with list of classes.
It is regression caused by issue 55160. Nodes in Explorer are not selected after DND operation.
Yarda asked me for some fun issue, so passing this one...
Before I move the issue to refactoring, I'd like to get explanation why minor problem in selecting of nodes after dnd which itself is p5 causes problem with Move Class dialogs. What you are doing and why do you think you are doing the right thing?
We are definitely not doing the right thing. We know about it. We want to redesign it for future releases. But we cannot do it for 4.1. It is too late. We need nodes to be correctly selected after DnD to correctly invoke one Move Classes Refactoring for several classes and not to invoke several Move Class refactoring for each file. I know, that incorrect node selection is P5. But if you will be so kind and fix this (easy-to-fix I hope) P5 bug, refactoring p2 bug will be fixed as well. Thanks.
cvs ci -m "#56854: Reverting fix for issue 55160 - e.g. drop is done synchronously. Bad, but better than broken refactoring. I'll find a different way to move the drop out of AWT event thread" Anyway please explain what events refactoring expects, so I know how to guarantee their correct delivery. cvs commit: Examining . Checking in DataTransferSupport.java; /cvs/openide/loaders/src/org/openide/loaders/DataTransferSupport.java,v <-- DataTransferSupport.java new revision: 1.7; previous revision: 1.6
We expect to have dragged nodes in activatedNodes during and after DnD operation.
verified