https://bugs.kde.org/show_bug.cgi?id=476504

            Bug ID: 476504
           Summary: "No other" pseudo name sorted wrong for language(s?)
                    other than English
    Classification: Applications
           Product: kphotoalbum
           Version: GIT master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kpab...@willden.org
          Reporter: schleth...@web.de
  Target Milestone: ---

SUMMARY
This was checked with people names in the German and English localization
(LANG=C): To select images of one person alone (no other persons in the image),
the second selection is the pseudo name "No other". In English this is sorted
on top of all the other names. In German the equivalent term is "keine
weiteren". But this is sorted not on top and not even below "K" but below "N".

STEPS TO REPRODUCE
1. Have a KPA instance with German user interface. Most probably any language
other than English will work as well.
2. Have a database with some images that are tagged with only one single person
and others with tags for this person and others. The same would work for other
categories than people.
3. From the home screen click the people category and select this person.
4a. From the home screen click on the people category again and select "No
other" (en) / "keine weiteren" (de) ...
4b. Observe where in the list the respective term (pseudo name) is sorted.

OBSERVED RESULT
In the English UI "No others" is sorted on top of the list.
In the German UI "keine weiteren" is sorted below "N".

EXPECTED RESULT
The pseudo name should always be placed on top of the list.
[At least it should be sorted correctly below "K" and not "N".]

ADDITIONAL INFO
The same applies for the pseudo name "None" / "keine".

I did a "git bisect" search:
----
44d16fef5aac0568b38db571e9cba2c7e46bba9e is the first bad commit
commit 44d16fef5aac0568b38db571e9cba2c7e46bba9e
Author: Johannes Zarl-Zierl <johan...@zarl-zierl.at>
Date:   Sun Oct 8 14:57:01 2023 +0200

    Add natural sort order to Browser::TreeFilter.

    This adds locale-specific numerical sort order to the category browser
    pages.
----

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuse Leap 15.5
KPA: v5.11.0-151-ge304108a
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to