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

Using QStandardPaths::DataLocation results in broken Unicode support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.6.2
    • None
    • FreeBSD 11

    Description

      A user reported a problem when creating files with our application under FreeBSD 11, where Unicode support in filenames was suddenly broken.

      See: https://github.com/qTox/qTox/issues/4012

      Turns out we used a deprecated enum value, which was fixed by conditionally replacing QStandardPaths::DataLocation with QStandardPaths::AppDataLocation here: https://github.com/qTox/qTox/pull/4019

      However, I think using a deprecated enum value should not result in silently broken Unicode support. This should either be made more robust or the compiler should throw an error/warning.

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            sudden6 sudden6
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes