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

Application hangs if QVXYModelMapper underlying data changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.4.0, 6.6.1
    • Charts
    • None
    • Linux/Wayland

    Description

      Changes to the underlying data after the series, for example due to a model reset, will make the application hang. Changing the mapped column trigger the exact same effect.

      Example:

      diff --git a/examples/charts/chartsgallery/modeldatawidget.cpp b/examples/charts/chartsgallery/modeldatawidget.cpp
      index 87a35fb8..c393e683 100644
      --- a/examples/charts/chartsgallery/modeldatawidget.cpp
      +++ b/examples/charts/chartsgallery/modeldatawidget.cpp
      @@ -68,6 +68,7 @@ ModelDataWidget::ModelDataWidget(QWidget *parent)
           mapper->setSeries(series);
           mapper->setModel(model);
           chart->addSeries(series);
      +    mapper->setYColumn(1);
           //! [6]
       
           //! [7] 

       

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            nunojpg Nuno Gonçalves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes