QDockWidget drag to DockWidgetArea does not work any more
-
Hello,
I have a QMainWindow with three QDockWidget.
I have compiled the code on a different machine with Qt5.12 / KDE and somehow the drag and drop of the widgets to the DockWidgetArea does not work any more (on the first machine it is working with Qt5.11 / KDE)Normally when the Widget is moved near a DockWidgetArea eg. at the left or right border of the mainwindow the area where it can be docked is highlighted and then the widget can be docked there. This does not happen any more.
However when I set up a new simple project with just a QDockWidget it works fine therefore it seems to be some bug in my code.
I do not really know where to search for the reason. Any Ideas what could be wrong? -
Hi
My first test would be to use the Qt5.12 on the first machine to see if it then stop working.
Also is there any difference in resolution ( between the machines) so MainWindow size would be different ? -
@mrjj: Thanks for the hint.
Why is the resolution important?
The resolution on the machine it does not work is much lower (notebook)EDIT: @mrjj: You where right, When I remove all the Widgets from the Toolbar (that do not totally fit on the small screen) it is working again.
What is the reason for this?? -
@mrjj: Thanks for the hint.
Why is the resolution important?
The resolution on the machine it does not work is much lower (notebook)EDIT: @mrjj: You where right, When I remove all the Widgets from the Toolbar (that do not totally fit on the small screen) it is working again.
What is the reason for this??@gde23
Hi
I had a similar issue where a widget in layout (in centralWidget) would somehow
expand so the zones was not easy/impossible to hit.
Im not sure its the same you see but it sounds like the too big toolbar somehow
also compress the hot zones for docking.
Im not sure in which way though.