Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.2, 6.2.3, 6.2.4, 6.3.0
-
None
-
-
ebdaf8ef9c (qt/qtbase/dev) ebdaf8ef9c (qt/tqtc-qtbase/dev) 0e25f1a4da (qt/qtbase/6.3) 0e25f1a4da (qt/tqtc-qtbase/6.3) c80d89113d (qt/tqtc-qtbase/5.15) 96ce0721e6 (qt/tqtc-qtbase/6.2)
Description
check the attached example.
If the img is large ,then the application will crash.
QImage img(":/a.png"); if (!img.isNull()) { // Load successful auto dictionaryIcon = QIcon(QPixmap::fromImage(img)); //crash here. setWindowIcon(dictionaryIcon); }
Attachments
Issue Links
- resulted in
-
QTBUG-109610 developer-build fails for xcb
- Closed
-
QTBUG-127392 Avoid warning: Ignoring window icon xxx exceeds maximum xcb request length 65535
- Closed
For Gerrit Dashboard: QTBUG-102628 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
408178,2 | Ignore window icon in XCB when its size exceeds maximum request length | dev | qt/qtbase | Status: MERGED | +2 | 0 |
408200,2 | Ignore window icon in XCB when its size exceeds maximum request length | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
408263,4 | Ignore window icon in XCB when its size exceeds maximum request length | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
408264,4 | Ignore window icon in XCB when its size exceeds maximum request length | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |