Re: Removing gtk2 support

2023-01-05 Thread Glavo
This is our program: https://github.com/huanghongxun/HMCL We called `System.setProperty("jdk.gtk.version", "2")` in the code to avoid problems. If we do not set jdk.gtk.version to 2, we cannot use the mouse wheel to scroll up in the setting interface. Strangely, this only happens when GTK3 i

Re: Removing gtk2 support

2023-01-04 Thread Thiago Milczarek Sayão
Could you report a bug with a test sample? I can take a look. -- Thiago. Em qua., 4 de jan. de 2023 às 15:27, Glavo escreveu: > Our JavaFX application has some strange problems when using GTK3, > one of the problems is that some ScrollPanes cannot scroll up with the > mouse wheel. > > These pro

Re: Removing gtk2 support

2023-01-04 Thread Glavo
Our JavaFX application has some strange problems when using GTK3, one of the problems is that some ScrollPanes cannot scroll up with the mouse wheel. These problems only occur when GTK3 is used on Linux. To avoid this problem, we have to set jdk.gtk.version to 2. I haven't found any information a

Re: Removing gtk2 support

2023-01-04 Thread Gregor Schmid
>From my experience there are always people stuck on old systems with the weirdest configurations. One wouldn't expect them to use JavaFX 21 upwards, however they often need to combine their very-old-and-unsupported-for-years legacy stuff with some other lets-use-the-latest-and-greatest applicati

Re: Removing gtk2 support

2023-01-04 Thread Kevin Rushforth
I was thinking the same thing yesterday, but hadn't filed the issue yet. I just now filed: https://bugs.openjdk.org/browse/JDK-8299595 If you are willing to do this, it would be appreciated. You can assign the bug to yourself. It will need a CSR and a release note. My recommendation is that

Re: Removing gtk2 support

2023-01-04 Thread Johan Vos
I think it is absolutely worth considering that. I actually thought we already had an issue for discussing this, but I seem to be unable to do search queries on JBS atm. I can't think about configurations that are stuck on GTK2 and that are still relevant today, but it would be good to get input f

Removing gtk2 support

2023-01-04 Thread Thiago Milczarek Sayão
Would a merge request to remove gtk2 support on the JavaFX 21 release be welcome? --Thiago.