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

QSettings causes heavy I/O load on windows using the INI format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.4.0
    • Core: Other
    • None
    • Qt5.4.0 / MinGW 4.9.1, Windows7, Windows 8.1, QtCreator 3.3.0

    Description

      After the update from Qt5.3.2 to Qt5.4.0 I've recognized a very strong HDD load when I move or resize a widget (e.g. QMainWindow) while the widget stores the new values of pos() and size() via QSettings within the QWidget::resizeEvent(QResizeEvent *) and QWidget::moveEvent(QMoveEvent *) functions. QSettings is configured to use the INI format.

      The I/O load is so high, that moving or resizing windows is no longer fluid.

      Perhaps you want to say that it is better to store window settings only when the window is closed , but such an behavior I've not seen from Qt4 and Qt5 up to Qt5.3.2.

      I've uploaded a simple QtCreator project. I'm not able to reproduce the problem on Kubuntu 14.10 with Qt5.4.0, it seems to be a problem on windows only, tested on Windows 7 and 8.1.

      Attachments

        1. QSettingsTest.zip
          3 kB
          René Keimling
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rene René Keimling
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes