Page 1 of 1

Bug(?) report: Sorting of old profiles

Posted: Sun May 26, 2013 7:44 pm
by krrrcks
Hi, I play with mudlet v2.1 on Ubuntu 13.04 and the date format in the Connect-dialog for old profiles is in German. But the ordering of the entries is a bit strange; translated to English it is:
...
4th April
5th May
6th May
...
17th May
18th April
...
To me it seems that it doesn't order by year, month, day but only by day.

Kind regards,
Krrrcks

Re: Bug(?) report: Sorting of old profiles

Posted: Sun May 26, 2013 10:26 pm
by Vadi
That's very odd. Could you show a screenshot of this as well? of the menu popped out.

Re: Bug(?) report: Sorting of old profiles

Posted: Mon May 27, 2013 4:24 am
by krrrcks
Here is a screenshot.

Re: Bug(?) report: Sorting of old profiles

Posted: Mon May 27, 2013 4:56 am
by Vadi
Hmm. I tried this on Ubuntu 13.04 with a German locale, but it sorted it right:
Workspace 1_009.png
Workspace 1_009.png (61.34 KiB) Viewed 5496 times
So it doesn't seem to be a problem with that setup pre-se. I'm not sure atm what is going wrong here, I'll get back to you.

Re: Bug(?) report: Sorting of old profiles

Posted: Mon May 27, 2013 5:36 am
by krrrcks
Well, I have no idea how this ordering works, but I looked into the "current" folder with the XML files and attached is a screenshot of the file names. It seams they are named DD-MM-YYYY#hh-mm-ss.xml. Maybe here is the answer? Perhaps they should be named YYYY-MM-DD...? Maybe (I do not know) the profile dialog just orders the entries by file name?

Re: Bug(?) report: Sorting of old profiles

Posted: Mon May 27, 2013 5:46 am
by Vadi
That sorting is fine, that is how Mudlet stores it in every language. It doesn't use the file name either, it uses the "last changed" meta property of a file if I remember correctly.

Re: Bug(?) report: Sorting of old profiles

Posted: Mon May 27, 2013 7:43 am
by Heiko
@ vadi
Yes, clearly broken on Debian SID also. Seems like yet another new Qt regression.

@krrr
Yes, the file names are in Geman date format.