<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
About JDK-8371781. I understood the problem. The window seems to be
created but it is not visible. I recorded a GIF that clearly shows
the issue (it is about 15 seconds long, watch until the label text
changes) - <a class="moz-txt-link-freetext" href="https://ibb.co/n8Y42bNy">https://ibb.co/n8Y42bNy</a> <br>
<br>
I hope, it will help.<br>
<br>
Test code:<br>
<br>
public class Test1 extends Application {<br>
<br>
private final Label label = new Label("Miracles don’t happen.");<br>
<br>
@Override<br>
public void start(Stage stage) {<br>
MenuItem item = new MenuItem("Click me!");<br>
item.setOnAction(e -> {<br>
label.setText("It’s a miracle!");<br>
});<br>
Menu menu = new Menu("Menu");<br>
menu.getItems().add(item);<br>
MenuBar bar = new MenuBar(menu);<br>
<br>
var stackPane = new StackPane(label);<br>
VBox.setVgrow(stackPane, Priority.ALWAYS);<br>
label.setStyle("-fx-font-size: 30");<br>
VBox root = new VBox(bar, stackPane);<br>
<br>
Scene scene = new Scene(root, 400, 400);<br>
stage.setScene(scene);<br>
stage.setTitle("JDK-8371781");<br>
stage.show();<br>
}<br>
<br>
public static void main(String[] args) {<br>
launch();<br>
}<br>
}<br>
<br>
Best regards, Pavel<br>
<br>
<div class="moz-cite-prefix">On 11/18/25 18:21, Kevin Rushforth
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c97b9fac-85fa-4424-883d-42fe0a4fe860@oracle.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Regarding the second issue, JDK-8372108, I will add your
additional information as a comment and reopen the bug.<br>
<br>
Regarding the first issue, I see the following, which I presume is
the one you filed?<br>
<br>
JDK-8371781: Popup for ComboBox, Menu, and Tooltip is not shown
sometimes in JavaFX<br>
<br>
I don't know why you didn't receive notification when it was
processed and transferred to the JDK project in JBS. I see that it
was closed as not reproducible. Do you have additional information
that would help reproduce it?<br>
<br>
-- Kevin<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/18/2025 8:06 AM, PavelTurk
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f695d40f-dbf2-4265-b0e8-c8f6774b681d@gmail.com"> Hello
everyone,<br>
<br>
On November 10, I opened an issue (using the new redesigned
form), and the system showed me the ID
23c3711c-36b1-4b94-a0d3-25bbdcf1b95f. The issue was about the
fact that PopupWindow is not always shown on Linux systems, and
I described how to reproduce the bug using a Tooltip. However, I
still haven’t received any information about my issue.<br>
<br>
On November 16, I opened another issue (using the old form)
about a memory leak in Tab that is related to GRAPHIC. Today I
received a message that the issue is JDK-8372108. However, my
issue was immediately closed with a note saying that it is a
duplicate of JDK-8283449. But it is NOT a duplicate. JDK-8283449
is related to a problem in ContextMenu. I know this issue and I
use the following workaround:<br>
<br>
contextMenu.getProperties().put(KEY, new
WeakReference<Tab>(tab));<br>
<br>
MenuItem close = new MenuItem(..);<br>
close.setOnAction((e) -> {<br>
var t = getTab(contextMenu); // from properties<br>
});<br>
<br>
The issue I reported is related to <code data-start="1059"
data-end="1068">graphic</code>. So I believe that there are
TWO separate problems with tabs that lead to memory leaks.<br>
<br>
Best regards, Pavel<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>