Description of the issue:
On Linux, when making a video fullscreen from a maximized window state on the secondary monitor, the content of the video is resized incorrectly. The video either doesn’t cover the entire monitor or overflows the monitor with only its bottom-left Play/Next/etc buttons left visible on Youtube, for example.
How can this issue be reproduced?
- Use 2 different monitors with different resolutions and scaling factors.
- Maximize the browser window on the secondary monitor and navigate to video content website.
- Play the video and go full screen from the video’s controls.
The video shows in full screen scaled to fit the monitor.
Brave Version( check
Version 1.18.70 Chromium: 87.0.4280.101 (Official Build) (64-bit)
Also reported with screenshots here: https://github.com/brave/brave-browser/issues/9296
Monitors have different resolutions and scaling factors (fractional), only happens on whichever monitor is set as secondary and only from the maximized window state. If the window is floating and resized to be smaller than the monitor, going fullscreen works as expected.
I think that the bug was briefly solved between April and November, but I don’t remember which version it was.
OS: elementary OS 5.1.7 Hera, Linux 5.4.0-58-generic, GTK 3.22.30
GPU: NVIDIA GTX 1080Ti, GP102, many driver versions