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.54k stars 813 forks source link

Click to select a star at high zoom gets the wrong star #3733

Open GrandfatherJ opened 4 months ago

GrandfatherJ commented 4 months ago

Issue noticed at high zoom with FOV < 0.4 and all star catalogues loaded.

Expected Behaviour

Click on a star to select it and view its details.

Actual Behaviour

A nearby star is selected instead of the star clicked on.

Steps to reproduce

1/ With star catalogues loaded so that stars to 16th mag centre on Mimosa in the Southern Cross and zoom so that the FOV is 0.2 degrees or less. To the left of Mimosa is a 11.45 mag white star. 2/ Click on the star. 3/ Notice that the 15.5th mag star nearby is selected instead

The correct star can be selected by clicking on the opposite side of the correct star about the same distance as the incorrectly selected star is.

image

System

Log file

log.txt

Atque commented 4 months ago

I can reproduce this but only with aberration enabled.

GrandfatherJ commented 4 months ago

It may be related to catalogue search order. In my playing around faint stars seem to be preferred. In the image below I clicked on the bright star below and slightly left of the selected star. The issue doesn't happen with any of the other bright stars in the screen shot.

image

Note that aberration is enabled by default. I guess with the default catalogue only this may not happen at all, or there are so few close bright stars it's not much of a problem. Complete pain when it does happen though!

gzotti commented 4 months ago

Yes, the anti-aberration of the clicked point may need some improvement. However, even with A. disabled, sometimes some stars just don't like to be clicked, so there may even be more to fix. Combine this with the need to re-investigate the catalog algorithms altogether for slight misbehaviour. For now you describe what to do: click a bit to the other side.

github-actions[bot] commented 1 month ago

Hello @GrandfatherJ!

OK, developers can reproduce the issue. Thanks for the report!