Community
Participate
Working Groups
Created attachment 289374 [details] The visual indicator shows on dragging a windows folder onto the position After dragging a tab for the first time, every other drag and drop item is identified as a tab. Steps to reproduce: 1. Create an efxclipse application with Part Containers and Parts 2. Import Addon: bundleclass://org.eclipse.fx.ui.workbench.renderers.base/org.eclipse.fx.ui.workbench.renderers.base.addons.DnDAddon 3. Start application 4. Move one tab once with DND 5. Open Windows File Explorer and drag file to the tab stack 6. Drop the file 7. The last dragged tab is dragged to the position
I did a bit of debugging and it is possibly within the org.eclipse.fx.ui.controls.tabpane.skin.DndTabPaneSkinHooker. Here the static variable DRAGGED_TAB is used for the identification of the dragged tab. This variable is never set to null, when a drag and drop ends, which leads to the drag and drop action being applied to every draged object besides the needed element. Setting the variable DRAGGED_TAB to null at the end of tabPane_handleDragDone might solve the problem.