Closed Bug 1694027 Opened 4 years ago Closed 4 years ago

Highlights on scrollbar don't appear when searching in Bugzilla

Categories

(Toolkit :: Find Toolbar, defect)

Firefox 87
Desktop
All
defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox87 --- fixed
firefox88 --- verified

People

(Reporter: calixte, Assigned: enndeakin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

With firefox nightly (20210220213332):

STR:

Results:

  • we should have 6 marks but I've the impress that only one appears (or maybe the 6 into 1) on top of the scrollbar.

It works well in Chrome.

I've the same issue on searchfox: https://searchfox.org/mozilla-central/source/toolkit/modules/FinderHighlighter.jsm
and search for window => no mark on the scrollbar (nor on top of it).

Ah, this seems similar to the bug that was filed against the PDF viewer - bug 1693784. Neil, there might be value in somehow painting the marks on the main scrollbar AND the one on the box that has the largest scroll overflow? Or the range's scrollContainer (if such a thing exists).

Flags: needinfo?(enndeakin)
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Flags: needinfo?(enndeakin)
Depends on: 1695183
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/074b603302d7 use the body's scrollHeight to compute the scroll area is it is available, r=mikedeboer
Severity: -- → S2
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Blocks: 1695183
No longer depends on: 1695183

The issue is fixed for bugzilla but it still doesn't work on searchfox (see https://bugzilla.mozilla.org/show_bug.cgi?id=1694027#c1).

The patch landed in nightly and beta is affected.
:enndeakin, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(enndeakin)

Comment on attachment 9204708 [details]
Bug 1694027, use the body's scrollHeight to compute the scroll area is it is available, r=mikedeboer

Beta/Release Uplift Approval Request

  • User impact if declined: The new in ff87 find scrollbar ticks don't appear in the correct locations on some popular sites (wikipedia, yandex, bugzilla, etc)
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce: (I verified this bug myself)
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small low risk cosmetic code change
  • String changes made/needed: No
Flags: needinfo?(enndeakin)
Attachment #9204708 - Flags: approval-mozilla-beta?

Comment on attachment 9204708 [details]
Bug 1694027, use the body's scrollHeight to compute the scroll area is it is available, r=mikedeboer

approved for 87.0b8

Attachment #9204708 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Fixed in Nightly v88.0a1 from 2021-03-08 based on this comment.

OS: Linux → All
Hardware: x86_64 → Desktop
No longer blocks: 259640
Depends on: 259640
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: