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

Mouse clicks are far from target location at 150% display scaling #3744

Open
MDSchechtman opened this issue May 14, 2024 · 5 comments
Open

Comments

@MDSchechtman
Copy link

MDSchechtman commented May 14, 2024

Expected Behaviour

Clicking an object, such as a star, selects that object.

Actual Behaviour

Clicking appears to be offset by a large amount, resulting in distant objects being selected when trying to select a specific target such as a star.

Steps to reproduce

Click a large bright star. Notice that it does not select, and some other star might have been selected instead.

Video: https://www.youtube.com/watch?v=JFXye0eKMHw

I assume this is related to the combination of Arch+KDE+wayland on a 4k monitor with display scaling, and if anyone has advice I would appreciate it.

System

  • Stellarium version: 24.1 (flatpak version)
  • Operating system: EndeaouvorOS (arch based)
  • Graphics Card: Radeon 7900XTX
  • Screen type (if applicable): 4k @ 150% scaling, wayland under KDE 6

Logfile

log.txt

@gzotti
Copy link
Member

gzotti commented May 14, 2024

Duplicate of #3733

@gzotti gzotti marked this as a duplicate of #3733 May 14, 2024
Copy link

This issue already exists.

@MDSchechtman
Copy link
Author

MDSchechtman commented May 14, 2024

@gzotti This issue is not a duplicate of #3733.

My issue does not only occur at high zoom, but at any zoom. We're not talking about nearby stars being selected, but stars roughly three to five inches away on my screen.

Please see the linked video.

@gzotti gzotti reopened this May 14, 2024
@gzotti gzotti removed the duplicate label May 14, 2024
@gzotti gzotti added this to Needs triage in OS: Linux/UNIX via automation May 14, 2024
@alex-w alex-w added this to Needs triage in Hardware: HiDPI via automation May 16, 2024
@alex-w
Copy link
Member

alex-w commented May 16, 2024

@MDSchechtman could you’re checking the behavior with 100% and 200% scaling of the screen?

@MDSchechtman
Copy link
Author

MDSchechtman commented May 17, 2024

@alex-w No issue at 100% or 200% display scaling.

I did find something else interesting though: initially when Stellarium opens at 150% display scaling, clicking will be accurate but only as long as the window is not resized. After resizing (or going into full screen), clicking is wildly off again and will remain so until the application is restarted.

Resizing the window at 100% and 200% scaling were still fine.

Updated the title.

@MDSchechtman MDSchechtman changed the title Mouse clicks are far from target location Mouse clicks are far from target location at 150% display scaling May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Hardware: HiDPI
  
Needs triage
OS: Linux/UNIX
  
Needs triage
Development

No branches or pull requests

3 participants