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

[xcb] WindowTransparentForInput causing problems with resizing

    XMLWordPrintable

Details

    • Linux/X11
    • ac2f4bd9db63cc4a37953b00830ee6214752ea8f (qt/qtbase/dev) 3a3291c2ebef03cb0878af84897b4b5a10cd5c1d (qt/tqtc-qtbase/5.15) 5452e54f4514e9f8fbc648a30ed73c17c2ba8ad2 (qt/qtbase/6.2)

    Description

      Running the example shows the bug, seen also in the attachment.
      When WindowTransparentForInput is removed shows the correct result, screenshot also attached.

      The problem comes from, that XCB_EVENT_MASK_RESIZE_REDIRECT is used with WindowTransparentForInput.

      The original commit is here:
      https://codereview.qt-project.org/c/qt/qtbase/+/8904 c4a14b98db1567ffe35997d13467321100f71c48 Add correct event mask for Qt::WindowTransparentForInput in xcb plugin

      Attachments

        1. Example.zip
          2 kB
        2. qt-xcb-resize-bug.png
          qt-xcb-resize-bug.png
          14 kB
        3. qt-xcb-resize-ok.png
          qt-xcb-resize-ok.png
          18 kB

        Issue Links

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

          Activity

            People

              inho Inho Lee
              karimpinter Karim Pinter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes