-
-
Notifications
You must be signed in to change notification settings - Fork 850
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
Dragging around is very laggy when the Moon is selected zoomed out #3804
Comments
Actually I also just found out having a window that is not focused while dragging also make it very laggy, maybe the same root cause as this issue so I am just gonna post it here. Also cannot reproduce on Windows with Nvidia graphics. Here is a demo: Screen.Recording.2024-07-08.at.7.53.25.PM.mov |
@henrysky could you please check qt5-based package also? |
Does the object selection slowdown happen only with the Moon? What if you select Sun or some small unnamed star? |
Do you have a large number of asteroids/comets loaded? |
Thanks all for your reply! The strange thing is panning around only laggy if using the macbook touchpad when the Moon is selected but not mouse which similar thing actually have been mentioned in #2947. @alex-w using qt5 will also force it to use rosetta 2? @10110111 Yes only happen to the Moon when using macbook touchpad and zoomed out (it is fine if using a mouse no matter what the zoom level is). If select the Sun or other stars, it is fine even with macbook touchpad no matter what the zoom level is. And I notice the framerate is always good even when panning around is laggy. I think maybe the "halo" around the moon has something to do with this somehow. You can see in the following demo (using macbook touchpad only, no mouse) with atmosphere turned off (so you can see the halo effect around the moon), pan around is fine when the Moon is not selected. Then select the Moon, pan around is laggy. Then zoom in to the Moon until the "halo" disappeared, then pan around is very smooth. You can also see how much laggy-ness also seems to relate how much halo the Moon has when it is selected. My.Movie.mp4@Atque I did not add any asteroids/comets manually. |
Yes for rosetta 2 |
Sounds like the old (or yet another) Mac touchpad issue for me. |
I tried switching the atmosphere model to Preetham, the lag seems to completely gone. |
@worachate001 @henrysky would you make a screencast for both atmosphere models in the latest release? |
In Stellarium 24.3 (and dragging around with touchpad): For the main issue (Moon selected) For additional issue (unfocused window open): Controlling with mouse seems fine for every situation. Stellarium24.3-Preetham-withWindow.movStellarium24.3-ShowMySky-withWindow.mov |
@worachate001 Do you see any difference when using a mouse? Nevermind, I can't read. :( |
Looks like the remnant of #2778, which wasn't actually fixed, simply worked around (the actual bug is in Qt). You may have some success increasing |
Hint: |
Expected Behaviour
Dragging around even when the Moon is selected is not laggy.
Actual Behaviour
Dragging around is laggy when the Moon is selected when zoomed out. Mouse dragging is fine with other objects selected like the Sun, other planets, stars, nebulae...
This maybe is a MacOS specific issue as I cannot reproduce this issue on Windows with Nvidia graphics.
Steps to reproduce
Zoom out and select the Moon, it will be very laggy if you use your mouse to drag around. You can then select other object like the Sun, everything would be fine when you use your mouse to pan around. Selecting the moon when zoomed in does not have such issue, only zoomed out.
I have recorded a video to demonstrate
My.Movie.mp4
System
Logfile
log.txt
The text was updated successfully, but these errors were encountered: