Skip to content

NB30 hangs on startup when modal popup are shown #9524

Closed

Description

@stefanofornari

Apache NetBeans version

Apache NetBeans 30

What happened

I run NB 30 full screen with a maximized tab. I see a number of popups like the ones in the attached screen. One of them appears even before the NB UI is initialised other comes later. if I click outside any popup they all disappear (I guess they go behind the main window). However, being modal, NB hangs forever. I also attach a few thread dumps.

Image

st3.txt
st2.txt
st1.txt

Language / Project Type / NetBeans Component

not relevant

How to reproduce

I do not know how to reproduce a modal at startup... but I guess that if you do it, you run into the issue.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Ubuntu

JDK

OpenJDK 64-Bit Server VM (21.0.11+10-1-24.04.2-Ubuntu mixed mode, sharing):

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bug
    needs:triage
    on Jul 18, 2026
  2. matthiasblaesing commented on Jul 19, 2026

    @matthiasblaesing
    Contributor
  3. stefanofornari commented on Jul 20, 2026

    @stefanofornari
    Author

    Hi, I think that is not actually the root cause of the problem reported here. The issue here is that NB hangs, not the popups (which may be another issue).

  4. neilcsmith-net commented on Jul 21, 2026

    @neilcsmith-net
    Member

    Yes, this could also be a timing thing causing incorrect dialog parenting if this is happening early in the startup. The problematic dialog should possibly be shown after the main window is ready. If you're using FlatLaf's support for look and feel decorated windows, this can cause issues with modals. If this recurs, can you drag the main window out of the way using META+<mousedrag>, access the dialog, and get startup to complete normally?

  5. stefanofornari commented on Jul 21, 2026

    @stefanofornari
    Author

    As soon as it will happen I will try, but I am not sure I can move the window when it is maximized...

  6. added a commit that references this issue on Jul 22, 2026
    1c51aee
  7. stefanofornari commented on Jul 26, 2026

    @stefanofornari
    Author

    As soon as it will happen I will try, but I am not sure I can move the window when it is maximized...

    On Linux, there is no way to resize/move the window when maximized.

  8. neilcsmith-net commented on Jul 26, 2026

    @neilcsmith-net
    Member

    On Linux, there is no way to resize/move the window when maximized.

    The meta/super drag behaviour works with maximised windows for me https://help.ubuntu.com/stable/ubuntu-help/shell-windows-states.html.en

    More importantly, does your comment also mean you're still seeing the issue with rc2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugneeds:triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions