RFR: 8301302: Platform preferences API [v10]
Michael Strauß
mstrauss at openjdk.org
Wed Sep 6 19:16:25 UTC 2023
On Wed, 6 Sep 2023 19:01:28 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Another question, certainly out of scope for this PR. In Windows, we have display orientation and Scale settings. Changing those result in change updates sent via Screen.getScreens(), but Screen, while having DPI and scale fields, lacks orientation.
>
> Does it make sense to use this app Preferences API for screen orientation, or should we enhance Screen?
Since Preferences are not tied to a screen, I think this wouldn't be a good fit. We'd basically have to create a preference that contains mappings of screens to orientations.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1708947736
More information about the openjfx-dev
mailing list