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

On macOS, QMimeType::comment returns value for the secondary language

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.3.1
    • None
    • Intel MBP, macOS 12.4
    • macOS

    Description

      1. Change Language & Region settings to have multiple preferred languages, as shown on macos_settings.png
      2. Open an attached project and run it.

      As shown on mimetype_comment.png, the locale is set to en_US but the comment is for the secondary language.

      NOTE: Changing the primary language region to the United Kingdom en_GB results in the correct English comment.

      In 5.14.2 it returned an English comment with the same settings.

      Attachments

        1. macos_settings.png
          macos_settings.png
          369 kB
        2. mimetype_comment.png
          mimetype_comment.png
          20 kB
        3. OSX_METADATA_COMMENT.zip
          2 kB

        Activity

          People

            cnn Qt Core & Network
            sergey_pashkov Sergey Pashkov
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: