Hello 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 Platform: Windows7 64 bits & Version 3.6.0.0.beta2 (Build ID: f010139) Regards Pierre-Yves
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] Screenshot LibO3.5.4
Created attachment 63647 [details] Screenshot LibO3.6.0
Hello Markus 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... Regards Pierre-Yves
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. I see... 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": http://cgit.freedesktop.org/libreoffice/core/commit/?id=93e57ac549abc41bdc875b9cbe5869c251f879a7 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.