<div dir="ltr"><div>This is our program:<br></div><div><br></div>    <a href="https://github.com/huanghongxun/HMCL">https://github.com/huanghongxun/HMCL</a><br><div><br></div><div>We called `System.setProperty("jdk.gtk.version", "2")` in the code to avoid problems.<br></div><div>If we do not set jdk.gtk.version to 2, we cannot use the mouse wheel  to scroll up in the setting interface.</div><div><br></div><div>Strangely, this only happens when GTK3 is used on Linux, and it does not happen when I set the DISPLAY env var </div><div>to forward the interface to the VcXsrv X Server running on my Windows machine.<br></div><div>This problem does not occur on Windows/macOS or use GTK2 on Linux.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 5, 2023 at 3:10 AM Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.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"><div dir="ltr">Could you report a bug with a test sample? I can take a look.<div><br></div><div>-- Thiago.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua., 4 de jan. de 2023 às 15:27, Glavo <<a href="mailto:zjx001202@gmail.com" target="_blank">zjx001202@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"><div dir="ltr">Our JavaFX application has some strange problems when using GTK3, <div>one of the problems is that some ScrollPanes cannot scroll up with the mouse wheel.<br></div><div><br></div><div>These problems only occur when GTK3 is used on Linux. To avoid this problem, we have to set jdk.gtk.version to 2.</div><div><br></div><div>I haven't found any information about this problem. Does anyone know what may be the cause?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 4, 2023 at 7:28 PM Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" target="_blank">thiago.sayao@gmail.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"><div dir="ltr"><div><br></div><div>Would a merge request to remove gtk2 support on the JavaFX 21 release be welcome?</div><div><br></div><div>--Thiago.</div><div><br></div><div><br></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>