You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed this doesn't seem to work.
I tried a couple of things, including integer number, or real number with dots or comma to try and force zenity to handle them as numbers. I also try similar things directly in bash.
If there is a solution to this problem, it isn't documented either...
Ok I wanted to try padding the numbers as a workaround, but it looks like the latest zenity version doesn't even bother sorting the texts anymore, so...
Well what do you know, text sorting is back on latest zenity releases :/
I'm committing the "padding hack" for the download counts, if someone wants to try it. It's not pretty, but it does work as intended. I don't know if I'll keep it in in the future.
Also note that the subtitles scores, which are real numbers, are already sorted by zenity without issue.
When I run the script, a pop-up appears so I can select an option.
There I can see the number of rating and downloads.
Problem:
When I click on a column header to sort that list, numbers sorted alphabetically:
Expected:
Numbers sorted numerically:
What I've tried:
Removing
"
from entry:Code works normally, but still sorted like numbers are string.
I believe it's something about
zenity
. But I'm not sure.The text was updated successfully, but these errors were encountered: