Yes, JDK-8371781 is my issue. I understand why it was marked as 
non-reproducible. And that’s the main problem!
This issue is clearly described both in the title — SOMETIMES — and in the 
FREQUENCY: OCCASIONALLY field.
I specifically recorded a video to prove this issue — 
https://streamable.com/6n72cn  (expires in 2 days) —
and I was able to reproduce it only on the second or third attempt.

However, this issue is one of the most insidious problems in JavaFX on Linux. I 
talked to users on Reddit —
many people have heard about it. The reason is that SOMETIMES the menu simply 
doesn’t appear: a user clicks,
but the menu window doesn’t show up. Because of this, SOMETIMES the ComboBox 
doesn’t work — you click,
click, click, but the dropdown doesn’t appear. Maybe, the the window is shown, 
but it is UNDER the current window.

Best regards, Pavel

On 11/18/25 18:21, Kevin Rushforth wrote:
Regarding the second issue, JDK-8372108, I will add your additional information 
as a comment and reopen the bug.

Regarding the first issue, I see the following, which I presume is the one you 
filed?

JDK-8371781: Popup for ComboBox, Menu, and Tooltip is not shown sometimes in 
JavaFX

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?

-- Kevin


On 11/18/2025 8:06 AM, PavelTurk wrote:
Hello everyone,

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.

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:

contextMenu.getProperties().put(KEY, new WeakReference<Tab>(tab));

MenuItem close = new MenuItem(..);
close.setOnAction((e) -> {
      var t = getTab(contextMenu); // from properties
});

The issue I reported is related to |graphic|. So I believe that there are TWO 
separate problems with tabs that lead to memory leaks.

Best regards, Pavel



Reply via email to