Open Bug 2053000 Opened 1 month ago Updated 1 month ago

[macOS] Option to lay out tabs in the "ears" beside the notch in fullscreen

Categories

(Core :: Widget: Cocoa, enhancement)

enhancement

Tracking

()

People

(Reporter: spohl, Unassigned)

References

Details

Follow-up to bug 1737953. That bug opts macOS out of NSPrefersDisplaySafeAreaCompatibilityMode and, in fullscreen, pushes the whole #navigator-toolbox below the camera housing (notch) with padding-top: env(safe-area-inset-top). This keeps the tabs out from under the notch, but it leaves the space to the left and right of the notch (the "ears") unused, filled only with toolbar chrome.

A more space-efficient option would be to lay the tabs out in those ears in fullscreen instead of reserving the full-width strip. This would likely need a way to know the notch's horizontal extent and position (today only env(safe-area-inset-top) is exposed, which is a single top margin), plus careful handling of the tab strip's overflow and dragging behavior around the notch gap.

Filing as a follow-up so it can be considered separately from the letterboxing fix in bug 1737953.

On more recent versions of macOS, apps no longer seem to draw into the area with the notch. Helena, do you happen to have a MacBook with a camera notch? Would you be able to test when apps stopped drawing into that area? The easiest way to test this is probably to place Safari on different version of macOS into fullscreen and seeing if the strip with the camera notch is black, or if Safari draws into it.

Flags: needinfo?(hballent)

I have moved the testing request to bug 1737953. I'll cancel the n-i here until we know whether or not this bug is still necessary.

Flags: needinfo?(hballent)
You need to log in before you can comment on or make changes to this bug.