Closed Bug 1823201 Opened 1 year ago Closed 1 year ago

In bookmarks scrollable list/menu, the scroll arrow is partially hidden

Categories

(Firefox :: Bookmarks & History, defect)

defect

Tracking

()

VERIFIED FIXED
113 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox111 --- unaffected
firefox112 --- unaffected
firefox113 --- verified
firefox114 --- verified

People

(Reporter: mayankleoboy1, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(6 files)

Attached file bookmarks.html

0.I have DPI=1.5 from windows and 16:10 resolution

  1. Create new profile
  2. Add the "Bookmark star button" to the bar
  3. Import the attached bookamrks.html
  4. Hover over the "misc" folder and scroll down

ER: The scroll arrow is visible
AR: The scroll arrow is partially hidden, and you cant make it visible by clicking

The STR are a liitle complicated, please see the attached video.

Regression range: Bug 1809084 - Stop using XUL layout for menu popups. r=desktop-theme-reviewers,dao,dshin

STR Video

Attached file about:support
Flags: needinfo?(emilio)

Set release status flags based on info from the regressing bug 1809084

See Also: → 1773052

The arrow is visible right? It's "just" that you can't hit it.

I can repro, thanks for the STR!

Flags: needinfo?(mayankleoboy1)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #4)

The arrow is visible right? It's "just" that you can't hit it.

I can repro, thanks for the STR!

Yes, exactly so.
I guess what i actually meant to write was that the "open all in tabs" was partially hidden, and the arrow doesnt do anything.

Flags: needinfo?(mayankleoboy1)

There are two bugs here:

  • We're sizing the popup in a way such as there's a <1px scroll range,
    even though there's space to position the popup in the screen without
    it. That's a layout bug I'll look into.

  • When you hit that situation, we never detect that we're scrolled to
    the end (because we have overflow and we're scrolled to the start
    even when scrolled to the end as well).

This patch fixes the second. As per above it's not a complete fix, but
it needs fixing as well, hypothetically you could've hit this with
enough bookmarks to just hit the screen, plus 1 pixel.

I'll look into the first bug too.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Since visibility: collapse can still end up with a non-zero size for
e.g., padding and so. display: none is a better fit for this.

I noticed this while investigating the overflow mentioned in the
previous patch.

Flags: needinfo?(emilio)

This is what we do for context menus, and makes more sense and
guarantees that we don't change the size of the popup (aSize) unless we
have to below.

This fixes the layout size to not fractionally shrink the popup in this
case.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fae299fc46a5
Make arrowscrollbox deal with minimal scroll area correctly. r=Gijs
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9196d26e6b90
Use display rather than visibility: collapse to hide scroll arrows. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

This is fixed in the latest Nightly. Thanks Emilio!

Flags: qe-verify+

Verified issue as fixed on Win10x64 using Nightly 114.0a1(20230427095144) and 113.0b8(20230425192707).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: