Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The date and time window is too large #2722

Closed
psknick opened this issue Oct 4, 2022 · 17 comments
Closed

The date and time window is too large #2722

psknick opened this issue Oct 4, 2022 · 17 comments
Assignees
Milestone

Comments

@psknick
Copy link

psknick commented Oct 4, 2022

Hello!
In version 1.22.3, the size of the Date and Time window turned out to be disproportionately large. This size of the window makes it difficult to work with the image of the starry sky. If possible, please add the ability to customize the size and font size of this window. Also, if possible, add the function of disabling the Julian days tab.
Thank you!

@alex-w
Copy link
Member

alex-w commented Oct 4, 2022

Also, if possible, add the function of disabling the Julian days tab.

Why you want it?

@psknick
Copy link
Author

psknick commented Oct 4, 2022

For me, the Julian day tab is not relevant and it takes up space on the screen.

Now I have returned version 0.22.2 and in version 1.22.3 all windows have become larger and this is very unusual.

Maybe I think so, but in windows version 1.22.3 there are problems with fonts - they seem not sharp. In version 0.22.2 there are no problems with sharpness.

@alex-w
Copy link
Member

alex-w commented Oct 4, 2022

Hmm... Please try 0.22.3 also.

@psknick
Copy link
Author

psknick commented Oct 4, 2022

I tried ... Very strange! Such differences... The first photo is 1.22.3. Second photo 0.22.3.
I have Windows 11 full license with all updates. Monitor 24 inches.

Very unusual look Qt6...

If possible, add at least the ability to customize the size and font size of the Date and Time window. This window constantly sticks out on the screen and the new version takes up a lot of space on the screen.
Thank you!

2
1

@10110111
Copy link
Contributor

10110111 commented Oct 4, 2022

Looks like high-DPI scaling is on. The difference between Qt5 and Qt6 is that the latter supports fractional scaling factors, while the former rounds them by default.

Let me guess: you have 125% scaling set in Windows display settings, right?

@psknick
Copy link
Author

psknick commented Oct 4, 2022

Yes, indeed 121%. Otherwise, everything is too small on the monitor. And what should I do?

@10110111
Copy link
Contributor

10110111 commented Oct 4, 2022

Somehow you need to pass QT_SCREEN_SCALE_FACTORS=1 environment variable to Stellarium. I need some time to learn how to do it in Windows.

@10110111
Copy link
Contributor

10110111 commented Oct 4, 2022

OK, that variable doesn't appear to work for some reason. Anyway, here's what you can do:

Open Properties of the shortcut you use to start Stellarium. Change the path field from e.g.

"C:\Program Files\Stellarium\Stellarium.exe" -platform windows:altgr

to the following:

c:\windows\system32\cmd.exe /c "set QT_ENABLE_HIGHDPI_SCALING=0 && start ^"c:\Program Files\Stellarium^" stellarium.exe  -platform windows:altgr"

The point is to start Stellarium with QT_ENABLE_HIGHDPI_SCALING=0 environment variable set.

@psknick
Copy link
Author

psknick commented Oct 4, 2022

Thank you very much! In version 1.22.3, everything started to look just fine!

@alex-w
Copy link
Member

alex-w commented Oct 22, 2022

The point is to start Stellarium with QT_ENABLE_HIGHDPI_SCALING=0 environment variable set.

@gzotti @10110111 Maybe adding another startup shortcut can help here?

@10110111
Copy link
Contributor

IMHO there are already too many of them. It would be better to have a GUI already to choose from the kludges.

@psknick psknick closed this as completed Oct 22, 2022
@psknick psknick reopened this Oct 22, 2022
@gzotti
Copy link
Member

gzotti commented Oct 22, 2022

I have an optional (usually hidden) extension [gui]/flag_font_selection to select the main font. We could extend this to add a submenu dialog for "Font, screen scaling, (other tweaks?)". Settings should be stored immediately. The environment variable will likely need a program restart, but Ruslan probably found where to set them early enough in the start sequence.

@psknick
Copy link
Author

psknick commented Oct 22, 2022

"[gui]/flag_font_selection"

I have customized the fonts. As a result, the size of the Date and Time window has decreased. Everything turned out very well. Thanks!
2022-10-22_14-50

@psknick
Copy link
Author

psknick commented Oct 22, 2022

"[gui]/flag_font_selection"
This setting is very, very useful - please enable it by default in the next releases. Thanks!

@alex-w alex-w added this to the 23.2 milestone Apr 3, 2023
@alex-w alex-w mentioned this issue Apr 3, 2023
4 tasks
@10110111
Copy link
Contributor

10110111 commented Apr 3, 2023

Fixed by #3157.

@10110111 10110111 closed this as completed Apr 3, 2023
@alex-w alex-w added the state: published The fix has been published for testing in weekly binary package label Apr 3, 2023
@github-actions
Copy link

github-actions bot commented Apr 3, 2023

Hello @psknick!

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@alex-w alex-w removed the state: published The fix has been published for testing in weekly binary package label Jul 2, 2023
@github-actions
Copy link

github-actions bot commented Jul 2, 2023

Hello @psknick!

Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants