Question about deadlock issue

2020-09-17 Thread Steven Yi
Hi All, I had reported a deadlock issue that requires app restart whenever a context menu is shown in JFX embedded within Swing (i.e., JFXPanel) on macOS: https://bugs.openjdk.java.net/browse/JDK-8251038 I had not seen any updates on the issue in a month and I'm wondering what to do. This is a s

Re: Question about deadlock issue

2020-09-17 Thread Kevin Rushforth
If you have additional information that is relevant to reproducing the bug or helpful in identifying a possible fix, you can send it to this alias and either I or another OpenJFX Author, Committer, or Reviewer can add it to the bug report. I have updated the bug report with your note about wher

Re: Question about deadlock issue

2020-09-17 Thread Kevin Rushforth
Update: I cannot reproduce this even using your updated instructions. How often does it reproduce for you? Have you tried with a more recent JDK (in case it is a JDK bug)? I recommend trying it with the just-released JDK 15 [1]. -- Kevin [1] https://jdk.java.net/15/ On 9/17/2020 5:26 AM, Ke

Re: Question about deadlock issue

2020-09-17 Thread Steven Yi
Hi Kevin, Thanks for the quick response, very much appreciated. I installed and tested again with AdoptOpenJDK 15. In my app I found the popup from the text field did not trigger the deadlock now, but my context menu did. It seemed to take longer before the deadlock occurred though. It used to h

How to set app name in macOS, gradle?

2020-09-17 Thread Rob Nikander
Hi, I’m trying to set the text shown in the macOS menubar. The advice I see online says to use -Xdock:name, but when I try that, I still see “java” in the menubar. Is there a way to make it use “MyAppName”? Some of my build.gradle.kts file is shown below. Rob plugins { application

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Paus
You can achieve this when you bundle your application with jpackage. For proper macOS menubar handling you should also consider to use the library NSMenuFX (https://github.com/codecentric/NSMenuFX) because JavaFX itself still cannot do that. Michael Am 17.09.20 um 19:11 schrieb Rob Nikander: Hi,

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Rob Nikander
Okay, thank you. > On Sep 17, 2020, at 1:20 PM, Michael Paus wrote: > > You can achieve this when you bundle your application with jpackage. > For proper macOS menubar handling you should also consider to use > the library NSMenuFX (https://github.com/codecentric/NSMenuFX) because > JavaFX itsel

Re: RFR: 8253123: Switch FX build to use JDK 15 as boot JDK

2020-09-17 Thread Joeri Sykora
On Tue, 15 Sep 2020 16:04:29 GMT, Kevin Rushforth wrote: > Updates the boot JDK used to build JavaFX 16 to JDK 15. The minimum remains > at JDK 11. > > Note to reviewers: the build number for JDK 15 GA is the same as JDK 14 GA, > so that property is intentionally unchanged > (I didn't forget t

Re: RFR: 8253123: Switch FX build to use JDK 15 as boot JDK

2020-09-17 Thread Johan Vos
On Tue, 15 Sep 2020 16:04:29 GMT, Kevin Rushforth wrote: > Updates the boot JDK used to build JavaFX 16 to JDK 15. The minimum remains > at JDK 11. > > Note to reviewers: the build number for JDK 15 GA is the same as JDK 14 GA, > so that property is intentionally unchanged > (I didn't forget t

Integrated: 8253123: Switch FX build to use JDK 15 as boot JDK

2020-09-17 Thread Kevin Rushforth
On Tue, 15 Sep 2020 16:04:29 GMT, Kevin Rushforth wrote: > Updates the boot JDK used to build JavaFX 16 to JDK 15. The minimum remains > at JDK 11. > > Note to reviewers: the build number for JDK 15 GA is the same as JDK 14 GA, > so that property is intentionally unchanged > (I didn't forget t

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Hall
> On Sep 17, 2020, at 12:20 PM, Michael Paus wrote: > > You can achieve this when you bundle your application with jpackage. With jpackage including these… -Dapple.laf.useScreenMenuBar=true -Dcom.apple.mrj.application.apple.menu.about.name=HalfPipe My application name showed correctly on the

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Paus
NSMenuFX will fix, e.g., the "About" issue and will allow consistent internationalization of these predefined menu items. Am 17.09.20 um 21:55 schrieb Michael Hall: On Sep 17, 2020, at 12:20 PM, Michael Paus > wrote: You can achieve this when you bundle your applicatio

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Hall
> On Sep 17, 2020, at 3:00 PM, Michael Paus wrote: > > NSMenuFX will fix, e.g., the "About" issue and will allow consistent > internationalization > of these predefined menu items. > I saw the above were supposed to support some localization. It wasn’t a current concern for me. It’s sort o