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

[REG Qt5 -> Qt6.2]: Chart with QLineSeries and QScatterSeries does not receive mouse events

XMLWordPrintable

    • 2dc32ee0f315e9f30edfd248f00ac093163ee49a (qt/qtcharts/dev) ce93b3009c (qt/qtcharts/6.2) ce93b3009c (qt/tqtc-qtcharts/6.2) ce93b3009c (qt/qtcharts/6.2.3) ce93b3009c (qt/tqtc-qtcharts/6.2.3) ce93b3009c (qt/qtcharts/6.2.4) ce93b3009c (qt/tqtc-qtcharts/6.2.4)

      When a QLineSeries and QScatterSeries are in the same chart, left click mouse events are no longer detected.

      Commenting out the code in chartline.cpp lines 374-380 and 398-401 remove the QScatterSeries from the chart and mouse events will work again.

      The issue does not exist in 5.15.x, so this looks to be a regression.

      Files in Data.zip should be placed in the application directory to display the charts.

        1. ChartTestProgram.zip
          16 kB
        2. Data.zip
          4 kB
        For Gerrit Dashboard: QTBUG-99044
        # Subject Branch Project Status CR V

            e0348803 Miikka Heikkinen
            kevin.zhang Kevin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes