Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

  • 3 답장
  • 2 이 문제를 만남
  • 7 보기
  • 최종 답변자: 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.

모든 댓글 (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