Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
6.09k stars 170 forks source link

[Bug]: Videos do not properly fullscreen with fractional scaling. #1298

Open ShinyGil opened 4 months ago

ShinyGil commented 4 months ago

Pre-Submission Checklist

Bug Summary

When using Floorp with my display scaled at 125%, when I fullscreen a video, instead of fullscreening the video instead goes into the corner at the same size and the rest of the screen becomes grey. Does not occur on 100% scaling. Firefox ESR 115.13 does not have the issue on 125%.

Reproduction Steps

  1. Set display to 125%
  2. Go to YouTube
  3. Open a video
  4. Fullscreen the video

Expected Behavior

The video becomes fullscreen as it would in other browsers, with no grey borders.

Actual Behavior

Video does not fullscreen and instead goes into the top left corner, surrounded by grey borders.

Screenshots

Screenshot_20240731_230747

Browser Version

11.18.1

Operating System

Fedora 40, EndeavourOS (Arch)

Additional Context

This was the output from running Floorp in a terminal window:


console.log: "add window"
console.error: ({})
console.log: ({initialized:true})
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.
JavaScript warning: https://www.google.com/js/th/wQkdmVX08K_HD_9NHn0QjGfgu04J0GwVvAmYELAxlpM.js line 2 > eval line 7097 > eval line 1 > eval line 1 > eval, line 1: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.
ShinyGil commented 3 months ago

Commenting simply to add the issue is still present in Floorp 11.16.

surapunoyousei commented 3 months ago

now, Floorp is based on ESR128. This issue maybe fixed

ShinyGil commented 3 months ago

now, Floorp is based on ESR128. This issue maybe fixed

Floorp 11.17.3, issue still persists unfortunately.

beastschiss commented 2 months ago

bug is still present 11.18.1

ShinyGil commented 2 months ago

bug is still present 11.18.1

I can also confirm this.

@surapunoyousei This issue is still present on all versions since the issue was made, and I have also confirmed it happens on Arch as well. I have updated the issue post to reflect the new version of Floorp and the other OS I have seen this behavior on.

surapunoyousei commented 2 months ago

I don't use Linux so I can't fix this, but would welcome a patch!

Thesola10 commented 2 months ago

Have you tried setting widget.wayland.fractional-scale.enabled to false to use downscaled integer scaling? This could help narrow the issue down to the Wayland fractional scale protocol.

ShinyGil commented 2 months ago

Have you tried setting widget.wayland.fractional-scale.enabled to false to use downscaled integer scaling? This could help narrow the issue down to the Wayland fractional scale protocol.

It is on false. image

ShinyGil commented 2 months ago

@Thesola10 You were onto something though, setting it to true solves it! Previously it didn't when I tried so I had set it back to false.

ShinyGil commented 2 months ago

@Thesola10 You were onto something though, setting it to true solves it! Previously it didn't when I tried so I had set it back to false.

New issue however...enabling that flag makes the right click context menu unusable. image

Sridou commented 1 month ago

For what it's worth, I can confirm that this problem only occurs when using Lepton UI mode. It works as intended in default Firefox Proton UI and Floorp Fluerial UI. I can also confirm that using the official Lepton UI in Vanilla Firefox using their arch install script causes the same issue when fullscreening in fullscreen mode [F11] . I don't know how to cross reference issues in Github, as still newbie [I'll learn soon], so it would be helpful if someone could follow on this.

ShinyGil commented 1 month ago

For what it's worth, I can confirm that this problem only occurs when using Lepton UI mode. It works as intended in default Firefox Proton UI and Floorp Fluerial UI. I can also confirm that using the official Lepton UI in Vanilla Firefox using their arch install script causes the same issue when fullscreening in fullscreen mode [F11] . I don't know how to cross reference issues in Github, as still newbie [I'll learn soon], so it would be helpful if someone could follow on this.

You're right! It's Lepton! Agh, that is such a shame, Lepton is my favorite. If no one has opened an issue with them, I will as soon as possible.