Individual entries in the user-defined document properties appear to be sorted incorrectly (I suspect in US-ASCII order). For Example: 'Ä' follows 'Z'. See also enhancement request in Bug 123918.
In the dialog to insert such user-defined field values, the ordering is correct ('Z' follows 'Ä'), however.
confirm with Version: 6.3.0.0.alpha0+ Build ID: 732d630c3d2a168c725c18e4dd8df7a0a4f85566 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Would be really good to have a more logical order for non-English users. As an example: user Jeeped described it in the following MS help comment: https://answers.microsoft.com/en-us/msoffice/forum/all/excel-sorting-is-not-in-ascii-order/36a6d145-89e5-44b9-b0c4-e49c92135808 (see also his linked Excel file with a sort order) "The soft order that Excel uses has to do with language. If a strict ASCII code ordinal was used, a lower case a would come after the upper case Z and several special characters. When Excel sorts alphabetic strings, all of the following characters come before a B, A a ª Á á À à Â â Ä ä Ã ã Å å Æ æ ... which makes more sense when sorting alphabetic strings in a multilingual product. ..."
Dear Ulrich Windl, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
(Bugs don't go away without action) I reproduced in 7.0.4.2: (Nonsense) Properties were sorted in this order: Arbeit Blutspende Ärger Überfluß --- So the 'B' is definitely mis-ordered!
Should the sorting only be done in the UI or even for the properties stored in the document itself?
As I think sorting at the UI level is helping the user performance, while sorting at the XML level might help the code performance (binary searching), UI level is considered sufficient, especially when considering that some future version might allow sorting the (name, value) pairs by value, too
Proposed patch: https://gerrit.libreoffice.org/c/core/+/115780 However, this change sorts the custom properties only after the opening of the dialog. After adding all your prefered document properties, you have to reopen the dialog in order to get them sorted. This can be extended to the add property functionality. So after inserting a new property and hitting the "Add property" button again, the list will be sorted. Imho this is not needed, because with a lot of document properties, the user may scroll in order to find the newly added item. Opinions?
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4d5c96be4362902144c83708f40f77766244ca06 tdf#123919 - Sort custom document properties It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.