Is there an ETA for Linux Wayland support?

2024-12-01 Thread Davide Perini
As title. It seems that JavaFX is not fully compliant with Linux Wayland. Is there an ETA for the complete wayland support? Thanks

Re: Aw: JavaFX Direct3D 12 rendering pipeline for Windows

2024-10-15 Thread Davide Perini
This is the right approach. If you wait for something to be deprecated before you start working on it, then you end up like most of the AWT features were broken on latest operating systems. Davide On 15/10/2024 02:50, Marius Hanl wrote: In my opinion this is a nice change. Modernizing the Win

Re: JEP Vector API (Incubator). A funny use case and a question.

2024-08-09 Thread Davide Perini
sorry to everyone. wrong list :( Il 09/08/2024 17:56, Davide Perini ha scritto: Hi there, thanks for the opportunity that you give us to write on this mailing-list. I'm am playing with the Vector API bundled in Java 22 and wow, they are amazing. I have some serious benefits using them

JEP Vector API (Incubator). A funny use case and a question.

2024-08-09 Thread Davide Perini
Hi there, thanks for the opportunity that you give us to write on this mailing-list. I'm am playing with the Vector API bundled in Java 22 and wow, they are amazing. I have some serious benefits using them even for simple tasks on my AMD Ryzen 9 7950X3D CPU that uses Zen4 architecture. Can't

Re: Can't restart my app with the latest JDK, regression.

2024-02-06 Thread Davide Perini
and it is now available here: https://bugs.openjdk.org/browse/JDK-8325203 It is almost certainly a bug in jpackage. -- Kevin On 2/5/2024 2:01 AM, Davide Perini wrote: Hi John, thanks for the answer. The problem happen even with other JDKs like the Azul, corretto... The weird thing is that

Re: Can't restart my app with the latest JDK, regression.

2024-02-05 Thread Davide Perini
hing there. For more info, tips or other ways of doing restarts: https://stackoverflow.com/questions/4159802/how-can-i-restart-a-java-application --John On 04/02/2024 02:49, Davide Perini wrote: Hi there, my JavaFX 21.0.2 app experienced a very weird regression when switching

Re: Can't restart my app with the latest JDK, regression.

2024-02-04 Thread Davide Perini
Wrong list sorry, this is a message for the users one... Il 04/02/2024 02:49, Davide Perini ha scritto: Hi there, my JavaFX 21.0.2 app experienced a very weird regression when switching from Temurin OpenJDK21U-jdk_x64_windows_hotspot_21.0.1_12 to OpenJDK21U-jdk_x64_windows_hotspot_21.0.2_13

Can't restart my app with the latest JDK, regression.

2024-02-03 Thread Davide Perini
Hi there, my JavaFX 21.0.2 app experienced a very weird regression when switching from Temurin OpenJDK21U-jdk_x64_windows_hotspot_21.0.1_12 to OpenJDK21U-jdk_x64_windows_hotspot_21.0.2_13 I use this method to restart my app. public void restart() { // path to my exe app plus one string arg

Re: [External] : Re: Preload fxml to avoid slow show()

2023-08-26 Thread Davide Perini
tion (using VisualVM or a similar tool), to see where the bulk of memory consumption is? -andy *From: *Davide Perini *Date: *Friday, August 25, 2023 at 16:16 *To: *Andy Goryachev , openjfx-dev@openjdk.org *Subject: *Re: [External] : Re: Preload fxml to avoid slow show() I tried it, 99% of

Re: [External] : Re: Preload fxml to avoid slow show()

2023-08-25 Thread Davide Perini
be a known problem and at this point, I think that I'm out of luck. Thank you anyway, Davide Il 25/08/2023 23:55, Andy Goryachev ha scritto: Another suggestion might be to load tabs lazily.  I don't think FXML "pre-loading" is possible. -andy *From: *Davide Perini *Date:

Re: Preload fxml to avoid slow show()

2023-08-25 Thread Davide Perini
My tab pane is very complex with a lot of tabs, having an FXML is very welcomed. Thanks Davide Il 25/08/2023 16:45, Andy Goryachev ha scritto: You can try creating the scene graph programmatically, thus avoiding FXML entirely. -andy *From: *openjfx-dev on behalf of Davide Perini *Date

Preload fxml to avoid slow show()

2023-08-25 Thread Davide Perini
Hi, I have a tabpane with 15 tabs, every tab has his own controller and it's pretty crowded. On a 13900K CPU, show() method requires more than 750ms, this feels laggy... After the first show() call, loading the tab pane is much faster... Is there a way to "preload" an fxml? I tried to show()

Re: Center text in a table once a button has been added dynamically

2023-08-14 Thread Davide Perini
I answer my self for posters... .table-view .table-cell { -fx-alignment:center-left; } done the trick. thanks Davide Il 14/08/2023 15:34, Davide Perini ha scritto: Hi all, hope that someone can help with this :) I have a TableView like this: If I add a remove button in the table

Center text in a table once a button has been added dynamically

2023-08-14 Thread Davide Perini
Hi all, hope that someone can help with this :) I have a TableView like this: If I add a remove button in the table like this: private TableColumngetSatelliteVoidTableColumn() { TableColumn colBtn =new TableColumn<>(""); colBtn.setMaxWidth(Constants.REMOVE_BTN_TABLE); Callback, Ta

Windows notifications vanishes

2023-06-16 Thread Davide Perini
Hi all, I know that this a bit off topic but it could be interesting for many JavaFX users. I recently noted that java.awt.TrayIcon.displayMessage() method does not work really well in Windows 11 anymore. My notifications are shown with a strange icon and the notification is not persistent

Re: My JavaFX app is managed by efficiency cores once reduced in tray icon.

2023-05-23 Thread Davide Perini
-phil. On 5/23/23 12:31 PM, Davide Perini wrote: As title. I'm pretty sure that my JavaFX app is managed by efficiency cores once reduced in tray icon since its performance drops significantly, if I open a window and leave it open, the app goes at max speed on performance cores. Is there a

Re: My JavaFX app is managed by efficiency cores once reduced in tray icon.

2023-05-23 Thread Davide Perini
, May 24, 2023 at 3:31 AM Davide Perini wrote: As title. I'm pretty sure that my JavaFX app is managed by efficiency cores once reduced in tray icon since its performance drops significantly, if I open a window and leave it open, the app goes at max speed on perfor

My JavaFX app is managed by efficiency cores once reduced in tray icon.

2023-05-23 Thread Davide Perini
As title. I'm pretty sure that my JavaFX app is managed by efficiency cores once reduced in tray icon since its performance drops significantly, if I open a window and leave it open, the app goes at max speed on performance cores. Is there a way to set the app runs on performance core even wit

Re: JavaFX, GStreamer and screen recording.

2023-05-23 Thread Davide Perini
hough I haven't used this API to do what you want, I do know it provides easy access to ffmpeg and computer vision and camera related features.  It's a lot more complicated to use than JavaFX, but should give you the flexibility you need. --John On 23/05/2023 10:42, Davide Perini wro

JavaFX, GStreamer and screen recording.

2023-05-23 Thread Davide Perini
Hi all, as far as I know JavaFX uses GStreamer for the video player functionalities. Why don't use GStreamer for screen recording too? GStreamer is much faster than everything else in the Java world since it uses native APIs like Desktop Duplication API in Windows and native APIs on Mac an

JavaFX combo, issue with focus since JavaFX 19

2023-03-17 Thread Davide Perini
This issue isn't solved yet. https://stackoverflow.com/questions/74147187/issue-with-combobox-focus-in-fx-19 Is this a known issue from JavaFX devs? Adding |Platform.runLater works as a workaround. Thanks Davide |