eirikbakke commented on PR #9303: URL: https://github.com/apache/netbeans/pull/9303#issuecomment-4155477636
> This started being a problem when we stopped using the JDK splash. And why we get duplicate icons in Linux docks if relying solely on matching against WM_CLASS. Oh, interesting. So the JVM splash becomes a possible workaround. There seems to be two options: 1) Re-enable USE_LAUNCHER_SPLASH on Linux, ideally making it work with HiDPI screens first. The latter would likely require storing a "[email protected]" file in the cache directory along with splash.png. (See [GetScaledImageName](https://github.com/openjdk/jdk/blob/jdk-27%2B15/src/java.desktop/share/native/libsplashscreen/splashscreen_impl.c#L399) in OpenJDK for the naming convention per JDK-8151787.) 2) Set WM_SCALE in Splash.java, with the challenge Neil mentioned of finding out what the right value should be. Might be good for a separate PR after this one is merged, since I suspect the threading and cleanup stuff will make this one complex enough already. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
