Cloudef / wlc

High-level Wayland compositor library
MIT License
330 stars 58 forks source link

subsurfaces on chromium #157

Open sharethewisdom opened 8 years ago

sharethewisdom commented 8 years ago

Subsurfaces seem to remain visible only when the chromium window is not active and not full screen. Try right-clicking a webpage to see the context menu. In particular, clicking the menu icon will cause the window to gain focus and the popup to disappear. This used to work before but I lost track of when what happened at which versions. I read @ammen99 's code and comments of the last few months but I didn't understand them enough to provide more useful feedback than this.

4.4.5-1-ARCH
chromium 50.0.2661.75-1
xorg-server-xwayland 1.18.3-1
wlc-git r926.1102ef9-1
orbment-git r501.cddfb20-1
ammen99 commented 8 years ago

@sharethewisdom Are you sure that chromium runs as a wayland program, not under Xwayland? I read that there should be support for wayland in chromium 50, but I haven't been able to start as a native client. If you are sure it is running as wayland client, please tell me how you run it so that I can attempt to fix the bug. If its running under Xwayland, then the bug is not related to subsurfaces, but to the xwm component

sharethewisdom commented 8 years ago

I see... sorry, you're right it's an X client, that's why I listed the xwayland version; I have been switching back and forth between chromium under Xwayland and chromium-wayland a wile ago, but I disliked the build overhead and end up having a fixed outdated version of chromium.