This object is in archive! 
Custom icon listing order in icon chooser
Solved
Up to Locus version 3.22.x, my custom icons in the icon chooser can be seen as shown in the first image. The icon listing order was as same as the icon file order in zip archive. This meant that it was possible to sort the icons yourself when you created the zip file.
But since Locus version 3.23.x, it seems that the listing order algorithm have been changed to "sort by name". As you can see in the second image, it becomes much harder to find the icon you need.
If there is no particular reason on this change, may I ask to revert it? Actually I really miss previous ordering.
Good day ta-ka,
quite interesting problem. You wrote "it was possible to sort the icons yourself when you created the zip file". How did you did this when not by the name?
In previous versions, Locus Map indeed loaded icons from zip file in "random" order, now they are sorted by name. Revert back is something I really do not want to do, but a) we may improve auto-sort logic or in worst case b) add option how to sort icons.
May you please share with me your "Google Earth Pins" pack, so I have something to test? Thanks
Good day ta-ka,
quite interesting problem. You wrote "it was possible to sort the icons yourself when you created the zip file". How did you did this when not by the name?
In previous versions, Locus Map indeed loaded icons from zip file in "random" order, now they are sorted by name. Revert back is something I really do not want to do, but a) we may improve auto-sort logic or in worst case b) add option how to sort icons.
May you please share with me your "Google Earth Pins" pack, so I have something to test? Thanks
I've sent "Google Earth Pins" pack by e-mail. When I created that, I repeated zip command to each png file one by one in the order I want and created the final archive file.
I've sent "Google Earth Pins" pack by e-mail. When I created that, I repeated zip command to each png file one by one in the order I want and created the final archive file.
Good evening,
Locus Map on some places use so-called "info" files that carry additional metadata for other files (maps, etc).
Icon packs already has support for these files, so I've just improved it little bit.
Please pack attached "info" file into your ZIP icon packs. It's simple XML file and I'm sure you won't need explanation. Important is new "sort" parameter. In next Locus Map version (even Beta), Locus will correctly handle zip file with icons and this file and based on this existing "sort" parameter, sorting won't happen.
Good evening,
Locus Map on some places use so-called "info" files that carry additional metadata for other files (maps, etc).
Icon packs already has support for these files, so I've just improved it little bit.
Please pack attached "info" file into your ZIP icon packs. It's simple XML file and I'm sure you won't need explanation. Important is new "sort" parameter. In next Locus Map version (even Beta), Locus will correctly handle zip file with icons and this file and based on this existing "sort" parameter, sorting won't happen.
Good morning,
Thank you very much for very fast fix. I look forward next beta version.
Good morning,
Thank you very much for very fast fix. I look forward next beta version.
Good day ta-ka,
new version is published and new issue appear. It is not possible to choose custom icons anymore, sorry. Will be fixed in tomorrow version!
@Ingo : more in topic. Nothing for this task was prepared ... till this night ;).
Good day ta-ka,
new version is published and new issue appear. It is not possible to choose custom icons anymore, sorry. Will be fixed in tomorrow version!
@Ingo : more in topic. Nothing for this task was prepared ... till this night ;).
Hi Menion,
I've installed the fixed version of Locus 3.24.1 and recreated my "Google Earth Pins" pack with info.xml based on the one from http://help.locusmap.eu/topic/own-icon-pack-icons-divided-into-groups. My pack looks like an image attached below now. Excellent improvement! Thank you very much Menion and also Ingo.
Hi Menion,
I've installed the fixed version of Locus 3.24.1 and recreated my "Google Earth Pins" pack with info.xml based on the one from http://help.locusmap.eu/topic/own-icon-pack-icons-divided-into-groups. My pack looks like an image attached below now. Excellent improvement! Thank you very much Menion and also Ingo.
Hello,
you are fast. Glad it works for you without an issues now, perfect. I consider this as a nice tool for users who wants to play with icons :). And as I wrote in second topic, if someone will feel that his pack may be useful for more users, it is possible to share it also over Locus Store ;).
Hello,
you are fast. Glad it works for you without an issues now, perfect. I consider this as a nice tool for users who wants to play with icons :). And as I wrote in second topic, if someone will feel that his pack may be useful for more users, it is possible to share it also over Locus Store ;).
Thanx, Menion, great stuff! I'll be checking it out asap.
@ta-ka: Could you please post your new Google Icons file? Would also be a good example...
Thanx, Menion, great stuff! I'll be checking it out asap.
@ta-ka: Could you please post your new Google Icons file? Would also be a good example...
@Ingo: For my Google Earth Icons/Pins pack, please see my post on Locus forum.
http://forum.locusmap.eu/index.php?topic=5731.msg47923
@Ingo: For my Google Earth Icons/Pins pack, please see my post on Locus forum.
http://forum.locusmap.eu/index.php?topic=5731.msg47923
Replies have been locked on this page!