You are here

Small bug in PortableApps Platform

4 posts / 0 new
Last post
PortableGood
Offline
Last seen: 8 months 4 days ago
Joined: 2014-10-06 11:51
Small bug in PortableApps Platform

When sorting available apps by size of download or size when installed, the code is sorting as if the values are strings, not numbers. As a result, the sorted order is erroneous.

John T. Haller
John T. Haller's picture
Online
Last seen: 12 min 3 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Supported

You're not supposed to be able to sort at all. It's disabled by code. But there's a bug in the listbox component used that enables sort anyway.

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

PortableGood
Offline
Last seen: 8 months 4 days ago
Joined: 2014-10-06 11:51
LOL. The old adage is "it's

LOL. The old adage is "it's not a bug, it's a feature". In this case, the adage is "it's not a bug, because it's only visible due to another bug"! Smile

Any reason sort can't be enabled? It would be quite useful, and by adding a simple conversion from a string to an integer, it looks like it would work (it looks like it's sorting correctly given that it thinks those values are strings).

John T. Haller
John T. Haller's picture
Online
Last seen: 12 min 3 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No, not much use

No, the component is self-contained. And sort doesn't serve much of a purpose given that the main useful things to sort by are already covered by the options (Category, Name, New aka Release Date, Latest Updates aka Update Date). Sorting by something like description or app size is interesting as a curiosity, but isn't terribly useful.

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

Log in or register to post comments