Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

A bug has landed on the page info window > media > sort by size… is no longer sorting by size.

  • 3 replies
  • 2 have this problem
  • 7 views
  • Last reply by cor-el

more options

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.

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)

more options

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
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

more options

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. :-)

more options

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