Expose macOS tiled state to the front-end.
Categories
(Core :: Widget: Cocoa, task, P3)
Tracking
()
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?
| Assignee | ||
Comment 1•6 days ago
|
||
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.
Updated•6 days ago
|
Comment 2•6 days ago
|
||
(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.
Description
•