Re: JDK-8088535 Memory Leak

2022-01-03 Thread Dirk Lemmermann
In my case (1) it is a complex clipping shape that gets created based on an initial rectangle from which the code „subtracts“ a list of ellipses (2). The clip is set on paths so that their rendering stops before they enter the ellipses. —Dirk (1) https://twitter.com/dlemmermann/status/14740599

RFE: Style class for prompt text in text input controls

2021-09-17 Thread Dirk Lemmermann
I noticed that the „Text“ node used to display the prompt text of a text input control could definitely use its own style class. At least if you want to use a different font for it than for the normal text. Currently the prompt text node is bound to the same font property of the control as the r

Re: Enhancements for JavaFX 18

2021-08-11 Thread Dirk Lemmermann
Frosted glas / blurred background for stages! > Am 11.08.2021 um 22:07 schrieb Thiago Milczarek Sayão > : > > Hi, > > One feature I will probably submit is touch events on Linux. > > Cheers. > > Em sex., 30 de jul. de 2021 às 09:59, Kevin Rushforth < > kevin.rushfo...@oracle.com> escreveu: >

Re: Enhancements for JavaFX 18

2021-08-04 Thread Dirk Lemmermann
proceed) > >> > >> * Undecorated interactive stage style (still in early discussion, but > the concept looks interesting and useful) > >> > >> There are probably others I'm forgetting. > >> > >> Each of the above should be discussed in their own thread on > openjfx-dev rather than a reply to this thread. > >> > >> -- Kevin > > > > > > > > -- Dirk Lemmermann Software & Consulting Zurich, Switzerland +41-(0)79-800-23-20 http://www.dlsc.com mailto:dlemmerm...@gmail.com

Re: Not really a nice comment but a real issue?

2021-03-19 Thread Dirk Lemmermann
I took the liberty of informing the author of the blog. It was hard not to comment on the tone he used ….. but we all know that never leads to anything. Let the facts speak for themselves and they tell him that he was heard and his findings resulted in tickets and hopefully fixes soon. Dirk >

RFE: Shape Intersection

2021-01-18 Thread Dirk Lemmermann
I just noticed that there is no „intuitive“ API to check whether two shapes intersect with each other. The only way (I think) to do it is as follows: Shape.intersect((Shape) child, circle).getBoundsInLocal().getWidth() != -1 If this is indeed the case I would like to propose that a method shall

Re: Can't load fxml on Macos

2020-10-20 Thread Dirk Lemmermann
I worked with JavaFX on MacOS since 2013 and except for issues related to font rendering I never got the impression that MacOS is the black sheep. I also happen to know that many of the developers that are working on JavaFX use MacOS. Dirk > On Oct 20, 2020, at 12:28 PM, Davide Perini > wrote

Re: RFR: 8251241: macOS: iconify property doesn't change after minimize when resizable is false

2020-08-19 Thread Dirk Lemmermann
On Thu, 13 Aug 2020 12:52:37 GMT, Florian Kirmaier wrote: >>> JDK-8251241: macOS: iconify property doesn't change after minimize when >>> resizable is false ⚠️ Title mismatch between PR >>> and JBS. >> >> Can you change the title to match the JBS title? > > Done! I've changed the title. Thank

Re: TableView help

2020-05-13 Thread Dirk Lemmermann
Hi John, the model class used by your TableView is called “SimpleImmutableEntry”. The middle part of this name should be enough to tell you what the problem is :-) Solution: create your own custom model class and provide setters and getters for “key” and “value”. Then the TableView will write b

Re: White box / window flicker upon launch

2020-04-23 Thread Dirk Lemmermann
gt; From: openjfx-dev On Behalf Of Dirk > Lemmermann > Sent: Wednesday, April 22, 2020 1:46 PM > To: OpenJFX > Subject: [EXTERNAL] White box / window flicker upon launch > > Hi everyone, > > is it just me or did something change in the launch behaviour of JavaFX > app

Re: White box / window flicker upon launch

2020-04-23 Thread Dirk Lemmermann
adoc for the applyCss() method. > > -Original Message- > From: openjfx-dev On Behalf Of Dirk > Lemmermann > Sent: Wednesday, April 22, 2020 1:46 PM > To: OpenJFX > Subject: [EXTERNAL] White box / window flicker upon launch > > Hi everyone, > > is it

Re: White box / window flicker upon launch

2020-04-23 Thread Dirk Lemmermann
Ticket created: ID 9064689 Dirk > On 23 Apr 2020, at 13:40, Dirk Lemmermann wrote: > > I think this is a bug … I will create a ticket for it. When this behaviour > was fixed for Swing in Java 6 it made a huge difference in the perception of > the quality and performance of Ja

Re: White box / window flicker upon launch

2020-04-23 Thread Dirk Lemmermann
is gone if you put the same color to Scene.setFill() as your > root-Pane but now something slightly unexpected happens. The trim is colored > slighly in your scene-color ;-) > > Tom > > Am 22.04.20 um 19:46 schrieb Dirk Lemmermann: >> import javafx.application.Application;

White box / window flicker upon launch

2020-04-22 Thread Dirk Lemmermann
Hi everyone, is it just me or did something change in the launch behaviour of JavaFX applications? It seems we are back to the old “grey box” bug of Swing where the window would appear first before filling its content. I noticed the same (but white) effect now for my JavaFX apps, especially whe

Re: ComboBox keypress discrepancy

2020-03-06 Thread Dirk Lemmermann
o know what is the expected > behaviour in this case: should TAB key press trigger when the popupwindow is > showing? > > -- Abhinay > From: Dirk Lemmermann > Sent: Thursday, March 5, 2020 6:39 PM > To: Abhinay Agarwal > Cc: openjfx-dev@openjdk.java.net > Subject: Re

Re: ComboBox keypress discrepancy

2020-03-05 Thread Dirk Lemmermann
So what info do you need? What test do you want us to run? I ran it on MacOS X with Java 14ea and I DO NOT see the „TAB“ output. Dirk > Am 05.03.2020 um 11:43 schrieb Abhinay Agarwal : > > import javafx.application.Application; > import javafx.scene.Scene; > import javafx.scene.control.ComboBox

No screen coordinates for DRAG_DONE events

2020-02-10 Thread Dirk Lemmermann
Need some help: I noticed that the DRAG_DONE event does not tell me the location of the event. I am working on a docking framework and the fact that I am receiving a DRAG_DONE event but not a DRAG_DROPPED tells me that the user dragged a docking item out of the docking container. If that is the

Difference in CSS styling / rendering.

2019-12-09 Thread Dirk Lemmermann
Hi, I just noticed that the timeline in FlexGanttFX does not get rendered correctly anymore after updating to 14-ea+4. The borders around the date cells disappeared. I assume that this must be somehow related to the CSS fix that made it into this version. This is just a heads-up. If possible

Re: JavaFX-Bugs on GraalVM 19.3 (Java 11)

2019-11-21 Thread Dirk Lemmermann
ient-maven-plugin/blob/master/src/main/java/com/gluonhq/NativeBaseMojo.java#L95 > > <https://github.com/gluonhq/client-maven-plugin/blob/master/src/main/java/com/gluonhq/NativeBaseMojo.java#L95> > how this can be done with Substrate. > > - Johan > > > > On T

Re: JavaFX-Bugs on GraalVM 19.3 (Java 11)

2019-11-21 Thread Dirk Lemmermann
After experimenting a lot today with the Gluon client plugin I must assume that currently not all of Java is supported via the substrate / GraalVM duo. For example I was unable to use the java.util.Preferences API. I also got an error that said Integer.parseInt() does not exist. Is that correct?

Re: JavaFX-Bugs on GraalVM 19.3 (Java 11)

2019-11-20 Thread Dirk Lemmermann
I am also observing issues related to text color. All of my labels show up in blue instead of the color defined globally in my css file. > On 20 Nov 2019, at 22:20, Michael Paus wrote: > > Hi, > > I would just like to know where JavaFX problems or bugs should be reported > which are strictly

jpackage maven plugin

