TableListBox should allow setting dragging to external window


Could TableListBoxModel also feature a virtual bool mayDragToExternalWindows() const method (with a default implementation returning true to avoid breaking change) just as ListBoxModel does?

Also, the TableListBox::mouseDrag() implementation (juce_TableListBox.cpp:217) should be modified:

owner.startDragAndDrop (e, rowsToDrag, dragDescription, owner.getModel()->mayDragToExternalWindows());

I’m facing the “pink background” issue on Apple Silicon so I want to avoid creation of additional windows at any cost.


Just saw this was recently added to ListBoxModel by @reuk:

Here’s a small PR for TableListBoxModel:


Thanks for reporting, this feature is added here:

1 Like

That’s great! Thanks a lot!