I saw the FlatLAF issue https://github.com/JFormDesigner/FlatLaf/issues/887 
suggested the corruption could relate to FlatLAF's rounded popup menu feature. 
Perhaps some screen/component coordinate conversion is going wrong somewhere, 
e.g. due to HiDPI scaling and multiple monitors.

In my own NetBeans Platform app, and in my working NetBeans IDE, I found that 
the rounded popup menus made popups slightly sluggish on Windows (I could see 
them being drawn for a moment when they open). So I just disabled them in my 
custom build.

Unless people specifically like the rounded style, we might consider just 
switching to non-rounded menus in NetBeans.

-- Eirik

From: Jerome Lelasseux <lelass...@yahoo.com.INVALID>
Date: Saturday, February 1, 2025 at 9:15 AM
To: NetBeans Mailing List <users@netbeans.apache.org>
Subject: Re: Corrupted display NB230+Nvidia ?

Thanks!

Le samedi 1 février 2025 à 11:35:09 UTC+1, Neil C Smith <neilcsm...@apache.org> 
a écrit :


On Sat, 1 Feb 2025 at 04:15, Michael Bien 
<mbie...@gmail.com<mailto:mbie...@gmail.com>> wrote:
> -J-Dsun.java2d.d3d.onscreen=false will likely solve it right away, but
> it essentially turns off hardware acceleration on windows. Ideally a
> driver update should fix it.

It turns off a subset of acceleration.  Not completely sure what as
the flag seems a little under-documented*

On the other hand, the IDE ships with -J-Dsun.java2d.noddraw=true in
netbeans.conf so does turn everything off by default.

* although there is
https://github.com/openjdk/jdk/blob/master/src/java.desktop/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java#L185

Best wishes,

Neil


---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@netbeans.apache.org<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: 
users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to