Platform preferences API

Michael Strauß michaelstrau2 at gmail.com
Fri Jun 16 14:52:47 UTC 2023


My perception is entirely different. In the last few years, most
operating systems seem to have embraced the light/dark mode concept.
More and more applications (as well as web applications) support dark
mode in addition to the default light mode, and many try to adapt to
the OS.
That is certainly true for widely used applications like web browsers,
social media apps, and IDEs.

It's true that the Linux situation is a bit complicated, but Windows,
Apple operating systems, and Android have strong dark mode support.

In addition, platform preferences are not only about visual
appearance, but can also be relevant for behavioral settings. For
example, macOS has an OS setting that controls whether clicking on a
scrollbar moves the content page by page, or directly to the clicked
spot. Skins could use those kinds of non-visual preferences in the
future.


On Fri, Jun 16, 2023 at 2:09 AM Thiago Milczarek Sayão
<thiago.sayao at gmail.com> wrote:
>
> I think we should wait and don't do this in the short term.
>
> Many recent apps don't care for platform appearance at all.
>
> Take Microsoft windows for an example, there are many layers of "evolution" and they all look different on the same OS.
>
> Linux will be a nightmare, you have many desktop environments, and if you only consider gnome, it's all CSS based and you can't just obtain a color (because it's on the css). Recent Ubuntu have accent colors, but that's if you use the Yaru theme.
>
>
> If in the future apps start to look the same again we should consider it. The tendency right now seems to be "apps don't have to look the same".
>
> Behavior should be consistent, style probably don't.
>
> -- Thiago


More information about the openjfx-dev mailing list