Closed Bug 1088178 Opened 10 years ago Closed 8 years ago

When in fullscreen mode, the context menu is overlayed by the fullscreen video

Categories

(Firefox OS Graveyard :: Gaia::System::Browser Chrome, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: uiwanted)

This is reproducable on Flame, today's trunk build, using 188 base image.

Steps to reproduce:
- Go to http://people.mozilla.org/~mwargers/tests/videos/atomicplayboy.webm
- Tap on the fullscreen video control button
- The fullscreen permission displays, tap on "Allow"
- Long tap on the video to open the video context dialog

Expected result:
- Video context dialog menu appears

Actual result:
- Video context dialog menu is not visible. Only after you've gone out of fullscreen mode, the video context dialog menu becomes visible.
Confirm I can reproduce this on master.
Depends on: 1047168
Assignee: nobody → yliao
Hi Ben,

I'm thinking we could use document.mozFullscreenEnabled and document.mozFullscreenElement to check if there's any iframe in fullscreen mode. If yes, hide the browser iframe with display:none when the context menu is active. What do think about this approach?
Flags: needinfo?(bfrancis)
That might be OK, although strictly speaking it might be the video element which is fullscreen, not the entire iframe.

Can this be solved by adjusting the z-index of the context menu or does full screen content always appear on top?

Another alternative could be to exit full screen mode, but we should probably ask UX about that.
Flags: needinfo?(bfrancis)
Keywords: uiwanted
Assignee: yliao → nobody
Marking WONFTIX, sorry for the bug spam. If somebody still wants to work on this, please open a new bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.