Add support for multiple displays in DeviceDisplay #22641
Labels
area-essentials
Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info
partner/cat 😻
this is an issue that impacts one of our partners or a customer our advisory team is engaged with
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
platform/windows 🪟
proposal/open
t/desktop
The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Milestone
Description
For desktop applications, there might be a need to have more information on the current screen the window is on or know about all the screens in order to move the window to a different display.
I believe all the platforms support multiple screens:
Currently, the
DeviceDisplay
API only has info on the "main" display and this usually is fine for mobile. But, for desktop apps the main display may not actually be the current display.Public API Changes
A new API would be to add a display id or instance to
Window
objects, or at the very least add new ways to get more information about what monitors are in use.Intended Use-Case
When launching an app, there may be a desire to launch on a specific monitor. Being able to find out where the monitors are so windows can be moved programmatically.
Potentially Related Issues
The text was updated successfully, but these errors were encountered: