netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Splash screen always on top of everything

Open riksoft opened this issue 6 months ago • 4 comments

Apache NetBeans version

Apache NetBeans 26

What happened

While loading Netbeans, that at first start takes 30s or even more, I can't use the computer because the splash screen is in the middle and on top of everything. The splash screen should behave like a standard window. Maybe it's my bad but I haven't found any option to change such behaviour. I've tried to circumvent the problem disabling the splashscreen with -J-Dnetbeans.nosplash=true but didn't work.

Language / Project Type / NetBeans Component

No response

How to reproduce

Simply launch Netbeans and try to move another software over the splash screen.

Did this work correctly in an earlier version?

Apache NetBeans 21 or earlier

Operating System

Debian 12

JDK

OpenJDK Runtime Environment 17.0.15+6-Debian-1deb12u1

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

riksoft avatar Jun 04 '25 10:06 riksoft

The option you're looking for is just --nosplash. eg. netbeans --nosplash should work for you.

neilcsmith-net avatar Jun 04 '25 10:06 neilcsmith-net

Yes it works. Thanks. However would be nice to have by default a splash screen that doesn't bother the user forcefully staying on top of the world. What's the purpose of annoying the user forcing the splash screen on top of everything? It's the only software I know with such annoying behaviour.

riksoft avatar Jun 04 '25 10:06 riksoft

The behaviour was added via https://bz.apache.org/netbeans/show_bug.cgi?id=215320 It might be that we should relook at that. I don't think window managers generally treat _NET_WM_WINDOW_TYPE_SPLASH like this any more either. I'll reopen for now (there's another issue related to _NET_WM hints in splash that needs looking at anyway), but changing this one will need testing across OS.

neilcsmith-net avatar Jun 04 '25 11:06 neilcsmith-net

would be good to make it non-modal from the debugging perspective too. I remember once having to disable the splash when setting a breakpoint somewhere in the bootstrap code.

While loading Netbeans, that at first start takes 30s or even more,

this is unusually slow. I think I see the splash screen for about 5s and my system isn't the newest anymore.

mbien avatar Jun 05 '25 21:06 mbien