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

Details

    • Windows

    Description

      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.

      Attachments

        1. qtbug79861.zip
          2 kB
        2. qtbug79861.tar.gz
          0.9 kB
        3. qtbug79861_hellogl_repro.diff
          9 kB
        4. qtbug79861_gl_log.txt
          3 kB
        5. qtbug79861_diag.diff
          13 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes