[Wayland] PIP window has no opaque region
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | affected |
People
(Reporter: heftig, Unassigned)
References
(Blocks 2 open bugs)
Details
Picture-in-picture windows are rectangular and have no transparent parts, not even a drop shadow.
Enabling GNOME Shell's opaque region debugging marks Picture-in-Picture windows as potentially transparent (tinted purple). However, given the above, they should get marked entirely opaque (tinted green).
Not having a correct opaque region increases the cost of compositing PIP windows.
Comment 1•1 year ago
|
||
Jan, do you mind to investigate it more?
PIP window should not be transparent:
https://searchfox.org/mozilla-central/rev/907db2c22743f1b24496198b10a3dca4085cfb08/widget/gtk/nsWindow.cpp#5946
so I wonder where the transparency come from. May it be related to utility window type?
https://searchfox.org/mozilla-central/rev/907db2c22743f1b24496198b10a3dca4085cfb08/widget/gtk/nsWindow.cpp#5997
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
Disabling widget.transparent-windows
fixes PIP windows but breaks popup menus. Since this just affects the app-paintable
property, it looks like we're seeing GtkWindow's default opaque region.
Description
•