Closed Bug 1681169 Opened 3 years ago Closed 3 years ago

1-2px flicker with toolbarbuttons placed on the bookmarks toolbar when opening a new window

Categories

(Firefox :: Bookmarks & History, defect, P3)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- verified

People

(Reporter: itiel_yn8, Assigned: Gijs)

References

Details

(Whiteboard: [fxperf])

Attachments

(2 files)

Attached image Screencast

STR:

  1. Enable the bookmarks toolbar, add some bookmarks there
  2. Add the Bookmarks Menu toolbarbutton to the bookmarks toolbar
  3. Open a new window

AR:
The toolbarbutton flickers 2-3px to the side while loading the bookmarks are loaded.

ER:
No flicker.

Noticed this when I verified bug 1678951.

This is pretty confusing. Itiel, just to check, am I right in thinking this is an RTL window so the bookmarks menu button that you've put on the bookmarks toolbar is at the logical "start" of the toolbar, and it's switching towards the start (so some padding/margin / element before it in the markup is decreasing / being hidden) ? And is the screencast from win10?

Flags: needinfo?(itiel_yn8)
Whiteboard: [fxperf]

(In reply to :Gijs (he/him) from comment #1)

This is pretty confusing. Itiel, just to check, am I right in thinking this is an RTL window so the bookmarks menu button that you've put on the bookmarks toolbar is at the logical "start" of the toolbar, and it's switching towards the start (so some padding/margin / element before it in the markup is decreasing / being hidden) ?

Yes, I am on RTL. The same applies on an LTR build, just tested.
And yes, your explanation seems to make sense.

And is the screencast from win10?

Yes.

Flags: needinfo?(itiel_yn8)
Severity: -- → S4
Priority: -- → P3
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f01f746874d4
fix few-px horizontal flicker of bookmarks toolbar buttons due to margins on empty toolbar placeholder, r=jaws
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

The horizontal shift should be gone now, I hope? :-)

Flags: needinfo?(itiel_yn8)

Indeed. Tested when you posted the patch and tested now on Nightly, no shifting.
Thanks!

Flags: needinfo?(itiel_yn8)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: