Open Bug 1036100 Opened 7 years ago Updated 7 years ago

Firetext app is continuously repainting

Categories

(Core :: Graphics: Layers, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

People

(Reporter: botond, Unassigned)

References

Details

STR:
  1. Install https://marketplace.firefox.com/app/firetext.
  2. Launch the app.

Expected results:
  Once the app is fully loaded, we stop repainting until
  something on the screen changes.

Actual results:
  We keep repainting , at a rate of tens of paints per
  second (just eyeballing it), without ever stopping,
  even though the observable page content is not changing.

I first noticed this while looking at an APZC tree log to investigate https://bugzilla.mozilla.org/show_bug.cgi?id=967844#c10. The tree log was being printed over and over again, which suggests continuous recompositing; I then added debug output to nsLayoutUtils::PaintFrame to confirm that we are in fact continuously repainting.
If we're continuously repainting then this probably belongs in Layout. I ran into another case where this happens while investigating bug 1031494 - if you go into the marketplace, hit the settings button in the top-right, and then click on the sign in button, we'll continuously repaint while the "popup window" thing that opens is visible. In that case it looked there was some CSS animation happening (invisible to the user) that was triggering the repaints.
See Also: → 1036119
You need to log in before you can comment on or make changes to this bug.