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

tst_QGraphicsProxyWidget::touchEventPropagation() does not work with PM_DefaultFrameWidth > 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10, 6.11
    • Widgets: GraphicsView
    • None
    • All

      The original title was: "tst_qgraphicsproxywidget fails with windows or windows11 style", therefore the reference to the failed testcase here:

      See https://testresults.qt.io/logs/qt/qtbase/873e5d13ac4a5a7b89fa2c545af6051bc995d6f4/WindowsWindows_11_24H2x86_64WindowsWindows_11_24H2x86_64Mingwqtci-windows-11_24H2-x86_64-71-3d28beGenerateSBOM_Packaging_Sccache_UseConfigure_VerifySBOM/676d8ee5410dda3109d0071f46fb93a8b659a484/test_1760092823/log.txt.gz

      Running it locally with msvc and windows or windows11 style I get the 2px offset:

      D:\development\qt6-build
      λ tests\auto\widgets\graphicsview\qgraphicsproxywidget\tst_qgraphicsproxywidget.exe touchEventPropagation -style windows
      ********* Start testing of tst_QGraphicsProxyWidget *********
      Config: Using QtTest library 6.11.0, Qt 6.11.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2022), windows 10
      PASS   : tst_QGraphicsProxyWidget::initTestCase()
      QDEBUG : tst_QGraphicsProxyWidget::touchEventPropagation() QPointF(86,10) QPoint(88,12)
      QWARN  : tst_QGraphicsProxyWidget::touchEventPropagation() QPointF(88,12) not in QPointF(86,10)
      FAIL!  : tst_QGraphicsProxyWidget::touchEventPropagation() 'closeEnough(record.position, pb1Center)' returned FALSE. ()
      D:\development\qt6\qtbase\tests\auto\widgets\graphicsview\qgraphicsproxywidget\tst_qgraphicsproxywidget.cpp(3991) : failure location
      PASS   : tst_QGraphicsProxyWidget::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 139ms
      ********* Finished testing of tst_QGraphicsProxyWidget *********
      

      Same for windows11 style
      It works fine with windowsvista or fusion:

      D:\development\qt6-build
      λ tests\auto\widgets\graphicsview\qgraphicsproxywidget\tst_qgraphicsproxywidget.exe touchEventPropagation -style windowsvista
      ********* Start testing of tst_QGraphicsProxyWidget *********
      Config: Using QtTest library 6.11.0, Qt 6.11.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2022), windows 10
      PASS   : tst_QGraphicsProxyWidget::initTestCase()
      QDEBUG : tst_QGraphicsProxyWidget::touchEventPropagation() QPointF(87,10) QPoint(88,11)
      PASS   : tst_QGraphicsProxyWidget::touchEventPropagation()
      PASS   : tst_QGraphicsProxyWidget::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 163ms
      ********* Finished testing of tst_QGraphicsProxyWidget *********
      

      According to Grafana it started on 07.10 - no problems before.

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

            chehrlic Christian Ehrlicher
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are 2 open Gerrit changes