Closed Bug 1670317 Opened 5 years ago Closed 5 years ago

Bookmarks menupopup would not scroll and bookmark item would not react until re-open the menupopup.

Categories

(Firefox :: Bookmarks & History, defect)

Firefox 83
Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1670452
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- unaffected
firefox83 + fixed

People

(Reporter: alice0775, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, platform-parity, regression)

Attachments

(1 obsolete file)

[Tracking Requested - why for this release]: bookmarks menu is broken

If Bookmarks menupopup is overflowed and when the menupopup is displayed at first time,
Bookmarks drop down would not scroll,
Bookmark item would not react.

Steps to reproduce:
(prerequisite)

  1. Enable bookmarks toolbar
  2. Create a folder in the bookmarks toolbar
  3. Create multiple bookmark items in the folder so that the menupopup will be overflowed(scroll-able)

(Steps)

  1. Start Browser
  2. Click the folder to open menupopup
  3. try to scroll the menupopup
    --- the menupopup would not scroll by (mouse wheel/keyboard). BUG!!
    --- No scrollbutton displayed. BUG!!
  4. try to open a bookmark in the menupopup by mouse click
    --- the bookmark item would not react(mouse hover/click) BUG!!

(optionally)
5. After re-opening menupopup, the problem will be gone.

Actual Results:
Bookmarks menupopup would not scroll, No scrollbutton displayed.
Bookmark item would not react.

Expected Results:
Bookmarks menupopup should be able to scroll,
Bookmark item would should react.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c8ec11711bb0981f6eb3fe8b95d1d49a41931efd&tochange=98c09e82b3e9728fbfa9204a8b5e3cef676dce76

emilio, your bunch of patch seems to cause the problem. Could you please look into this?

Flags: needinfo?(emilio)

Thanks for filing. Sure, I'll poke.

Is this on windows? I haven't been able to repro on Linux but maybe I'm doing something wrong (or maybe this works in wayland somehow). Is there any chance you could post an screen cast so that I can confirm I'm not doing something dumb?

Thanks a lot as always Alice :)

Flags: needinfo?(emilio) → needinfo?(alice0775)
Flags: needinfo?(emilio)

Screencast: https://youtu.be/VFXiRseIYdU

Open the menupopup for the first time:
no scroll button display, would not scroll
no tooltip
mouse hover highlight is not consistent(it appears and then disappears)

Re-open the menupopup (video 00:30-):
everything works fine

Flags: needinfo?(alice0775)

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

Thanks for filing. Sure, I'll poke.

Is this on windows?

Yes, Windows10.

And I can also reproduce the issue on Ubuntu20.04.

Keywords: platform-parity
OS: Windows 10 → All
See Also: → 1670410

This is a wallpaper, for now. Without flushing here we end up with a
shrink-to-fit scrollbox, which of course creates no scrollbars.

Whether my patch uncovered a XUL layout bug or just an edge case due to
the transitions that the animate attribute triggers I haven't dug into
quite yet, but we could probably land this in the interim, as it is an
easy fix that doesn't make things worse than they were.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ed5f52188003 Keep flushing layout on popupshowing in places-menupopup. r=Gijs
See Also: → 1670452

(In reply to Pulsebot from comment #6)

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed5f52188003
Keep flushing layout on popupshowing in places-menupopup. r=Gijs

I tested this bug using autoland opt build, but the issue can be reproduced.
After landing this patch, the problem seems to be depended to timing/CPU load.

(In reply to Alice0775 White from comment #7)

(In reply to Pulsebot from comment #6)

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed5f52188003
Keep flushing layout on popupshowing in places-menupopup. r=Gijs

I tested this bug using autoland opt build, but the issue can be reproduced.
After landing this patch, the problem seems to be depended to timing/CPU load.

I see, thanks for testing. I'm pretty sure after looking at bug 1670452 that this is just another manifestation of that one.

I've asked sheriffs to back out the wallpaper. Thank you!

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Attachment #9181009 - Attachment is obsolete: true

Thank you!

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: