Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.48k stars 809 forks source link

Fault to render on secondary Hdpi (4K) monitor #3573

Open Franco-64 opened 8 months ago

Franco-64 commented 8 months ago

Hi, after a fresh installation and a change of some line in [video] section of config.ini, Stellarium opens correctly in the secondary 4K display, at full screen. But the planetary image occupies only a section of the screen (see image). It seems also that the selection of sky objects in misaligned with what I see in monitor (I can click and have some results in the black area), as the app sees "internally" as the visualization was in full screen. No change after i pressed F11 twice.

This is my video section of config.ini:

[video] dithering_mode = color888 fullscreen = false maximum_fps = 10000 minimum_fps = 18 screen_h = 2160 screen_number = 1 screen_w = 3840 screen_x = 0 screen_y = 0 tm_display_adaptation_luminance = 50 viewport_effect = none

Expected Behaviour

Rendering full screen

Actual Behaviour

stellarium

Steps to reproduce

After a fresh installation of latest stable version (stellarium-23.4-qt5-win64.exe)

System

Logfile

log.txt

github-actions[bot] commented 8 months ago

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

10110111 commented 8 months ago

Does this still happen if you disable HiDPI scaling?

Franco-64 commented 8 months ago

It depends. I use 200% scaling on 4K monitor for best viewing of menu and windows, and the behavior is uncorrect as described. If I use 150% or less, is OK. With a scale of 175% or more, the issue reappers.

Issue is present in both case: if I launch the app after rescaling, and if I rescale when Stellarium is open.

Note: only at "recommended choice" (150%) it is possible to point, click and obtain correct result of recognition of sky obiects. At other resolutions (also the less enlarged, 100% and 125%, with full screen rendering) object recognition is misaligned.

Hope to help...

10110111 commented 7 months ago

Does this happen in previous versions of Stellarium, like 23.2 and 23.3?

github-actions[bot] commented 3 months ago

Hello @Franco-64!

We really need your feedback.