Drag&drop bug in list of collapsed elements



Found a minor UI bug in Napkin.

If you have a list of collapsed parent elements with child elements, and you drag one of the parent element down to rearrange it, the horizontal line to indicate where the element will end up shows up directly below the parent element, instead of at the end of the last child element.

For example, in the following picture, when dragging element 6 down, the line shows up directly below ‘10’…:

…but when I drag element 6 below the last child element ‘Name’, the horizontal line does not show up and it doesn’t allow me to drop the element:



I have a good solution for this written in Python that I need to convert to C++ for Napkin. (Qt’s default D&D visualization/support is not great) This will get addressed, but might take a little longer.