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

ctrl + mouse drag stuck in time mode #4011

Open
zsarosi opened this issue Dec 16, 2024 · 9 comments
Open

ctrl + mouse drag stuck in time mode #4011

zsarosi opened this issue Dec 16, 2024 · 9 comments

Comments

@zsarosi
Copy link

zsarosi commented Dec 16, 2024

When using Stellarium on Linux, if I hold the Ctrl key and drag the mouse with the left button pressed to manipulate time, the application works as expected. However, after releasing both the Ctrl key and the left mouse button, the mouse cursor remains in "time-drag" mode and the normal view dragging functionality gets stuck. The view cannot be dragged normally with the mouse until Ctrl + 1 is pressed to reset the navigation mode.

Expected Behaviour

After releasing the Ctrl key and left mouse button, the mouse should return to normal view-drag mode. The time-drag mode should be disabled, and I should be able to drag the view as usual.

Actual Behaviour

After releasing Ctrl and the left mouse button, the application remains stuck in "time-drag" mode. The mouse does not function as expected for normal view dragging until I press Ctrl + 1 to reset the view mode.

Steps to reproduce

  1. Open Stellarium.
    
  2. Press and hold the Ctrl key and click the left mouse button.
    
  3. Drag the mouse to change the time (time drag mode).
    
  4. Release the Ctrl key and left mouse button.
    
  5. Attempt to drag the view with the mouse as usual (view drag).
    
  6. The view remains stuck in the "time-drag" mode, and the mouse can no longer drag the normal view.
    

System

  • Stellarium version: 24.3 (Snap)
  • Operating system: Ubuntu 22.04
  • Graphics Card: I am using Lenovo T14s (it has integrated Intel chipset, no extra graphics card)
  • Screen type (if applicable): Laptop screen
@gzotti
Copy link
Member

gzotti commented Dec 16, 2024

Interesting. On Windows, releasing the Ctrl key immediately switches to view-drag mode.

@alex-w
Copy link
Member

alex-w commented Dec 16, 2024

I can confirm described behaviour in specific case - see screencast.

2024-12-17.00-20-11.mp4

@gzotti
Copy link
Member

gzotti commented Dec 16, 2024

This looks like the normal (intended) behaviour. While time-dragging you can push the sky into motion (high timelapse) by releasing mouse button while dragging. Then, with the sky spinning, you should be able to drag the scene. (Of course, I don't see when you press Ctrl... [sorry, no audio on this PC, in case you announced it.])

@alex-w
Copy link
Member

alex-w commented Dec 16, 2024

Push the “sky” and release Ctrl under the scene :)

@alex-w
Copy link
Member

alex-w commented Dec 16, 2024

@zsarosi please make a screencast with comments

@zsarosi
Copy link
Author

zsarosi commented Dec 16, 2024

here is my screencast regarding the issue.

Screencast.from.16.12.2024.20.00.11.webm

@alex-w
Copy link
Member

alex-w commented Dec 16, 2024

@zsarosi please share file ~/.stellarium/config.ini

@zsarosi
Copy link
Author

zsarosi commented Dec 16, 2024

Here is the config.ini (i had to gzip it), there is nothing special in it, as I have just downloaded Stellarium snap before. I only updated the location to Zurich, everything else should be default.
config.ini.gz

@alex-w
Copy link
Member

alex-w commented Dec 26, 2024

Can't reproduce the issue in Windows (using attached config) - I'll check it in Ubuntu tonight

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

3 participants