glimagesink is not answering xdg_wm_base pings
When running a pipeline using glimagesink (1.16.0) under wayland the element is not answering xdg_wm_base ping requests and compositors/window managers like mutter show the "window is not responding dialog"
This is a wayland protocol dump from a gtk application filtered by wm_base:
[fer@martini wlanalyzer]$ /usr/local/bin/wldumper -n 7777 -- eog &
[fer@martini wlanalyzer]$ /usr/local/bin/wlanalyzer -c /usr/share/wayland/wayland.xml -e /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml -- 127.0.0.1:7777 2>&1| grep base
interface: xdg_wm_base version: 2
Found new name 9->xdg_wm_base
wl_registry.bind(9, "xdg_wm_base", 1, new id@21)
xdg_wm_base@21.get_xdg_surface@2()
Found new name 9->xdg_wm_base
xdg_wm_base@21.ping@0()
xdg_wm_base@21.pong@3()
xdg_wm_base@21.ping@0()
xdg_wm_base@21.pong@3()
Same process with gst-launch-1.0 using glimagesink:
[fer@martini wlanalyzer]$ echo "gst-launch-1.0 videotestsrc ! glimagesink" > c.sh && chmod 755 c.sh
[fer@martini wlanalyzer]$ /usr/local/bin/wldumper -n 7777 -- ./c.sh &
[fer@martini wlanalyzer]$ /usr/local/bin/wlanalyzer -c /usr/share/wayland/wayland.xml -e /usr/share/wayland-protocols /stable/xdg-shell/xdg-shell.xml -- 127.0.0.1:7777 2>&1| grep base
interface: xdg_wm_base version: 2
Found new name 9->xdg_wm_base
wl_registry.bind(9, "xdg_wm_base", 2, new id@6)
Found new name 9->xdg_wm_base
xdg_wm_base@6.get_xdg_surface@2()
xdg_wm_base@6.ping@0()
xdg_wm_base@6.ping@0()
xdg_wm_base@6.ping@0()
xdg_wm_base@6.ping@0()
xdg_wm_base@6.ping@0()
As the pings are not answered the delete dialog is shown