KDAB / KDDockWidgets

KDAB's Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets
Other
755 stars 164 forks source link

Prevent undocking on double click #409

Closed bbc131 closed 11 months ago

bbc131 commented 11 months ago

Is there any way to prevent the DockWidgets from undocking in the event of a double click within the DockWidget or some contained widget?

I would have expected a Config flag.

iamsergio commented 11 months ago

I can't reproduce double-clicking on the contained widget. I'd say that's unexpected and a bug if it happens, no config flag needed.

Can you try with bin/examples/qtwidgets_dockwidgets and modify it until repro, then I can fix

bbc131 commented 11 months ago

I'm closing this issue, since I cannot reproduce it as well. I tried to mimic the configuration of my use case, but weren't able find the cause.