Number of scrollbar tick marks is incorrect
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | verified |
People
(Reporter: alice0775, Assigned: enndeakin)
References
Details
(Keywords: nightly-community)
Attachments
(2 files)
Build Autoland changeset 8d8a1ee8100cb65b9c54c95d3bb5aa659a0853e4
Steps to reproduce:
- Open https://ftp.mozilla.org/pub/firefox/nightly/
- Reduce browser height so that vertical scrollbar will appear
- Open find bar (Ctrl+F)
- Turn on [Highlight All]
- Type 2021 (you should not use cut & paste)
Actual results:
There are two tick marks on the scrollbar
Expected Results:
There should be one.
Because, number of find matches is one n this case.
![]() |
||
Comment 1•4 years ago
|
||
Early submission? Is this about bug 259640 comment 59?
![]() |
Reporter | |
Comment 2•4 years ago
|
||
![]() |
Reporter | |
Updated•4 years ago
|
![]() |
Reporter | |
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
I think this is caused by the later change to move the code into FinderHighlighter.jsm. For some reason, it doesn't really finish up when it says it does, (in FinderHighlight.update), so the value is the same as the old value.
I might just move the code back into Finder.jsm, or at least the call to updateScrollMarks.
Assignee | ||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
My observations:
-
Using the STR I only see one indicator line using Ctrl-F.
-
Using 'Search for text when you start typing' displays 2 indicator bars. However when I scroll the indicators disappear. Perhaps this method of searching is on a page by page basis.
Assignee | ||
Comment 5•4 years ago
|
||
Comment 7•4 years ago
|
||
Backed out changeset 5b31293f0b8d (Bug 1690783) for causing bc failures in browser_findbar_marks.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/2f4d46c963890136a88f6513d3b887a51033887d
Failure log: https://treeherder.mozilla.org/logviewer?job_id=329506435&repo=autoland&lineNumber=6291
Assignee | ||
Updated•4 years ago
|
Comment 9•4 years ago
|
||
bugherder |
Comment 10•4 years ago
|
||
I cannot reproduce this issue after the fix. The number of highlight ticks is correct when using the STR in comment 0 or in any other situation I have attempted to reproduce.
@Alice: Can you also confirm this fix? Thank you!
![]() |
Reporter | |
Comment 11•4 years ago
|
||
The issue is no longer reproduced on Nightly87.0a1(20210216215129).
Description
•