Closed Bug 1883729 Opened 1 year ago Closed 1 year ago

Firefox logs "[GFX1-]: We don't have GTK/EGLWindow with correct size, can't draw." to my terminal when I close About Nightly dialog

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox123 --- unaffected
firefox124 + fixed
firefox125 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:

  1. Start Firefox Nightly from the terminal with a fresh profile, e.g.:
$ mkdir /tmp/foo; firefox -profile /tmp/foo 
  1. Hamburger Menu|Help|About
  2. Close the about dialog (press Esc or click the "x")
  3. Check your terminal.

ACTUAL RESULTS:
At the moment the dialog closed, this appears in the terminal:

[GFX1-]: We don't have GTK/EGLWindow with correct size, can't draw.

EXPECTED RESULTS:
No such logging.

I'm using Firefox Nightly 125.0a1 (2024-03-05) (64-bit) on Ubuntu 22.04 with Window Protocol wayland and Compositing WebRender in about:support.

Regression range where this logging started appearing:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=3475061cb5df2fea5ed9e240a7508368ff6f23b8&tochange=7346a5d91e93697de1af5ba25e9cb68dd940c215

--> This started with Bug 1880323's patches.

stransky, I wonder if you can reproduce this & if you know what's going on?

Component: Graphics → Widget: Gtk
Flags: needinfo?(stransky)
Keywords: regression
Regressed by: 1880323
Summary: Firefox logs "[GFX1-]: We don't have GTK/EGLWindow with correct size, can't draw." to my terminal when I close About Nighlty dialog → Firefox logs "[GFX1-]: We don't have GTK/EGLWindow with correct size, can't draw." to my terminal when I close About Nightly dialog

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

Will be covered by Bug 1883250.

Flags: needinfo?(stransky)
See Also: → 1883250
Priority: -- → P3

Thanks!

Severity: -- → S4
Flags: needinfo?(gpascutto)

We'll see it when you close firefox during paint, i.e. before page is completely rendered. It doesn't imply any issue, it's just a warning. We don't want to paint to hidden windows anyway.

If you feel so we can remove the message.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #7)

We'll see it when you close firefox during paint, i.e. before page is completely rendered. It doesn't imply any issue, it's just a warning. We don't want to paint to hidden windows anyway.

If you feel so we can remove the message.

We should do so, yeah. Shippable builds log essentially nothing to the terminal by default (in the absence of explicit MOZ_LOG etc. requests), and we should align with that expectation here.

(I guess we did remove this logging in the first patch that landed on the regressing bug, here:
https://hg.mozilla.org/integration/autoland/rev/fdcedb217978#l1.12
...but that changeset was backed out in favor of the ones that landed later on, and the logging-removal didn't make it into the final patches that landed.)

Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc74b9804f73 Remove some linux-specific logging for a harmless condition when a window gets closed. r=stransky
Attachment #9390051 - Flags: approval-mozilla-beta?

Uplift Approval Request

  • Needs manual QE test: no
  • Explanation of risk level: Zero behavior change; just removes some logging, from a chunk of code that's only compiled on linux
  • Code covered by automated testing: no
  • Risk associated with taking this patch: zero
  • User impact if declined: Unnecessary log-spam appearing in terminal
  • Steps to reproduce for manual QE testing: N/A
  • Is Android affected?: no
  • Fix verified in Nightly: no
  • String changes made/needed: None
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Attachment #9390051 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: