Closed Bug 806095 Opened 12 years ago Closed 9 years ago

Using JavaScript fullscreen API (mozRequestFullScreen) leaves part of the upper UI visible

Categories

(Core :: Audio/Video, defect)

20 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mgol, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0
Build ID: 20121023124120

Steps to reproduce:

1) I went to http://youtube.com/html5 and joined the HTML5 trial
2) I went to http://www.youtube.com/watch?v=JGPO9-7dJZA (or any other HTML5-enabled video on YouTube).
3) I clicked the fullscreen button (on the bottom-right of the video player).


Actual results:

Firefox went into the Lion-native fullscreen mode with part of the upper UI visible (see screenshot).


Expected results:

If Firefox plans to keep using native Lion's fullscreen view for such things, it shouldn't leave parts of UI visible.
Hardware: x86 → x86_64
See Also: → 806093
I experience the bug in safe mode, too. Unfortunately, I can't reproduce it in Aurora - is it fixed or are there any other possible causes related to my profile files?
If it occurs in 17 and not in Aurora, then the fix is likely not ported in Beta.

I can see the UI for a second while the video switches to full screen. Is that the same behavior you are seeing or is it more persistent on your side?

I can reproduce this up to Nightly.
It's persistent.
Actually, it's not only HTML5 video fullscreen, it's happening each time I enter fullscreen mode using the JavaScrpipt fullscreen API. I'm attaching a screenshot of what's happening when I click the lower-right button on http://pracowniaedukacji.ee/ which causes the browser to enter the fullscreen mode using this API.
Changing bug's title to reflect my last comment. Also, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=806093#c2
Summary: YouTube HTML5 video fullscreen leaves part of the upper UI visible → JavaScript fullscreen leaves part of the upper UI visible (mozRequestFullScreen)
Summary: JavaScript fullscreen leaves part of the upper UI visible (mozRequestFullScreen) → Using JavaScript fullscreen API (mozRequestFullScreen) leaves part of the upper UI visible
Michał, did you test Aurora (comment 1) using the same profile or a different one?

If the same profile shows better results in Aurora then in Beta, the issue was likely fixed after Beta, and there's no point in keeping this bug open.
Summary: Using JavaScript fullscreen API (mozRequestFullScreen) leaves part of the upper UI visible → [10.8] Using JavaScript fullscreen API (mozRequestFullScreen) leaves part of the upper UI visible
Flags: needinfo?(m.goleb+mozilla)
I tried using new profiles before... I've re-tried copying my default profile first and running Aurora and Nightly on a new profile. The issue exists in Nightly, even though I run this copied profile in safe mode.
Flags: needinfo?(m.goleb+mozilla)
OK, I've nailed it down... The problem exists when I use a non-default motive. I use this one normally:
http://www.getpersonas.com/pl/persona/213203
I've tried with a different profile and the issue appears, too.
I meant, a different motive, not profile (although I've tried on a fresh profile and I was able to reproduce the bug after changing the motive).

Sorry for excessive comments.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:18.0) Gecko/18.0 Firefox/18.0
Build ID: 20121121075611

I can confirm this issue on Firefox 18 beta 1. The bottom part of the navigation bar is left behind while the video is in full screen mode.

Steps to reproduce:
1. Launch Firefox with a new profile
2. Navigate to https://addons.mozilla.org/en-US/firefox/personas/ and install one of the personas
3. Navigate to Youtube and enable html5 trial: http://youtube.com/html5 
4. Play a video of your choice that uses HTML and click on the Full Screen button.

Expected results:
The video properly enters Full Screen.

Actual results:
The bottom part of the navigation bar is left behind while the video is in full screen mode.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: Untriaged → Video/Audio
Product: Firefox → Core
Is the component really video/audio? It happens on every mozRequestFullScreen invocation, not only in HTML5 video.
This probably belongs to either Firefox:Theme or Core:Widget cocoa, see also bug 716450. I see this on 10.7 too.
Summary: [10.8] Using JavaScript fullscreen API (mozRequestFullScreen) leaves part of the upper UI visible → Using JavaScript fullscreen API (mozRequestFullScreen) leaves part of the upper UI visible
Version: 17 Branch → 20 Branch
If this is still an issue -- can you check with latest nightly, now that bug 1071821 is fixed?
I'm no longer on OS X 10.8, I use Yosemite beta (10.10) now. There, I cannot reproduce this issue on nightly but I also can't do it on stable so this might be an OS-related change.

Sorry, I don't have access to OS X 10.8 now to re-test it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: