Re: RFR: JDK-8298104: NPE on synchronizeSceneNodes()

2023-06-06 Thread Daniel
On Wed, 3 May 2023 11:46:50 GMT, Daniel wrote: > A null pointer exception occurs on the ScenePulseListener when iterating > through the dirty node list. > A null check is needed on the node before calling node.getScene(). > > The error occurs occasionally and causes the appli

Re: RFR: JDK-8298104: NPE on synchronizeSceneNodes()

2023-12-22 Thread Daniel
On Wed, 3 May 2023 11:46:50 GMT, Daniel wrote: > A null pointer exception occurs on the ScenePulseListener when iterating > through the dirty node list. > A null check is needed on the node before calling node.getScene(). > > The error occurs occasionally and causes the appli

Re: RFR: 8306121: Scene not rendered initially when changing scenes after fix for JDK-8296621 [v22]

2023-06-16 Thread Daniel Subelman
On Thu, 15 Jun 2023 16:21:35 GMT, Thiago Milczarek Sayao wrote: >> I replicated the fix on #1054 on Linux. >> >> Also fixes [Monocle: Stage no longer gets focus after fix for >> JDK-8296621](https://bugs.openjdk.org/browse/JDK-8304734) > > Thiago Milczarek Sayao has updated the pull request in

Re: Proposal: RichTextArea Control (Incubator)

2024-02-22 Thread Daniel Peintner
development. Sincerely, -- Daniel P.S: Maybe just one line about the use case I have in mind. We do offer (based on RichTextFX) the ability to do "spell checking" on text (like you know from all word processors). A red underline shows a possible mistake and a ContextMenu offers fixes. This r

Re: [External] : Re: Proposal: RichTextArea Control (Incubator)

2024-02-23 Thread Daniel Peintner
r controls like Label, TextField, etc would be very astonishing. This might introduce a lot of complexity, I guess. Having said that, this would offer a unique selling point and go beyond what other external libraries did. Anyhow, this would most probably facilitate such work in the future. Best,

Re: Q: Labeled.textTruncated Property (RFE)

2024-03-05 Thread Daniel Peintner
, -- Daniel [1] https://stackoverflow.com/a/52432862 On Tue, Mar 5, 2024 at 10:15 PM Andy Goryachev wrote: > Dear colleagues: > > > > Do you think a new property, *ReadOnlyBooleanProperty textTruncated*, > should be added to the Labeled control? > > > > > > On one han

Re: [External] : Re: Q: Labeled.textTruncated Property (RFE)

2024-03-07 Thread Daniel Peintner
ext: 182.0 < 182.0 --> false" 4. Hence I also added a *normal* MyLabel example which does work as intended Maybe I miss something obvious but TableCells seem to be special Labeled instances and behave differently. Thanks, -- Daniel [1] https://stackoverflow.com/a/524328

Re: [External] : Re: Q: Labeled.textTruncated Property (RFE)

2024-03-08 Thread Daniel Peintner
the PR as well. Thanks, -- Daniel On Thu, Mar 7, 2024 at 7:53 PM Andy Goryachev wrote: > Daniel: > > > > Thank you for providing a sample app! > > > > You are right: turns out Labeled in a TableView (in a TreeTableView as > well) lives by differen

ConcurrentModificationException when calling stage.show()

2022-09-05 Thread Daniel Peintner
or any tip. Thanks, -- Daniel Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1857) at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXML

Re: ConcurrentModificationException when calling stage.show()

2022-09-07 Thread Daniel Peintner
m.runLater(() -> { // anyhow, I think this should not be needed this.menu.getItems().add(new MenuItem("A")); this.menu.getItems().add(new MenuItem("B")); this.menu.getItems().add(new MenuItem("C")); }); } } Is this sufficient to create a

Re: [External] : Re: ConcurrentModificationException when calling stage.show()

2022-09-09 Thread Daniel Peintner
All, Thanks for the confirmation. I am currently trying to come up with a standalone test-case. Unfortunately I failed to do so (so far). In the simple case the issue does not show up. I will try further and file a bug report once I succeed. -- Daniel On Thu, Sep 8, 2022 at 2:26 PM Kevin

Re: JavaFX 19-ea+11 Crashes

2022-09-14 Thread Daniel Peintner
-XX:+TieredCompilation (enable C1) -XX:TieredStopAtLevel=1 (disable C2) I hope this helps, -- Daniel [1] https://mail.openjdk.org/pipermail/openjfx-dev/2022-March/033831.html [2] https://bugs.openjdk.org/browse/JDK-8283386 [3] https://bugs.openjdk.org/browse/JDK-8275610 On Wed, Sep 14, 2022 at

Re: Label Text Selection

2024-08-16 Thread Daniel Peintner
Hi Dirk, all, Personally I think this would be a great addition since I am getting the same request over and over again. I solved it by *mis-using* a TextField and making it look like a Label. Thanks all for your efforts, -- Daniel On Fri, Aug 16, 2024 at 12:13 PM Dirk Lemmermann wrote

Re: RFR: JDK-8199216: Quadratic layout time with nested nodes and pseudo-class in style sheet [v10]

2024-10-25 Thread Daniel Godino
On Tue, 12 Sep 2023 23:28:37 GMT, John Hendrikx wrote: >> This fix introduces immutable sets of `PseudoClass` almost everywhere, as >> they are rarely modified. These are re-used by caching them in a new class >> `ImmutablePseudoClassSetsCache`. >> >> In order to make this work, `BitSet` had

Re: RFR: JDK-8199216: Quadratic layout time with nested nodes and pseudo-class in style sheet [v10]

2024-11-08 Thread Daniel Godino
On Tue, 12 Sep 2023 23:28:37 GMT, John Hendrikx wrote: >> This fix introduces immutable sets of `PseudoClass` almost everywhere, as >> they are rarely modified. These are re-used by caching them in a new class >> `ImmutablePseudoClassSetsCache`. >> >> In order to make this work, `BitSet` had