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

Window position is bypassed by Wayland.

    XMLWordPrintable

Details

    • Linux/Wayland
    • bcd034320 (dev), b399c59e2 (6.6), 45bb10aae (tqtc/lts-6.5), c8e596c78 (tqtc/lts-6.2)

    Description

      The are no events when the Window change its position.

      Settings X or Y do nothing like they are bypassed by the OS (when opening a new window, the position is still the same) while size events work.

      The issue is only on Wayland. Position work as expected on Windows, Mac, X11.

      Reproduction:

      Make a new Quick project from QtCreator and add in the Window item:

      onXChanged: console.log("x:"+x)
      onHeightChanged: console.log("height:"+height)
      

       

      • Build and run.

      -> The window is not opened at (0,0) of the screen.

      • Move the Window

      ->Nothing in log.

      • Resize the Window

      -> Height changes in log.

      Attachments

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

        Activity

          People

            liaqi Liang Qi
            julienwa Julien Wadel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes