Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126335

QtQuick Window instances have blank title bars under WebAssembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.9.0 FF
    • 6.7, 6.8
    • GUI: Window management
    • None
    • WebAssembly
    • 9293fb9bd (dev)

    Description

      As summary (and as alluded to in QTBUG-120138). Any Quick Window instances have blank title bars under WebAssembly. This is because QWasmWindow::setWindowFlags sets the relevant CSS properties ultimately based on the contents of the Window.flags QML property, by default simply Qt.Window. If the flags property is manually set to include Qt.WindowTitleHint and Qt.WindowCloseButtonHint etc., the title bar visual elements appear as expected.

      It's not intuitive to have to manually specify these things and indeed doesn't match the behaviour of other platforms so something is clearly wrong here. Browsing the source I wonder if QWasmWindow needs to include something like fixTopLevelWindowFlags from qwindowswindow.cpp? Not sure.

      Attachments

        For Gerrit Dashboard: QTBUG-126335
        # Subject Branch Project Status CR V

        Activity

          People

            evenandersen Even Oscar Andersen
            timangus Tim Angus
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes