Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.3.1, 5.4.2, 5.5.0
-
None
-
Windows 7 64 bit
MSVC2010, MSVC2013
Description
Build and run this simple program:
#include <QApplication> #include <QLabel> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel l; l.show(); app.exec(); }
You'll get the following error message:
QWindowsWindow::setGeometryDp: Unable to set geometry 5x13+520+265 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 116x13+520+265 (frame: 8, 30, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
Although the label seems to show up correctly, showing a tooltip afterwards will fail:
QToolTip::showText(QPoint(120,200), "TT");
The tooltip will just not show up.
Such short and correct code should neither produce an error message nor break the showing of other windows. With Qt 4.8.7 this works correctly.
Attachments
Issue Links
- is replaced by
-
QTBUG-47842 [REG Qt 4.8.7 -> Qt 5.3.1] QToolTip not shown after showing QLabel
-
- Reported
-
- resulted from
-
QTBUG-12057 <nobr> attribute does the opposite in QToolTip when text contains colon or dash
-
- Closed
-