[Wayland] Wayland sometimes displays an empty window with WebRender with GDK_BACKEND=wayland

RESOLVED FIXED in Firefox 67

Status

()

enhancement
RESOLVED FIXED
3 months ago
2 months ago

People

(Reporter: sotaro, Assigned: sotaro)

Tracking

(Blocks 2 bugs)

unspecified
mozilla67
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox67 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

3 months ago

There is a case that main window becomes empty window with "GDK_BACKEND=wayland ./mach run". It happened often when PC was very busy.

Assignee

Updated

3 months ago
Assignee: nobody → sotaro.ikeda.g
Assignee

Updated

3 months ago
Blocks: wayland, wr-linux
Assignee

Comment 1

3 months ago

When it happened, GetRemoteRenderer() returned nullptr in nsWindow::WaylandEGLSurfaceForceRedraw().

In this case, it seems better to call RequestsUpdatingEGLSurface() in nsWindow::OnExposeEvent() like before.

Assignee

Comment 3

3 months ago

(In reply to Sotaro Ikeda [:sotaro] from comment #1)

In this case, it seems better to call RequestsUpdatingEGLSurface() in nsWindow::OnExposeEvent() like before.

nsWindow::SetCompositorWidgetDelegate() seems more reliable than nsWindow::OnExposeEvent().

Comment 4

3 months ago
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/acbeb5adfef5
Handle a case that GetRemoteRenderer() returned nullptr r=stransky

Comment 5

3 months ago
bugherder
Status: NEW → RESOLVED
Last Resolved: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.