Open Bug 1844657 Opened 2 years ago Updated 2 years ago

[Wayland] firefox only draws to a corner of the screen after screen sleep on linux

Categories

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

Firefox 115
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tessa, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

  • put system to sleep
  • wake from sleep

Actual results:

  • firefox only draws itself to a small corner of its total window space
  • resizing window does not fix issue
  • only closing and re-opening the entire browser fixes the problem

Expected results:

  • firefox correctly draws to the full window

system details:

  • endeavouros, running 6.4.3-zen1-1-zen kernel, with gnome on wayland
  • radeon 6900 xt gpu, using mesa drivers
  • primary display at 4k over displayport, secondary via hdmi to a home theater system for audio, shows up as 1080p, so this may be firefox confusion over multi-head hotplugging on wake from sleep

I'll attach a screenshot demonstrating the issue next time I wake it from sleep.

This has been happening for a couple months, so it's unclear when it started, but it wasn't happening say 6 months ago. this means it's likely either a gnome compositor or a firefox issue, and since firefox is the only app that exhibits this problem, it's more likely to be a problem with firefox.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

here's a screenshot showing what I'm talking about. the transparency on the png should be correct, with firefox only rendering to a tiny corner of the window, and then big black chunks surrounding the rendered area inside of the window.

Yes, I see that too but I see that in other apps too - gnome-terminal for instance.

Blocks: wayland
Priority: -- → P3
Summary: firefox only draws to a corner of the window after screen sleep on linux → [Wayland] firefox only draws to a corner of the window after screen sleep on linux
Summary: [Wayland] firefox only draws to a corner of the window after screen sleep on linux → [Wayland] firefox only draws to a corner of the screen after screen sleep on linux
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: