Open Bug 1563947 Opened 6 years ago Updated 1 year ago

[meta] Improve Fullscreen API with native full screen

Categories

(Core :: Widget: Cocoa, enhancement, P2)

Unspecified
macOS
enhancement

Tracking

()

Tracking Status
firefox69 --- affected

People

(Reporter: xidorn, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: meta, Whiteboard: [mac:fullscreen:native-affected][mac:mr1])

In bug 1403085, I'm (re)adding the ability to use native macOS full screen mechanism for the Fullscreen API, behind a pref. With that pref enabled, the Fullscreen API would work in a similar way as Chrome on macOS, i.e. immediately enter expand the current window to full screen.

Ideally, we should implement Safari's behavior where the element to full screen expands to the full screen in a separate layer, and the original window keeps working with other tabs usable.

This requires creating a new window to hold the full screen page. I'm not sure what's the best way to do this efficiently under Firefox's architecture.

I'm curious if we should enable this on Nightly to gather feedback. I'm thinking that switching to native full screen in its current form might still constitute an improvement over our current fullscreen implementation and we could then work on improving the transition in a followup bug. What is your opinion?

Flags: needinfo?(xidorn+moz)

As I'm not actively using macOS for personal use, thus not using fullscreen a lot there, so I'm not sure.

But I'm not against doing that. If you want, I can submit a patch to enable it on nightly for now.

Flags: needinfo?(xidorn+moz) → needinfo?(spohl.mozilla.bugs)

Let's do it! I will keep an eye on incoming bugs.

Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(xidorn+moz)
Depends on: 1631735

Filed bug 1631735 for that. Cancelling my ni? here. Will investigate this weekend hopefully.

Flags: needinfo?(xidorn+moz)
Severity: normal → S2
Priority: P5 → P2
Whiteboard: [mac:fullscreen]
Whiteboard: [mac:fullscreen] → [mac:fullscreen][mac:mr1]
Depends on: 1699666
Whiteboard: [mac:fullscreen][mac:mr1] → [mac:fullscreen:native-affected][mac:mr1]
OS: Unspecified → macOS

(In reply to Stephen A Pohl [:spohl] from comment #3)

Let's do it! I will keep an eye on incoming bugs.

What's the status of this now that bug 1631735 has been fixed? Should we still consider this S2?

Adding missing needinfo.

Flags: needinfo?(spohl.mozilla.bugs)

Brad has been working on this and is best positioned to answer this.

Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(bwerth)

We probably have working macOS native fullscreen, but we shouldn't close this Bug yet. We are still working through problems with our fullscreen tests in Bug 1826645 and its regressions, and we haven't flipped the pref on by default yet, which is Bug 1802193. Once all those are done, and we've had time to evaluate the user impact of the pref flip, we can call this resolved.

Depends on: 1826645, 1802193
Flags: needinfo?(bwerth)
Severity: S2 → S3
Depends on: 1839425, 1850692
Duplicate of this bug: 1849514
Depends on: 1862223
No longer duplicate of this bug: 1849514
Duplicate of this bug: 1883744
Duplicate of this bug: 1884537
No longer duplicate of this bug: 1644031
No longer duplicate of this bug: 1883744
No longer duplicate of this bug: 1884537
Keywords: meta
Summary: Improve Fullscreen API with native full screen → [meta] Improve Fullscreen API with native full screen
Depends on: CVE-2024-11698
You need to log in before you can comment on or make changes to this bug.