Undecorated-interactive stage style
Dean Wookey
wookey.dean at gmail.com
Fri Jul 30 14:01:05 UTC 2021
We would be very interested in this. We've tried to implement some of these
native behaviours ourselves, but there are plenty of holes and we only
support Windows. There are also some bugs which could potentially be
addressed by this, for example
https://bugs.openjdk.java.net/browse/JDK-8133330.
In my research I came across this:
https://github.com/rossy/borderless-window which addressed all the Windows
issues I was coming across at once. Maybe it's useful.
Dean
On Fri, Jul 30, 2021 at 3:42 PM Kevin Rushforth <kevin.rushforth at oracle.com>
wrote:
> This looks interesting and useful. I'd like to hear from other
> developers as well.
>
> A few comments:
>
> 1. We might want to consider whether there is a better name (nothing
> comes to mind at the moment)
> 2. This will almost certainly need to be a ConditionalFeature (since it
> might not be supportable on certain platforms, such as embedded platforms)
> 3. We will need an implementation on all three desktop platforms:
> Windows, macOS, Linux
> 4. You will need to add tests (at least manual if automated tests prove
> to be infeasible)
>
> -- Kevin
>
>
> On 7/29/2021 12:54 PM, Michael Strauß wrote:
> > I propose to add StageStyle.UNDECORATED_INTERACTIVE as outlined in
> > this PR: https://github.com/openjdk/jfx/pull/594
> >
> > The purpose of this style is to allow developers to provide custom
> > window decorations, but retain the window behaviors that would be lost
> > when using StageStyle.UNDECORATED.
> >
> > I'm looking forward to any comments on this proposal.
>
>
More information about the openjfx-dev
mailing list