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

Mouse clicks are not delivered to the QWidget beneath container QWidget in QOpenGLWIndow on Windows

    XMLWordPrintable

Details

    • Windows
    • 36a6d17af00cf6b2ed4160194b1861208dcdd616 (qt/qtbase/dev) f6334cd9349bff5985e313cd8874eac97ae95006 (qt/qtbase/6.2) cd64d21453137f3028b1785f3ba77fcb698ba1a1 (qt/tqtc-qtbase/5.15)

    Description

      It seems that sometimes QWidget beneath the container QWidget won't receive the mouse clicks which go through the QOpenGLWindow if a QOpenGLWindow with Qt::WindowTransparentForInput flag is created and then a containter QWidget is created by calling QWidget::createWindowContainer().

      Way to reproduce:

      1) On Windows, Build and run the Qt example: affine (qtbase/examples/widgets/painting/affine)

      2) Stop animation by clicking 'Animate' button

      3) Click "Use OpenGL" button (Please note that if the view on the left shows some artifact, please resize the top level window to refresh the content),

      4) Try to move the penguin by dragging a circular anchor point in the view, which should be possible but due to this bug isn't.

      Issue does not reproduce on macOS or Linux

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            foxxx Tuukka Kettunen
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: