Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 3 risposte
  • 2 hanno questo problema
  • 7 visualizzazioni
  • Ultima risposta di 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.

Tutte le risposte (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