X
Tryk her for at gå til webstedets mobilversion.

Supportforum

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

Skrevet

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.

Yderligere systemdetaljer

Installerede plugins

  • Shockwave Flash 19.0 r0

Program

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:67.0) Gecko/20100101 Firefox/67.0

Yderligere information

Luk
cor-el
  • Top 10 Contributor
  • Moderator
17879 løsninger 161769 svar

Nyttigt svar

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
)

I can confirm this and it has already been reported as a bug (regression). *[https://bugzilla.mozilla.org/show_bug.cgi?id=1554399 Bug 1554399] - incorrect media sort by size in view page info (<i>please do not comment in bug reports<br>https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>)
jscher2000
  • Top 10 Contributor
8963 løsninger 73452 svar

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 seems to re-use the last sort order. But thanks for mentioning the problem, as I didn't realize I could add this column. :-)
cor-el
  • Top 10 Contributor
  • Moderator
17879 løsninger 161769 svar

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

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 *https://dxr.mozilla.org/mozilla-release/source/browser/base/content/pageinfo/pageInfo.js#189 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