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

QSettings regression when being used in INI format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.0.0, 5.2.0
    • Core: I/O
    • Tested on Linux, x86_64

      QSettings with IniFormat being used with keys like 'general/entry1' do
      write all items into a '%General' section.
      This is what the doc explains as a way to ensure no keys without a group may
      get overwritten.

      This seems to be a little messed up:

      1. QSettings and keys using the group 'general' can create multiple sections - this happens with previous qt version too.

      2. Since 5.0, these sections fail to be read (@see the attached example)

        1. patch.diff
          0.7 kB
        2. qtbug28893_multiple.zip
          1 kB
        3. qtbug28993.diff
          2 kB
        4. qtbug28993.zip
          1 kB
        5. test.tar.gz
          0.9 kB
        For Gerrit Dashboard: QTBUG-28893
        # Subject Branch Project Status CR V

            srutledg Shawn Rutledge
            frankhem Frank Hemer
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change