Re: RFR: 8185831: Pseudo selectors do not appear to work in Node.lookupAll() [v9]

2023-10-23 Thread Sai Pradeep Dandem
> **Issue:** > Using pseudo classes in programmatic query using Node.lookupAll() or > Node.lookup() gives unexpected results. > > **Cause:** > There is no check for checking the psuedo states matching in the applies() > method of SimpleSelector.java. So checking for "applies()" alone is not > s

Prioritized event handlers

2023-10-23 Thread Michael Strauß
Hi Andy! In a previous mail, I observed that a method like `BehaviorBase.addHandlerLast` suggests to me that we're lacking core tools in the JavaFX framework. In this case, we want to ensure that an event handler is always invoked before (or after) other event handlers. One way to do that might b

Re: [External] : Re: Proof of concept pull request for Behavior API (PR 1265)

2023-10-23 Thread Andy Goryachev
Dear John: I may have come off as very direct This is not a problem at all; we all are trying to improve the platform as much as we can, using the tools we have. A mailing list has severe limitations, and time zone difference does not help either. So please don’t worry about that. And I hop

Re: Proof of concept pull request for Behavior API (PR 1265)

2023-10-23 Thread John Hendrikx
Hi Andy, On 23/10/2023 20:56, Andy Goryachev wrote: Dear John: Thank you for providing the alternative proposal.  One thing I liked is the clarification of the purpose of behavior to translate input events into platform-independent actions. I noticed you tried to validate the design using

Re: Proof of concept pull request for Behavior API (PR 1265)

2023-10-23 Thread Andy Goryachev
Dear John: Thank you for providing the alternative proposal. One thing I liked is the clarification of the purpose of behavior to translate input events into platform-independent actions. I noticed you tried to validate the design using Button - a rather simple Control. I think a better choi

Re: Several GTK issues on latest Ubuntu release

2023-10-23 Thread Christopher Schnick
I don't think any of the existing bug tracker issues apply to this problem though. The reason I also posted it in here is that this issue is exclusive to the JavaFX platform thread. If this method is invoked in any other thread, it works fine. I investigated a bit further on this issue, I got t

Re: Several GTK issues on latest Ubuntu release

2023-10-23 Thread Philip Race
There are several open bug reports of problems in AWT on ubuntu 23.10 (and some on 23.04) https://bugs.openjdk.org/issues/?jql=project%20%3D%20JDK%20AND%20component%20%3D%20client-libs%20AND%20labels%20in%20(ubuntu23.04%2C%20ubuntu23.10) Note that GTK is not used to the same extent as it is by

Re: Several GTK issues on latest Ubuntu release

2023-10-23 Thread Christopher Schnick
That is good to know that this issue is already being worked on. From the description of https://bugs.openjdk.org/browse/JDK-8316423, this issue is only tracked as affecting secondary stages? At least in our case it affects the primary stage as well, i.e. the one that is supplied via Applicatio

Re: Several GTK issues on latest Ubuntu release

2023-10-23 Thread Thiago Milczarek Sayão
Forgot to mention: except for the system tray, I'm not looking into that. Em seg., 23 de out. de 2023 11:36, Thiago Milczarek Sayão < thiago.sa...@gmail.com> escreveu: > Hi Cristopher, > > https://github.com/openjdk/jfx/pull/1249 > > We noticed it and I'm working on a fix. > > There's one issue t

Re: Several GTK issues on latest Ubuntu release

2023-10-23 Thread Thiago Milczarek Sayão
Hi Cristopher, https://github.com/openjdk/jfx/pull/1249 We noticed it and I'm working on a fix. There's one issue that is probably a mutter bug: https://gitlab.gnome.org/GNOME/mutter/-/issues/3092 -- Thiago Em seg., 23 de out. de 2023 10:05, Christopher Schnick escreveu: > Hello, > > a user

Re: Several GTK issues on latest Ubuntu release

2023-10-23 Thread John Hendrikx
For these I think it would be best to contact the Swing/AWT team, or better yet, create a bug report and then contact them; there's little JavaFX can do here as none of these classes are part of JavaFX. --John On 23/10/2023 15:05, Christopher Schnick wrote: Furthermore, while this is technic

Several GTK issues on latest Ubuntu release

2023-10-23 Thread Christopher Schnick
Hello, a user of our application xpipe reported several issues after upgrading their Ubuntu version and I investigated them myself. I want to note here that these issues are exclusive to new Ubuntu versions. I did not observe any of them on slightly older U