Fullscreen videos not filling the entire screen (visible top and left margins/desktop wallpaper)
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
People
(Reporter: kevinszarafin, Unassigned, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0
Steps to reproduce:
I start Firefox normally and go to youtube.com, click on any video, press f to fullscreen it (or the button for fullscreen), video is shown in fullscreen but has weird edges
Actual results:
The Video was shown in fullscreen but had these tiny edges showing my pc background.
Expected results:
Fullscreen without the 2mm border arround the 2 edges
| Comment hidden (obsolete) |
| Reporter | ||
Comment 2•1 year ago
|
||
| Reporter | ||
Comment 3•1 year ago
|
||
I've attached a new image where it shows the border on the top and on the left
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Can you try running in troubleshooting mode, to see if this is maybe due to a misbehaving extension (maybe 7TV), etc? To run in troubleshooting mode, in the Firefox menu choose Help > Troubleshooting Mode and then click Restart. Let us know what you find.
Updated•1 year ago
|
| Reporter | ||
Comment 5•1 year ago
|
||
Hi, in Troubleshooting Mode they borders are gone. When i restart firefox and exit the Mode i think they come back. even when i have no extensions installed.
| Reporter | ||
Comment 6•1 year ago
|
||
Also i dont know if that helps, when i have these borders and exit fullscreen and reenter fullscreen they disappear
| Reporter | ||
Comment 7•1 year ago
|
||
I have Changed layers.acceleration.force-enabled option to true in the about:config and that seems to have resolved the issue. I will do some testing and let you know later.
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Thanks Kevin, that's actually probably the crux of the issue (but not everything -- see below). It looks like you have turned off acceleration previously and that the force-enabled pref is overriding the disabled pref. From your about:support:
HW_COMPOSITING:
default: available,
user: disabled, Disabled by layers.acceleration.disabled=true, Blockiert; Fehlercode FEATURE_FAILURE_COMP_PREF
layers.acceleration.disabled was probably part of the issue, although it uses the same behavior in troubleshooting mode, which you mention does not have the bug. (I also do not see the bug with that pref set.) It should work regardless but this is not the normal setup. If we need to go further, we'll have to bisect the differences with troubleshooting mode to see if we can see what it's doing differently, but that wouldn't be easy to do.
Comment 11•1 year ago
|
||
Given the other bugs, it seems probable that this is due to the user disabling HW acceleration. Moving to graphics.
Comment 12•1 year ago
|
||
yes, switching off the HW acceleration causes this bug. But it is sometimes necessary if you need to use screen capture software.
And indeed going from full screen to normal and then back to full screen solves the problem if you are working with disabled HW acceleration.
| Comment hidden (advocacy) |
Comment 15•1 year ago
|
||
The severity field is not set for this bug.
:bhood, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 16•1 year ago
|
||
The severity field is not set for this bug.
:bhood, could you have a look please?
For more information, please visit BugBot documentation.
Comment 22•1 year ago
|
||
bhood has over 100 pending needinfo requests. Can you please ask someone else to look into this bug? People keep creating forum threads about it and submitting duplicate reports.
Updated•1 year ago
|
Comment 27•1 year ago
|
||
This is an old bug that's existed when running firefox in 'software mode'. I've even posted about it.
The way we used to get around this was by pressing F11 (or click fullscreen) twice. The first time would be exactly like the image OP included, the second time would be properly fullscreen. Since a recent update, the issue persists even after multiple F11 keypresses.
I ran Mozregression and found that the dates where this new behaviour started occuring was Oct5->Oct6. Mozregression spit out this url:
https://phabricator.services.mozilla.com/D267040
After reading the diff, I found that if I set:
widget.windows.windowsappsdk.enabled == false.
I can now press F11 **once ** and it's actually fullscreen!
Comment 28•1 year ago
|
||
Thanks for the investigation!
If that is a workaround, it’s possible that bug 1993474 will fix this.
| Comment hidden (me-too) |
Comment 31•1 year ago
|
||
I’m still seeing this issue in the current build as well.
Behavior:
The fullscreen video border/misalignment problem only happens when the main Firefox window is maximized (the square icon between the close “X” and minimize “_”).
If Firefox is not maximized (just in normal window mode), fullscreen videos render correctly with no border issues.
This only happens if Hardware Acceleration is turned off, which is unfortunately necessary, because watching videos in Firefox with it enabled, while playing certain games (e.g. Final Fantasy XIV), causes insane stutters in video playback.
Workaround:
If I start Firefox in normal windowed mode, enter fullscreen on a video (works correctly), and then maximize the Firefox window afterward, fullscreen video continues to behave normally. The issue only appears when trying to enter fullscreen video while Firefox is already maximized.
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
| Comment hidden (off-topic) |
Comment 42•11 months ago
|
||
(In reply to frtz45 from comment #37)
(In reply to CrasH_CTB from comment #36)
(In reply to frtz45 from comment #35)
(In reply to frtz45 from comment #12)
yes, switching off the HW acceleration causes this bug. But it is sometimes necessary if you need to use screen capture software.
And indeed going from full screen to normal and then back to full screen solves the problem if you are working with disabled HW acceleration.and this workaround (going from full screen to normal and then back to full screen) doesn't work anymore either in Firefox.
For me I have to full screen video once BUT firefox window cant be maximized while I do that. Than it works fine.
yeah, that used to work for me, but not any more.
I think it is rather strange that this issue isn't resolved a long time ago and that Librewolf, which is a derivative of Firefox, doesn't have this bug.
yeah the only workaround is to open about:config and set:
widget.windows.windowsappsdk.enabled == false
It won't 'fix' the issue but at least with this flag you can go back to fullscreen-ing twice without the strange border. It is a little frustrating that we're yeeeears into this bug and it's not been resolved.
| Comment hidden (off-topic) |
Comment 44•9 months ago
|
||
Since this issue still hasn't been resolved, I've now switched completely to Librewolf. What I don't understand is why Mozilla can't resolve this issue. Librewolf is based on Firefox. It shouldn't be that difficult to compare the two to see what Librewolf does differently from Firefox...
Updated•9 months ago
|
Comment 45•9 months ago
|
||
Are people still able to reproduce the issue in Firefox 147?
Comment 46•9 months ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #45)
Are people still able to reproduce the issue in Firefox 147?
Yes. This is still a problem in 147.
Comment 47•9 months ago
|
||
Greg, this still appears not to be fixed. What are the next steps here?
Comment 48•9 months ago
|
||
Sigh, I'm unable to reproduce this still. :handyman, have you been able to?
Comment 49•9 months ago
|
||
Is there any logging I can do that might help?
Comment 50•9 months ago
|
||
Thanks, Chris, it's a long shot but it might help if you turn on the Widget log. You can do this in about:logging. Under "New log modules", enter "timestamp,sync,Widget:5" (no quotes) and click "set log modules". Also click "enable stack traces for log messages". You can then record a profile, (which will include the log messages) by pressing Ctrl+Shift+1 to start the profile, then reproduce the bug, and then Ctrl+Shift+2 to stop it. When that's done, click "Upload local profile" in the profile tab that opens (upper-left) and copy the URL that it gives you into a post here. Thanks for the help!
I'm unable to reproduce this on multiple single or dual monitor configurations, regardless of display dimensions/DPI, or fullscreen mode (e.g. fullscreen from page, which was the original bug, vs pressing F11).
Comment 51•9 months ago
|
||
(In reply to David Parks [:handyman] from comment #50)
Thanks, Chris, it's a long shot but it might help if you turn on the Widget log. You can do this in about:logging. Under "New log modules", enter "timestamp,sync,Widget:5" (no quotes) and click "set log modules". Also click "enable stack traces for log messages". You can then record a profile, (which will include the log messages) by pressing Ctrl+Shift+1 to start the profile, then reproduce the bug, and then Ctrl+Shift+2 to stop it. When that's done, click "Upload local profile" in the profile tab that opens (upper-left) and copy the URL that it gives you into a post here. Thanks for the help!
I'm unable to reproduce this on multiple single or dual monitor configurations, regardless of display dimensions/DPI, or fullscreen mode (e.g. fullscreen from page, which was the original bug, vs pressing F11).
Sorry, I couldn't get to this last night. I took on some dev responsibilities at work and our code is 20 year old spaghetti, built on an even older stack but I digress.
I'll run this tonight and post the results. I do run:
widget.windows.windowsappsdk.enabled == false
should I turn this back on for testing/logging?
Comment 52•9 months ago
|
||
I'm unable to reproduce this on multiple single or dual monitor configurations, regardless of display dimensions/DPI, or fullscreen mode (e.g. fullscreen from page, which was the original bug, vs pressing F11).
I forgot to mention this. This bug ONLY occurs when hardware acceleration is turned off. Further, I suspect part of the problem set is 2 monitors with different DPI's, based on the many, many people reporting this. So you might want to match that config for your own testing.
Comment 53•9 months ago
|
||
I can confirm that. I also have two monitors, but the second one is usually turned off, and this happens even with one monitor on.
And yes, I don't have hardware acceleration enabled.
But I still find it strange that Firefox has this issue and Librewolf doesn't.
Comment 54•9 months ago
|
||
Many thanks both. I was indeed running with layers.acceleration.disabled=true but no luck.
(In reply to Chris Humber from comment #51)
I'll run this tonight and post the results. I do run:
widget.windows.windowsappsdk.enabled == false
should I turn this back on for testing/logging?
Yes, you'll need that to get the failure log. There are some error messages that I'm hoping to see since that would explain things, but I'm a bit skeptical they will be there.
Comment 55•9 months ago
|
||
(In reply to David Parks [:handyman] from comment #54)
Many thanks both. I was indeed running with layers.acceleration.disabled=true but no luck.
(In reply to Chris Humber from comment #51)
I'll run this tonight and post the results. I do run:
widget.windows.windowsappsdk.enabled == false
should I turn this back on for testing/logging?
Yes, you'll need that to get the failure log. There are some error messages that I'm hoping to see since that would explain things, but I'm a bit skeptical they will be there.
Oh boy. I'm confused. I spend a couple hours trying to figure this out.
Randomly while I was testing, the issue completely went away. I don't understand why, or what changed but it disappeared, so I don't know there. Hopefully it stays that way?
Good news (?) though, I was able to reproduce the issue on a brand new empty profile and ran your logs there. I ran 2 sets, 1 was exactly what you asked for:
timestamp,sync,Widget:5
But I also ran:
timestamp,sync,Widget:5,BaseWidget:5,WindowsEvent:5,TaskbarConcealer:5
Just in case it had value.
Now I could also get the bug to 'disappear' if I added a theme. I didn't believe it so I recorded a video so you can see for yourselves:
https://youtu.be/MLozTgM1JmY
I diffed prefs.js in both, and there didn't appear to be meaningful changes, besides some obvious theme things, most notably: browser.uiCustomization.state. changing this did nothing to resolve.
Comment 56•9 months ago
|
||
I wasn't sure how those logs worked, so here are the logfiles in case it helps:
timestamp,sync,Widget:5
https://drive.google.com/file/d/1YTRxlmnfQAvd6sjn3JTvixMje9_FkzdN/view?usp=sharing
timestamp,sync,Widget:5,BaseWidget:5,WindowsEvent:5,TaskbarConcealer:5
https://drive.google.com/file/d/1CR2ZhWdUXuKbqINFoOzflZG7ITncZswh/view?usp=sharing
Comment 57•9 months ago
|
||
Thanks for the effort, Chris. This does help, but unfortunately I'll need you to try it again. The errors I was looking for weren't present in the log I asked for but the timestamp,sync,Widget:5,BaseWidget:5,WindowsEvent:5,TaskbarConcealer:5 one shows some unexpected fullscreening behavior. Unfortunately, you only got the log, not the profile, so it's missing a lot of the information we need to figure this out. You must have taken some effort to get the pdfs, which were helpful, because the profiler links were local to your machine so they don't show anything here. If you can (and the issue reproduces), can you try again with the profiler instructions below (from comment 50 but with your expanded log list). Note the part about uploading your profile -- that's all that you were missing. You'll be able to see the log messages there, under "Marker Table". You won't need to do anything like making the pdfs.
You can do this in about:logging. Under "New log modules", enter "timestamp,sync,Widget:5,BaseWidget:5,WindowsEvent:5,TaskbarConcealer:5" (no quotes) and click "set log modules". Also click "enable stack traces for log messages". You can then record a profile, (which will include the log messages) by pressing Ctrl+Shift+1 to start the profile, then reproduce the bug, and then Ctrl+Shift+2 to stop it. When that's done, click "Upload local profile" in the profile tab that opens (upper-left) and copy the URL that it gives you into a post here.
Comment 58•9 months ago
|
||
(In reply to David Parks [:handyman] from comment #57)
Thanks for the effort, Chris. This does help, but unfortunately I'll need you to try it again. The errors I was looking for weren't present in the log I asked for but the
timestamp,sync,Widget:5,BaseWidget:5,WindowsEvent:5,TaskbarConcealer:5one shows some unexpected fullscreening behavior. Unfortunately, you only got the log, not the profile, so it's missing a lot of the information we need to figure this out. You must have taken some effort to get the pdfs, which were helpful, because the profiler links were local to your machine so they don't show anything here. If you can (and the issue reproduces), can you try again with the profiler instructions below (from comment 50 but with your expanded log list). Note the part about uploading your profile -- that's all that you were missing. You'll be able to see the log messages there, under "Marker Table". You won't need to do anything like making the pdfs.You can do this in about:logging. Under "New log modules", enter "timestamp,sync,Widget:5,BaseWidget:5,WindowsEvent:5,TaskbarConcealer:5" (no quotes) and click "set log modules". Also click "enable stack traces for log messages". You can then record a profile, (which will include the log messages) by pressing Ctrl+Shift+1 to start the profile, then reproduce the bug, and then Ctrl+Shift+2 to stop it. When that's done, click "Upload local profile" in the profile tab that opens (upper-left) and copy the URL that it gives you into a post here.
Oh geez, i'm sorry. I definitely skipped a step there.
I can reproduce the issue at any time, it's just laborious. I won't be able to get to this for a few hours though. Sorry for the delay, Apologies.
Comment 59•9 months ago
|
||
No worries. Thanks for being so patient with this!
Comment 60•9 months ago
|
||
(In reply to David Parks [:handyman] from comment #59)
No worries. Thanks for being so patient with this!
https://share.firefox.dev/3O3Gepc
I cycled F11 a couple times there. If you'd like anything else, truly, don't hesitate to ask. Happy to help! :D
Comment 61•9 months ago
|
||
(In reply to David Parks [:handyman] from comment #59)
No worries. Thanks for being so patient with this!
and 1 more with a single fullscreen so the data is less noisy, maybe?
Comment 62•9 months ago
|
||
And apparently fullscreen working normally was very short lived. My regular profile is back to the way it was. I have to leave widget.windows.windowsappsdk.enabled == false and press f11 twice again.
Comment 63•9 months ago
|
||
Previously, you could get rid of the border by enlarging the movie clip (edge visible), then making it small again, and then enlarging it again. Then the edge would disappear. Now you always have the border, no matter what you do.
Comment 64•9 months ago
|
||
(In reply to frtz45 from comment #63)
Previously, you could get rid of the border by enlarging the movie clip (edge visible), then making it small again, and then enlarging it again. Then the edge would disappear. Now you always have the border, no matter what you do.
Yeah, I also don't understand why it was marked 'unconfirmed'. Multiple people are still complaining about this issue, there are screenshots. I posted of whats happening in the comments above. Im not sure that 'unconfirmed' is the right thing to have done. Maybe librewolf is the play here?
Comment 65•9 months ago
|
||
(In reply to Chris Humber from comment #64)
Yeah, I also don't understand why it was marked 'unconfirmed'. Multiple people are still complaining about this issue, there are screenshots. I posted of whats happening in the comments above. Im not sure that 'unconfirmed' is the right thing to have done. Maybe librewolf is the play here?
Yes, I am using Librewolf now, except for online banking. My bank does not accept Librewolf as a browser.
And I don't know a lot of these things, but is it very difficult to compare Librewolf with Firefox, just to find out what goes wrong in Firefox?
Updated•9 months ago
|
Comment 66•9 months ago
|
||
Set release status flags based on info from the regressing bug 1947324
Updated•9 months ago
|
Updated•9 months ago
|
Comment 67•9 months ago
|
||
Set release status flags based on info from the regressing bug 1947324
Updated•8 months ago
|
Updated•8 months ago
|
Updated•8 months ago
|
Updated•7 months ago
|
Description
•