Bug 163427 - [GTK] Apps using WebKit can not re-show after hiding on wayland
Summary: [GTK] Apps using WebKit can not re-show after hiding on wayland
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-13 19:55 PDT by Trinh Anh Ngoc
Modified: 2017-01-18 06:30 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trinh Anh Ngoc 2016-10-13 19:55:31 PDT
WebKit2Gtk 2.14.1
GNOME 3.22 Wayland
Archlinux

Open any app using WebKit, e.g. devhelp, yelp. Then, open GtkInspector, toggle visible property of window. On xorg, the window re-show normally. On wayland, nothing happens.
Comment 1 Trinh Anh Ngoc 2016-12-03 05:02:51 PST
backtrace:

#0  0x00007fffeff0a0eb in  () at /usr/lib/libEGL.so.1
#1  0x00007fffeff0a603 in  () at /usr/lib/libEGL.so.1
#2  0x00007fff87a830ea in  () at /usr/lib/xorg/modules/dri/i965_dri.so
#3  0x00007fff87a83621 in  () at /usr/lib/xorg/modules/dri/i965_dri.so
#4  0x00007fff87a84608 in  () at /usr/lib/xorg/modules/dri/i965_dri.so
#5  0x00007fff8785a17a in  () at /usr/lib/xorg/modules/dri/i965_dri.so
#6  0x00007ffff3b767ca in  () at /usr/lib/libgdk-3.so.0
#7  0x00007ffff3b76c36 in  () at /usr/lib/libgdk-3.so.0
#8  0x00007ffff3b77bd9 in gdk_cairo_draw_from_gl () at /usr/lib/libgdk-3.so.0
#9  0x00007ffff4ef97fd in  () at /usr/lib/libwebkit2gtk-4.0.so.37
#10 0x00007ffff4edfdc0 in  () at /usr/lib/libwebkit2gtk-4.0.so.37
#11 0x00007ffff41b96bb in  () at /usr/lib/libgtk-3.so.0
#12 0x00007ffff3f9d4a0 in gtk_container_propagate_draw ()
    at /usr/lib/libgtk-3.so.0
#13 0x00007ffff3f9d582 in  () at /usr/lib/libgtk-3.so.0
#14 0x00007ffff3f4f844 in  () at /usr/lib/libgtk-3.so.0
#15 0x00007ffff3fa24dd in  () at /usr/lib/libgtk-3.so.0
#16 0x00007ffff3fa7320 in  () at /usr/lib/libgtk-3.so.0
#17 0x00007ffff3f522a1 in  () at /usr/lib/libgtk-3.so.0
#18 0x00007ffff41b96bb in  () at /usr/lib/libgtk-3.so.0
#19 0x00007ffff3f9d4a0 in gtk_container_propagate_draw ()
    at /usr/lib/libgtk-3.so.0
#20 0x00007ffff408dd9a in  () at /usr/lib/libgtk-3.so.0
Comment 2 Trinh Anh Ngoc 2016-12-03 05:22:10 PST
Seem to relate to bug 163427. Disable compositing mode with WEBKIT_DISABLE_COMPOSITING_MODE=1 works.
Comment 3 Michael Catanzaro 2016-12-03 08:21:07 PST
(In reply to comment #2)
> Seem to relate to bug 163427. Disable compositing mode with
> WEBKIT_DISABLE_COMPOSITING_MODE=1 works.

Then it's probably https://bugzilla.gnome.org/show_bug.cgi?id=769835, please watch that bug in GNOME Bugzilla.
Comment 4 Michael Catanzaro 2016-12-03 08:21:50 PST
(In reply to comment #3)
> (In reply to comment #2)
> > Seem to relate to bug 163427. Disable compositing mode with
> > WEBKIT_DISABLE_COMPOSITING_MODE=1 works.
> 
> Then it's probably https://bugzilla.gnome.org/show_bug.cgi?id=769835, please
> watch that bug in GNOME Bugzilla.

Once that bug gets fixed, please test with a new version of GTK+ with that fix. If it's still broken, then we can reopen this issue.
Comment 5 Trinh Anh Ngoc 2017-01-18 02:51:09 PST
This issue still exists with gtk+ 3.22.7.
Comment 6 Michael Catanzaro 2017-01-18 06:30:52 PST
Um, I guess I read the bug name and not the actual description, sorry. This must indeed be a WebKit bug.