<div dir="ltr"><div>Thank you, point taken.</div><div><br></div><div>
> [BTW I'm sure it would be on TK not GE].</div><div>Can you elaborate on that, please? I'm asking because I'm leaning towards GE at the moment.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 7, 2023 at 9:39 PM Philip Race <<a href="mailto:philip.race@oracle.com">philip.race@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So long as it stays in the sandbox and isn't pushed to jdk then you can <br>
do anything you want.<br>
[BTW I'm sure it would be on TK not GE].<br>
<br>
And it would be my preference to let such things bake in wakefield until <br>
we understand if they are really<br>
needed and what they should look like.<br>
<br>
So in other words, nothing in main line yet since there's no point yet.<br>
<br>
Apart from anything else, cases where we say "this won't work without <br>
new API" means apps need<br>
to change and that is highly undesirable, so I'd like to see us try <br>
everything under the sun to<br>
minimise the number and severity of such cases.<br>
<br>
-phil<br>
<br>
On 7/7/23 6:16 AM, Maxim Kartashev wrote:<br>
> Unlike all the other windowing systems that JDK supports, Wayland does <br>
> not let you position windows on the screen directly. I have just <br>
> finished implementing support for popup-style windows (popups, <br>
> tooltips, menus) using xdg_positioner and had to plug in many <br>
> instances of "if (can-position-windows)" in the common code (i.e. <br>
> Swing). I wonder if this warrants an amendment to the public API so <br>
> those checks can be less ad-hoc? What would be the procedure for <br>
> introducing a new method to Toolkit of GraphicsEnvironment?<br>
><br>
> References:<br>
> * <br>
> <a href="https://github.com/JetBrains/JetBrainsRuntime/commit/470c36bbd802bcf18c098c8d90502a6fb72099e3" rel="noreferrer" target="_blank">https://github.com/JetBrains/JetBrainsRuntime/commit/470c36bbd802bcf18c098c8d90502a6fb72099e3</a><br>
> * <a href="https://wayland.app/protocols/xdg-shell#xdg_positioner" rel="noreferrer" target="_blank">https://wayland.app/protocols/xdg-shell#xdg_positioner</a><br>
<br>
</blockquote></div>