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

When a widget that has a native window handle is inside another widget then the mouse events are offset when started on a secondary display

XMLWordPrintable

    • Windows

      When a widget that has a native window handle is inside another widget then the mouse events are offset when started on a secondary display. This only happens if the widget has a parent when its window handle is created and only happens with widgets with the WA_NativeWindow attribute.

      To reproduce, start the example and then click at the top corner of the red area. The otuput should be very close to 0x0, but it never gets past 21 in the y direction.

        1. qtbug79861.tar.gz
          0.9 kB
          Andy Shaw
        2. qtbug79861_gl_log.txt
          3 kB
          Friedemann Kleint
        3. qtbug79861_hellogl_repro.diff
          9 kB
          Friedemann Kleint
        4. qtbug79861_diag.diff
          13 kB
          Friedemann Kleint
        5. qtbug79861.zip
          2 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-79861
        # Subject Branch Project Status CR V

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes