2. From an implementation perspective, this doesn't need to be supported explicitly by a platform. For the move and resize behaviors, it uses existing com.sun.glass.ui.Window APIs like setSize and setPosition. I would imagine that these operations are no-ops for platforms that do not support floating windows?
3. In general, move and resize works on all platforms via the new `MoveResizeHelper` class (except for Windows, which uses a different mechanism). On Windows, the experience is improved by handling the WM_NCHITTEST message, which enables support for advanced behaviors like Aero Snap. Similarly, we can improve the experience on other platforms by supporting more of their native features: For example, on macOS, we could query the "Double-click a window's title bar to zoom" system preference and maximize the window when we detect a double click. However, I do not intend to implement more specialized behavior for macOS or Linux at this point, and leave that as a future optimization. Am Fr., 30. Juli 2021 um 15:41 Uhr schrieb Kevin Rushforth <kevin.rushfo...@oracle.com>: > > 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 >