2019-11-04 Thread Dirk Lemmermann
Does anyone know if somebody has started work on a Maven plugin for jpackage? Dirk

Custom Fonts in User Agent Stylesheets

2019-10-04 Thread Dirk Lemmermann
I noticed today that the custom fonts I defined in a user agent stylesheet of a custom control are not being used. It only started working when I “manually” added the stylesheet to the control via getStylesheets().add() instead of overriding getUserAgentStylesheet(). Does anyone know if this i

Changes to layout behavior?

2019-10-01 Thread Dirk Lemmermann
Hi, I recently noticed that some of my frameworks constantly run the layoutChildren() method of their skins when they are being executed with Java 11+. I assume the reason is that I am adding nodes to the scenegraph INSIDE the layoutChildren() method. This used to work very well, but now it cau

JavaFX Conference

2019-09-24 Thread Dirk Lemmermann
Hi y’all, just a quick notice that we are having a second “JFX Days” event in Zurich on December 2nd - 4th (jfx-days.com ). We have sessions and workshops and additionally a seminar on using open source software in line with their licensing agreements. Johan Vos will be th

Re: Bad DropShadow performance

2018-10-04 Thread Dirk Lemmermann
Yes, I also noticed that DropShadow causes severe performance degradation. Dirk > On 4 Oct 2018, at 13:10, Tom Schindl wrote: > > Hi, > > Why does applying a DropShadow on a large region cause problem when > animating nodes contained in that region? > >> package fxbugs; >> >> import javafx.a

JavaFX Days Zurich

2018-09-19 Thread Dirk Lemmermann
With all this activity going on in the JavaFX space right now, I thought it is a good idea to inform people on this list that we are currently organizing a “JavaFX-Only” conference in Zurich on Dec. 3rd until Dec. 5. More info on: javafx-days.com The first day will hav

Re: JavaFX 11 is released

2018-09-18 Thread Dirk Lemmermann
Johan, Kevin, a big "thank you!" from someone who has based his company and career on JavaFX. This release will put an end to all of the „JavaFX is dead“ speculations / rumors out there and it will hopefully also mark the beginning of ongoing and accelerated development of this fantastic piece

Scroll Event Delta Values

2017-06-22 Thread Dirk Lemmermann
Hi, I noticed in my application that the delta values of the ScrollEvent seem to be incorrect at the end of the scroll event sequence. Values should first increase and then decrease: smooth-in / smooth-out style. But when I print out the values I noticed that at the end I receive a few non-line

Re: Canvas Content Shift

2017-04-10 Thread Dirk Lemmermann
I have submitted the RFE. — Dirk > Am 10.04.2017 um 16:54 schrieb Kevin Rushforth : > > Please file an Enhancement request and we can consider this for JDK 10. > > Dirk Lemmermann wrote: >> >> +1 on Java 8/9 update. But I have a feeling that will be hard to accom

Re: Canvas Content Shift

2017-04-10 Thread Dirk Lemmermann
at the horizon. > Michael > > Am 10.04.17 um 10:32 schrieb Dirk Lemmermann: >> HI there, >> >> I was wondering if there is any chance that Java 10 could implement some >> sort of „content shifting“ for the Canvas API? >> >> I would love to have this

Canvas Content Shift

2017-04-10 Thread Dirk Lemmermann
HI there, I was wondering if there is any chance that Java 10 could implement some sort of „content shifting“ for the Canvas API? I would love to have this feature for supporting faster horizontal scrolling in my Gantt Chart framework FlexGanttFX. Currently when the user scrolls then the enti

Re: Planning for JavaFX.next

2016-12-08 Thread Dirk Lemmermann
I have these priorities regarding the items mentioned by Jonathan: “Put the pedal to the metal” section: +1 CSS performance improvements +1 TableView performance +1 Marlin renderer enabled by default “The rest” section: +1 TableView improvements (cell spanning, row / column freezing, etc)

Re: Planning for JavaFX.next

2016-12-08 Thread Dirk Lemmermann
I would like to see support in Canvas for hardware accelerated shift of its current content. Something similar to the JViewport “blitting” feature in Swing. Dirk