Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.8.0, 5.9.1
-
None
-
macOS
Description
On macOS (I did not tested other platforms) a QtWidgets window would not have any window icon if the application window icon is set before the window creation.
This is working fine for QQuickWindow.
If i set the application window icon after windows creations - the icon show up correctly as far as you have a window title (See QTBUG-63338).
It seems to be many implementations details which differ between QWidgetWindow and QQuickWindow.
QQuickWindow would get the app window icon correctly, but not the QWidgetWindow.
In contrary on a later change to the app window icon, if no icons were set explicitly on windows then the QWidgetWindow will reflect correctly the new icon, but not the QQuickWindow.
Attachments
For Gerrit Dashboard: QTBUG-63340 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
210397,2 | macOS: Fall back to QWindow::icon for application icon if not set | 5.10 | qt/qtbase | Status: MERGED | +2 | 0 |
210400,3 | QWidget: Propagate window file path after create | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |