sijskes commented on issue #7780:
URL: https://github.com/apache/netbeans/issues/7780#issuecomment-2656864775

   Would it be possible, to change this logic into setting J2D_UISCALE=2 ? 
   
   When i'm developing a desktop application, that 'exec's another GUI 
application, like via xdg-open, the environment of that process inherits the 
GDK_SCALE, and in for instance 'atril' (pdf viewer) this results in 4x scaling.
   
   I've tested it with J2D_UISCALE, and for now good results. 
   
   I does not work without both J2D_UISCALE or GDK_SCALE, because then the 
fonts are really small.
   
   
   Removing this logic is an option too. All java programs on my 
X11-ubuntu-mate desktop suffer from small fonts, so i've set J2D_UISCALE=2 in 
my profile script.
   
   Because of the logic in JDK 21 (others i have not checked) the JDK ignores 
the GDK_SCALE when J2D_UISCALE is set.
   
   Maybe we need to suggest to HiDPI users for this combinations of factors to 
set the variable in the profile (during netbeans startup)?
   
   I'm not sure if this next stage in X11-ubuntu-mate scaling signalling is a 
permanent one, and if it is valid on on other platforms than Ubuntu 24.04.2 LTS 
(noble). I've had severe UI scaling issues in the past with older JDK's and 
older desktops.
   
   I'm willing to test new versions of the startup script.
   
   
   
   
   


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-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