Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.1
-
None
Description
Issue:
Tooltips that are shown on the right screen of my two monitor setup (see attachment) are too large. This was not the case with Qt5.
Cause:
In <QTipLabel::updateSize> <QWidgetPrivate::setScreenForPoint> is called to ensure that the sizeHint is correct for the current screen.
In Qt5 <setScreenForPoint> causes a call to <QWidgetPrivate::updateFont> -> OK.
In Qt6 this font update is not done which causes the sizeHint to be wrong -> NOT OK.
I think this difference is caused by the commit "c54a5b83804c00474d141b485b752a7c54169ebf" (Change-Id: Id0099e069d316741bacd8c795c396ccad37be297 , QTBUG-85483).
Due to the window handle not being forcibly created no immediate screen change is happening, which also means <updateFont> is not called.