-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Finish safe area implementation #3910
Copy link
Copy link
Open
Labels
DS - androidAffects the Android backendAffects the Android backendDS - orbitalAffects the Orbital/Redox backendAffects the Orbital/Redox backendDS - webAffects the Web backend (WebAssembly/WASM)Affects the Web backend (WebAssembly/WASM)DS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendDS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsS - platform parityUnintended platform differencesUnintended platform differences
Milestone
Description
#3890 introduced Window::safe_area, but the implementation isn't completed on all platforms. Tracking this here:
- Android: Android: implement
Window::safe_area#4506 - AppKit / macOS: Implemented
- Orbital
- UIKit / iOS: Implemented
- Wayland: No protocol for that at the time of writing.
- Web: Calculate independently of scroll position, Add safe area and document coordinate systems #3890 (comment)
- Windows
- X11
- Figure out the semantics wrt. soft keyboards: Make the safe area on iOS track the soft keyboard as well #4528
Maintainers: Feel free to check the box and remove the corresponding label, either if the implementation is completed, or it doesn't apply to that platform.
Note: Make sure to also wire it up so that RedrawRequested events are emitted when the safe area / insets change.
See also #3911.
Do not close this issue before the ## Platform-specific section on safe_area is updated too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DS - androidAffects the Android backendAffects the Android backendDS - orbitalAffects the Orbital/Redox backendAffects the Orbital/Redox backendDS - webAffects the Web backend (WebAssembly/WASM)Affects the Web backend (WebAssembly/WASM)DS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendDS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsS - platform parityUnintended platform differencesUnintended platform differences