Closed Bug 1611778 Opened 5 years ago Closed 4 years ago

On slower machines, the "Firefox Home Content" flickers when opening/reloading about:preferences#home

Categories

(Firefox :: New Tab Page, defect)

Desktop
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 75
Tracking Status
firefox75 --- verified

People

(Reporter: itiel_yn8, Assigned: itiel_yn8)

References

Details

Attachments

(1 file)

STR:

  1. Be on a somewhat slow machine
  2. Open about:preferences#home -- see the "Firefox Home Content" section flickers
  3. Reload and see the same thing

ER:
No flicker.

I think this happens because a margin-top: 14px; [1] rule is injected via JS.

[1] https://searchfox.org/mozilla-central/source/browser/components/newtab/lib/AboutPreferences.jsm#59-61

Mardak, why is this CSS dynamically injected? Can we just add it to the "normal" CSS sheets?

Component: Preferences → New Tab Page
Flags: needinfo?(edilee)

Now that newtab/ development happens directly from mozilla-central, I think it would be a good time to move this custom injected css into the normal way.

Flags: needinfo?(edilee)

The attached patch fixes this, but I'm pretty sure I didn't to this right / I missed something.
Feel free to pick this up if you'd like.

Assignee: nobody → itiel_yn8
Status: NEW → ASSIGNED

The priority flag is not set for this bug.
:thecount, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sdowne)

:Mardak, I'm pretty sure this change doesn't block freezing the github repo. Can we remove that dep?

Flags: needinfo?(edilee)
No longer blocks: freeze-newtab-github-repo
Flags: needinfo?(edilee)
Pushed by elee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e8ad5bbe739
Fix flickering of the "Firefox Home Content" section in about:preferences on slower machines r=Mardak
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75

I have verified that the issue is no longer reproducible on the latest Firefox Nightly (75.0a1, BuildID 20200220093508) using Windows 10 x64, macOS 10.14, and Arch Linux 5.3.6. The "Firefox Home Content" section no longer flickers when the about:preferences#home page is loaded or refreshed.

Status: RESOLVED → VERIFIED
Flags: needinfo?(sdowne)
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: