This thread was archived. Please ask a new question if you need help.
A bug has landed on the page info window > media > sort by size… is no longer sorting by size.
the page info window > media > sort by size… is no longer sorting by size. Clicking the size header does seem to change the order, but no longer by size. It worked fine before the last update a few days ago.
All Replies (3)
I can confirm this and it has already been reported as a bug (regression).
- Bug 1554399 - incorrect media sort by size in view page info
(please do not comment in bug reports
It seems to re-use the last sort order.
But thanks for mentioning the problem, as I didn't realize I could add this column. :-)
It is not the last sort order, but things got messed up after converting older code to fluent. It probably tries to compare bytes stored in this field (numbers instead of the string representation). Sorting for numbers used to be done via number compare (a-b) and not via text compare
Compare how it is done in Firefox 60 ESR gImageView.onPageMediaSort https://dxr.mozilla.org/mozilla-esr60/source/browser/base/content/pageinfo/pageInfo.js#178