Steps to reproduce:
1. File> New> Spreadsheet
2. Select A1, Format> Conditional formatting> Conditional Formatting...
3. Click Add
4. Click to open the styles listbox
Expected result : list sorted
Actual result : list not sorted
Windows7 64 bits & Version 18.104.22.168.beta2 (Build ID: f010139)
The style list will not be sorted. We use the order provided by the styles supplier and I don't plan to change that. We used that and are still using this order in several places.
Created attachment 63646 [details]
Created attachment 63647 [details]
Sorry, I don't understand :
"We used that and are still using this order in several places."
This list is actually sorted in previous versions (see screenshots)
And, IMHO, we need it so...
I copied the code from the old dialog to the new one without changes.
Seems you're right we used the sort property in the ui element definition but we can no longer use that because it will also sort the "New Entry..." part.
(In reply to comment #6)
> we can no longer use that because it will also sort the "New Entry..." part.
So we have a double problem because of Issue id=51589
"New Style" and "Default" (or "Default" and "New Style") should start the list with the rest of the list sorted...
Finally implemented this is master.
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "master":
style list should be sorted, fdo#51588
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.