Helioviewer-Project / JHelioviewer-SWHV

Space Weather JHelioviewer ☉
https://swhv.oma.be
Mozilla Public License 2.0
49 stars 16 forks source link

Three suggestions for JHV #249

Open GitatHub opened 1 year ago

GitatHub commented 1 year ago

My environment is Ubuntu 22.04.3 LTS with a 4K display (200% scaled).

Three suggestions for JHV (see the screen snapshot below):

  1. the checkbox before a layer is too narrow;
  2. is it possible to add an option (like the X in the snapshot) to remove the current layer?
  3. the New Layer drop-down box is too narrow and cannot always show the key text of a layer with a long name, for example, a "SECCHI" instrument.

image image

bogdanni commented 1 year ago

Please run it under Gnome as described at http://swhv.oma.be/user_manual/#linux That is, in your case, jhelioviewer -J-Dsun.java2d.uiScale=2

The issue is that the JRE cannot determine reliably the pixel scaling under Gnome (the other Linux desktop environments work correctly).

GitatHub commented 1 year ago

Thank you. Now the GUI is displayed normally. BTW, is it possible to add the scale option in the Settings of JHV, just like ImageJ as shown in the screenshot. Thanks.

Please run it under Gnome as described at http://swhv.oma.be/user_manual/#linux That is, in your case, jhelioviewer -J-Dsun.java2d.uiScale=2

123

The issue is that the JRE cannot determine reliably the pixel scaling under Gnome (the other Linux desktop environments work correctly).

bogdanni commented 1 year ago

I would prefer that it works correctly without any setting. It works under the IntelliJ JRE, for example. For a while, that version was distributed with the packages, but it had other bugs which made the program unstable.

I will try again to find a solution (already spent many hours on this).