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

Expose QWindow's frameGeometry as a property

    XMLWordPrintable

Details

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

    Description

      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 .

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes