Tiny window in F44

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Tiny window in F44

wqso
This post was updated on .
Hi, I updated my linux system into Fedora 44 (Workstation Edition Prerelease) recently. Then I found this app window to be very tiny. I set the GUI scale as 2.2 or 2.5 and got a relatively normal size of the main window. But the Data Processor and Coordinate Converter windows are still very tiny. What can I do to get the windows with normal sizes?
Reply | Threaded
Open this post in threaded view
|

Re: Tiny window in F44

karenacollins
Administrator
Which version of AIJ are you running?

Karen
Reply | Threaded
Open this post in threaded view
|

Re: Tiny window in F44

wqso
I'm running 6.0.4.00
Reply | Threaded
Open this post in threaded view
|

Re: Tiny window in F44

karenacollins
Administrator
Can you confirm that you have system/OS display scaling set to something other than 1.0?

Apparently Fedora 44 has switched from X11 display interface to Wayland display interface. After searching for Fedora 44 Java scaling problems, it appears that there is either a bug in Wayland or a bug in Java. Fixes to either of those is out of our control. The bug is already reported within the Java development team, but there is no scheduled fix at the time of this response. I don't know if that is because it has not be prioritized, there is no solution identified yet, or if Java developers believe the problem could be on the Wayland side.

1) The built in ImageJ scaling does not work reliably for AstroImageJ (as you have found), so we need to reset it to the default. Go to AIJ Toolbar > Edit > Options > Appearance and set "GUI scale" to 1.0. You probably want to make sure "Menu font size" is set to 14 points also.

2) Close AIJ and reboot or power cycle your computer.

3) Check to see if the following file exists on your computer:
~/.local/astroimagej/AstroImageJ_Overlay.cfg

4) If the files does exist (if not jump to step 5), use your favorite text editor and open it. Go to the last line in the file and press enter to create a new line at the bottom. Copy and paste the following text into the new last line of the file:

java-options=-Dsun.java2d.uiScale=1.5

It is somewhat unintuitive the way the scaling works, but a uiScale of 1.5 doubles the size of windows, 2.5 triples the size. The value can be in the range 0.5 to 3.0. A value of 1.0 should return to the unscaled window display size.

5) If the file in step 3 does not already exist, then create a new text file with that name in that location. Open the file using your favorite text editor. Add the following two lines:

[JavaOptions]
java-options=-Dsun.java2d.uiScale=1.5

See the scaling settings listed in step 4 if you want a size different than 2x.

6) Save the text file to disk.

7) Start AIJ and it should be using the new scaling for all AIJ windows.

- The only limitation we have noticed is that the window names in the window title (above the window) may not be scaled. That information is usually not important.

We hope that some time in the future the problem will be fixed in Java or Fedora.

Karen











Reply | Threaded
Open this post in threaded view
|

Re: Tiny window in F44

wqso
Hi, Karen,

I did as you described and set a uiScale=2.5 and all AIJ windows have normal sizes. Thank you very much!