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.
There is a problem that current size of dropping areas (those ones at the sides) are too small (6 pixels) and causes sometime problem to manage the desired drop, on the other hand there is necessary to keep in mind that those areas was shrunk due to allowing comfortable DnD of tabs.
To fix the problem we need to define proportional drop areas inside targeted windows/tabs. Please look at the attached image below. It defines five areas whose size is following: - The top area height is 10 pixels - The bottom area height is 25% of the window height - The left area width is 25% of the leftmost tab width but not more than 30 pixels - The right area width is 25% of the rightmost tab width but not more than 30 pixels - Each line dividing the center area into pieces (defining the final tab order) goes through the center of each tab. ============================ Another enhancements are done when dropping a window outside of the window area (no image is attached): - The top area covers the whole main toolbar and main menu, plus 20 pixels above (which should be the main title bar) - The left area exceeds 20 pixels over the left edge of main window to the left - The right area exceeds 20 pixels over the right edge of main window to the right - The bottom area covers whole status line plus 20 pixels below the status line ========================= Also drop size is enhanced when dragging a view window into document area: - The top area is 20 pixels height - The left area is 20 pixels width - The right area is 20 pixels width - The bottom area is 20 pixels height ========================= Finally we do the same when dragging a document windows into the view area (over the edges of document area): - The top area is 20 pixels height - The left area is 20 pixels width - The right area is 20 pixels width - The bottom area is 20 pixels height
Created attachment 11716 [details] The drop areas of windows/tabs.
Fixed in winsys_29836 core/windows/../windows/Constants.java 1.1.2.15 /view/dnd/WindowDnDManager.java 1.1.2.29 /ui/tabcontrol/TabbedAdapter.java 1.1.2.19 Note: I discovered some problems, according to the outside area... the events aren't just coming.. I don't know what has changed in DnD framework impl.. but this seems to be a problem... please report configuration you experience it on.