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

Support for passing window flags to native popup windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8
    • Quick: Dialogs
    • None
    • Fedora 40, KDE Plasma

    Description

      Qt 6.8 adds support for Popup being proper windows, which is great!

      When testing this in KDE apps I found a problem for making use of this though.

      When enabling via "popupType: QQC2.Popup.Window" the window gets a server-side titlebar. This conflicts with Kirigami's dialog design, which assumes there is no titlebar.

      To address this we want to be able to suppress the titlebar, i.e. apply the FramelessWindowHint flag to the popup window. As far as I can tell there is no API in Popup to pass window flags to the created window

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nicolasfella Nicolas Fella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes