Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2386

Artist field sorts characters with diacritic after z

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.7.2
    • 2.7.1
    • Tags & Metadata
    • None
    • Windows 11 Pro Insider Preview build 22523,
      Lenovo Legion 5-15ARH05H, monitor Acer VG272UP, 27", IPS, WQHD, HDR, 1.07 billion colors

      Hi.

      I’ve noticed a difference in sorting the Artist tag.

      MB treats fonts:
      Øystein Sevåg

      Öszibarack

      Édith Piaf

      like the Japanese ones at the end of the line.

      MP3Tag does it probably better:

      Øystein Sevåg as O

      Öszibarack as O

      Édith Piaf as E

       

      See also discussion at https://community.metabrainz.org/t/artist-field-sorting-differences/566271

          [PICARD-2386] Artist field sorts characters with diacritic after z

          Thanks a again for reporting this. The fixes have been merghed and we'll have this fixed in Picard 2.7.2

          Philipp Wolfer added a comment - Thanks a again for reporting this. The fixes have been merghed and we'll have this fixed in Picard 2.7.2

          GitHub Bot added a comment -

          See code changes in pull request #2025 submitted by phw.

          GitHub Bot added a comment - See code changes in pull request #2025 submitted by phw .

          Oh yes, we have two separate issues here.

          1. The artist field gets only a simple sorting, and that will always sort those characters with diacritics after the Z.
          2. For the title field the sorting works as you proposed. But it breaks on Windows if you are using not "system default" as UI language

          Basically we have two ways of sorting some columns and a bug in initializing the language in Windows.

          I'll have a fix for 1.. For 2. I also know the cause, but need to check how I'll solve it.

          Philipp Wolfer added a comment - Oh yes, we have two separate issues here. The artist field gets only a simple sorting, and that will always sort those characters with diacritics after the Z. For the title field the sorting works as you proposed. But it breaks on Windows if you are using not "system default" as UI language Basically we have two ways of sorting some columns and a bug in initializing the language in Windows. I'll have a fix for 1.. For 2. I also know the cause, but need to check how I'll solve it.

          Piotr added a comment -

          I'm driving on the default settings.

           

          Piotr added a comment - I'm driving on the default settings.  

          Thanks for creating this ticket.

          Actually this seems to be a bug. Could you check your language settings in Options > User interface? Is the language set to Polish or system default?
          If it is Polish, can you try changing to System default and restart Picard? How is the sorting then?

           

          For me sorting works properly if language is set to system default, but fails as soon as I set a language. So it looks like Picard wrongly overrides the collation rules when setting the locale. It could also be OS dependent, so far I only tested on Windows.

          Philipp Wolfer added a comment - Thanks for creating this ticket. Actually this seems to be a bug. Could you check your language settings in Options > User interface? Is the language set to Polish or system default? If it is Polish, can you try changing to System default and restart Picard? How is the sorting then?   For me sorting works properly if language is set to system default, but fails as soon as I set a language. So it looks like Picard wrongly overrides the collation rules when setting the locale. It could also be OS dependent, so far I only tested on Windows.

            outsidecontext Philipp Wolfer
            Echelon Piotr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package
                2.7.2