<div dir="ltr">Michael,<div><br></div><div>I trust you on this one. I'm just throwing out some ideas, so maybe It triggers a better idea :)</div><div><br></div><div>Ensemble8 has the "Advanced Stage" example. While it's a little unpractical for a production application, some developers</div><div>might want to have different shapes of stages. So maybe it could be a functionality that can be used outside of the</div><div>EXTENDED window type. So what I'm suggesting is to decouple the resize grips and the window drag functionality </div><div>from the EXTENDED type and allow general usage.</div><div><br></div><div>It would possibly allow designs that "fuses" the HeaderBar with the body, like chrome tabs for example.</div><div><br></div><div>Hope it makes sense.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 22 de out. de 2024 às 23:59, Michael Strauß <<a href="mailto:michaelstrau2@gmail.com">michaelstrau2@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Thiago!<br>
<br>
If you use gtk_window_set_decorated() to remove the server-side title<br>
bar, you also invariably lose the resizable window borders as they are<br>
considered to be part of the "decoration".<br>
<br>
We need the EXTENDED window style because it is materially different<br>
from all of the other styles. The most important difference is that it<br>
delegates non-client hit-testing to JavaFX, which is what makes this<br>
feature work in the first place.<br>
<br>
I'll look into options for rounded corners on Linux, but we need to<br>
make sure that it works out of the box. This means that we can't<br>
impose Linux-specific implementation requirements on application<br>
developers.<br>
<br>
<br>
<br>
On Wed, Oct 23, 2024 at 4:42 AM Thiago Milczarek Sayão<br>
<<a href="mailto:thiago.sayao@gmail.com" target="_blank">thiago.sayao@gmail.com</a>> wrote:<br>
><br>
> Hi Michael,<br>
><br>
> Thank you for this effort.<br>
><br>
> It would be nice to have a TRANSPARENT window type with the HeaderBar so it would be possible to have rounded corners on Linux.<br>
><br>
> I was going to suggest to not have a special window type (EXTENDED) at all but then remembered the resize grips. Maybe they can be enabled another way? Shouldn't they be present if the stage is resizeable?<br>
><br>
><br>
> I did an attempt on this here:<br>
> <a href="https://github.com/openjdk/jfx/pull/1022" rel="noreferrer" target="_blank">https://github.com/openjdk/jfx/pull/1022</a><br>
><br>
> It was an initial attempt, so don't mind it too much. I gave up because I don't know how to do it on windows and I would have to sell my house to buy a Mac :)<br>
</blockquote></div>