Closed Bug 1584790 Opened 6 years ago Closed 6 years ago

[PIP/Linux] White strips are drawn by video side in CSD mode

Categories

(Core :: Widget: Gtk, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

Details

Attachments

(1 file)

When PIP window has a wrong size white strips are painted by video.

We can't entirely avoid the situation when the white strips are painted, for instance when window manager resizes the window in tilling mode, but we can draw black background there at least.

The white strips are painted by compositor, not by Gtk.

Summary: [PIP/Linux] Don't draw white window background → [PIP/Linux] Don't draw white strips by video side

There's an issue with CSD client decorations - aspect ratio for window lock is not calculated accurately. It's visible under Wayland and when CSD mode is used in X11.

Summary: [PIP/Linux] Don't draw white strips by video side → [PIP/Linux] White strips are drawn by video side in CSD mode
Assignee: nobody → stransky
Priority: -- → P2

That's Gtk CSD error and we can only workaround it.

This is only partial fix and works when PIP window is not radically resized. For proper fix we need to wait to https://gitlab.gnome.org/GNOME/gtk/issues/2189

Keywords: checkin-needed

Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3d0ff856543c
[Linux] De-scale window size when calculating aspect ratio, r=jhorak

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: