You are here

[Closed] Updater graphics missing, icons get moved

6 posts / 0 new
Last post
Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 2 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
[Closed] Updater graphics missing, icons get moved

When there is no icon in the Platform's AppIcons folder (X:\PortableApps\PortableApps.com\App\Graphics\AppIcons) for an app (such as RBTray), the updater shifts icons down to fill the space, and icons get placed in front of the wrong apps as a result. See here for what I mean.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Nice

Now I can install Notepad++ and play Poker with it Smile

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 25 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Weird

It should be using the appicon.ico within RBTrayPortable\App\AppInfo if it isn't in appicons and can't download it. The logic is:

1. Check the appicons list
2. If not there, check App\AppInfo\AppIcon.ico
3. If not there, download RBTrayPortable.ico from PortableApps.com
4. If not exist or failed, download RBTrayPortable_16.png from PortableApps.com and convert it to an ICO
5. If it still doesn't exist, copy the generic download.ico to the appicons list as RBTrayPortable.ico.

So, how exactly did you make it not be any of those places? Were you running from read-only or something? I've tried multiple permutations and it still works without it being blank. I added in one final backup check on the off chance that all of that fails.

Sometimes, the impossible can become possible, if you're awesome!

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 2 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
Figured it out

Ok, I figured it out. It turns out that App\AppIno\AppIcon.ico was corrupted somehow (icofx says that it's an empty file), so it finds AppIcon.ico and doesn't go any further. Not sure how that happened, but this can be marked as closed, i suppose.

Note: running from G, default paths, normal setup.

I moved my platform setup to this drive manually, it was probably something to do with that.

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 25 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Odd

That file is valid in the installer and was edited with IcoFX. I'm not sure we can easily test for a valid ico file with our current toolset, unfortunately.

Sometimes, the impossible can become possible, if you're awesome!

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 2 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
Yep

Yeah, not sure what happened there. Something to keep in mind for the future, if we come across a way to test the validity of icons, it wouldn't hurt to include a check.

Log in or register to post comments