Closed Bug 1603927 Opened 5 years ago Closed 5 years ago

[Wayland] Do not try to pause compositor when nsWindow is destroyed

Categories

(Core :: Graphics, enhancement)

Unspecified
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

nsWindow::HideWaylandWindow() could be called under nsWindow::Destroy(). In this case, we do not need to pause compositor. Current code hit assert failure.

It was called like the followig.
(gdb) info stack
#0 0x00007fffe8ee7497 in nsWindow::HideWaylandWindow() (this=0x7fffbe6e5c00)
at /home/sotaro/firefox_bld_dsk/mozilla-central/widget/gtk/nsWindow.cpp:4469
#1 0x00007fffe8ee4fab in nsWindow::NativeShow(bool) (this=0x7fffbe6e5c00, aAction=<optimized out>)
at /home/sotaro/firefox_bld_dsk/mozilla-central/widget/gtk/nsWindow.cpp:4565
#2 0x00007fffe8ee44f2 in nsWindow::Destroy() (this=0x7fffbe6e5c00)
at /home/sotaro/firefox_bld_dsk/mozilla-central/widget/gtk/nsWindow.cpp:716
#3 0x00007fffe8e98e13 in DestroyWidgetRunnable::Run() (this=0x7fffbf9fa160)
at /home/sotaro/firefox_bld_dsk/mozilla-central/view/nsView.cpp:120

Assignee: nobody → sotaro.ikeda.g
Summary: Do not pause compositor when nsWindow is destroyed → [Wayland] Do not pause compositor when nsWindow is destroyed
Blocks: wayland
Blocks: 1597861
OS: Unspecified → Linux
Blocks: 1603835
Summary: [Wayland] Do not pause compositor when nsWindow is destroyed → [Wayland] Do not try to pause compositor when nsWindow is destroyed
Attachment #9115931 - Attachment description: Bug 1603927 - Do not pause compositor when nsWindow is destroyed → Bug 1603927 - Do not try to pause compositor when nsWindow is destroyed
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c18a1b66855c Do not try to pause compositor when nsWindow is destroyed r=stransky
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: