Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.5.3, 6.6.3, 6.7.2
-
None
-
Windows10
Description
The following QML code, when run on Windows, exhibits an issue: after clicking the minimize button and then restoring the window from the taskbar, the window's title text remains in the background and cannot be removed.
import QtQuick import QtQuick.Window import QtQuick.Controls Window { visible: true width: 800 height: 600 flags: Qt.FramelessWindowHint | Qt.Window color: "transparent" Rectangle { anchors.fill: parent anchors.margins: 20 color: "black" Button { text: "minimize" anchors.centerIn: parent onClicked: { Window.window.showMinimized() } } } }
I have tested with different versions of Qt and found that the issue occurs in versions 6.5 and later. In versions prior to 6.5, the behavior is normal.
Attachments
Issue Links
- clones
-
QTBUG-125037 qml-bug-on-window-restore-from-task-bar
- Reported
-
QTBUG-126257 QML: "Title bar" artifact when using Window.showMinimized()
- In Progress
Gerrit Reviews
For Gerrit Dashboard: QTBUG-127116 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
598187,6 | Windows: Fix title bar artifact for frameless windows after restoring | dev | qt/qtbase | Status: NEW | 0 | 0 |
612557,1 | Add Windows specific autotest for title bar issue | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |