Open Bug 2054999 Opened 6 days ago Updated 4 days ago

Expose macOS tiled state to the front-end.

Categories

(Core :: Widget: Cocoa, task, P3)

task

Tracking

()

ASSIGNED

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Nova wanted this for bug 2038022 but it needs private APIs. Markus argued for not exposing it:

I personally wouldn't bother adding this detection to Firefox. Firefox will be the only app on the entire system that looks different when tiled vs when just positioned + resized. macOS doesn't really have a culture of "edgeless windows" except for actual fullscreen windows. Also, when tiled, all four edges of the window are still resizable, so I wonder if reducing the edge space in tiled mode actually sends the wrong message.

Sam, thoughts?

Flags: needinfo?(sfoster)

Uses a private API but just falls back to false when not found, so not
the end of the world? I haven't found any publicly documented APIs.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

(In reply to Emilio Cobos Álvarez [:emilio] from comment #0)

I personally wouldn't bother adding this detection to Firefox. Firefox will be the only app on the entire system that looks different when tiled vs when just positioned + resized. macOS doesn't really have a culture of "edgeless windows" except for actual fullscreen windows. Also, when tiled, all four edges of the window are still resizable, so I wonder if reducing the edge space in tiled mode actually sends the wrong message.

Agreed that this is lower priority for MacOS. I think we wanted to understand what all the details, pros and cons were and evaluate from there. We could add the backend support and try out adapting on the front-end or hold that as an option for later. Or, do neither. We've not had bugs filed or requests for this, its just included for completeness.

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

Attachment

General

Created:
Updated:
Size: