Open Bug 997548 Opened 11 years ago Updated 2 years ago

requestFullScreen mode shows menu bar when cursor moves to top of screen on OSX

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: lstowasser, Unassigned)

Details

(Whiteboard: [games:p?])

No hot-corners or hot-edges. The browser can't intrude on the game experience if the mouse cursor hits the top of the screen. I believe Chrome and Firefox currently both drop down the URL bar when this happens
Whiteboard: [games:p?]
(In reply to Louis Stowasser [:louisstow] from comment #0) > No hot-corners or hot-edges. The browser can't intrude on the game > experience if the mouse cursor hits the top of the screen. I believe Chrome > and Firefox currently both drop down the URL bar when this happens Firefox doesn't drop the URL bar down when you're in fullscreen mode (not F11 fullscreen, but actually requestFullScreen()). So this should already work fine, modulo bug 997537 with multiple monitors.
Ah so this is is an OSX specific problem where fullscreen is broken if the cursor goes to the top of the screen.
Component: Shell Integration → DOM
Product: Firefox → Core
Summary: No hot edges in Fullscreen mode → requestFullScreen mode shows menu bar when cursor moves to top of screen on OSX
Here is a video that shows issues in Fullscreen on OSX: https://www.dropbox.com/s/0bkdx71ir0yhw88/firefox%20osx%20edges.mov
Doesn't sound like a DOM issue but Widget level or toolkit/firefox.
This is just how fullscreen mode works on OS X. This isn't a bug, it's a feature :-)
With element mouse capturing (as proposed in bug 997544) we could turn off hot edges as long as the mouse is captured to any element.
(Following up comment #5) There may be a way to turn off this "feature" -- it if exists it'll be OS-specific and probably undocumented. But before I look for one I'd need at least one example of a Mac app that uses native fullscreen mode and *doesn't* show the menubar when you mouse over where it's normally displayed.
> No hot-corners or hot-edges. What exactly are you referring to here? Something OS-specific?
(In reply to Steven Michaud from comment #7) > (Following up comment #5) > > There may be a way to turn off this "feature" Maybe [NSApp setPresentationOptions:NSApplicationPresentationHideMenuBar | ...] can do it? > But before I look for one I'd need > at least one example of a Mac app that uses native fullscreen mode and > *doesn't* show the menubar when you mouse over where it's normally displayed. Antichamber is an example, though it also uses pointer lock, so maybe the invisible mouse pointer can never really touch the top edge of the screen. Anyway, that's not really the point - games need the ability to turn off the menu bar, and we should give them that option. If that means using "non-native" fullscreen for them, then I think that's what we should do. (In reply to Steven Michaud from comment #8) > > No hot-corners or hot-edges. > > What exactly are you referring to here? Something OS-specific? Different OSes have different behaviors in the corners or at the edges. This bug asks for an option to disable all of them. On Mac that's just the menubar hot edge at the top.
(In reply to comment #9) > If that means using "non-native" fullscreen for them, then I think > that's what we should do. I don't have any objection to this. But people will need to understand what it means. In particular they'll need to be able to do without any other native-fullscreen-specific features (whatever they might be). >> There may be a way to turn off this "feature" > > Maybe [NSApp > setPresentationOptions:NSApplicationPresentationHideMenuBar | ...] > can do it? This'd be worth looking into, if people feel the need.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.