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

Expose QWindow's frameGeometry as a property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.9.1, 5.10
    • GUI: Window management
    • None

      Currently only the geometry() values are exposed as properties (x, y, width, height), whereas the frameGeometry() values are not exposed.

      The simple use case is that there is no way to access the frameGeometry from a QML Window item, and thus no way to figure out the dimensions of the frame decorations.

      The more complex use case is that it is necessary for a cleaner integration in WebEngine, where a Javascript resize or move event expects to set the full frameGeometry of the window, which is not currently possible from inside QML.
      Relevant bug report for that is QTBUG-51181 .

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

            vestbo Tor Arne Vestbø
            alexandru.croitor Alexandru Croitor
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes