<div dir="ltr">Hi,<br><div><br></div><div>At some point we will need "Client Side" decorations on JavaFX to support modern gnome desktop on Linux as they moved to have client side decorations on everything.</div><div>Mutter (the gnome compositor) does not even support "server side" decorations. On Wayland it's an extension for KDE only.</div><div><br></div><div>Currently, even on Xorg it's a bit hacky when JavaFX needs to set total window size (with decorations). It caused too many problems.<br></div><div><br></div><div>Having controls on the titlebar is a nice feature to have, as seen on many applications (tabs, hamburger menus, buttons). <br></div><div><br></div><div>I'm not exactly sure on how it should be done. Maybe a Scene property that enables its contents to be wrapped in a decoration control? </div><div>Would it break applications that walk through the scene graph?</div><div><br></div><div>Should it look like Modena and have a JavaFX "identity", or should it try to look like the platform it's in?</div><div><br></div><div><div>On Wayland, it would be possible to use a subcompositor to place the decoration behind, but I think it would be better if the decoration was part of the Scene. It would be less problematic on the variety of compositors (Mutter, Kwin, Sway, etc).</div><div><br></div><div><br></div><div>-- Thiago</div><div><br></div><div><br></div><div><br></div></div></div>