meteor-client icon indicating copy to clipboard operation
meteor-client copied to clipboard

[Bug] Mouse position is not recognized correctly on HUD

Open EthanZeigler opened this issue 3 years ago • 5 comments

Describe the bug

Meteor registers clicks on the HUD on the wrong position on the screen, exactly half the x/y position it should be. This issue on 0.5.0+mc1.19 was limited to the colorpicker module, but it is now affecting the HUD as well on 0.5.1+mc1.19.1

2022-07-30_21 52 19

The highlight in the example screenshot is not drawn on and appears when clicking on the HUD. It seems like the original click location is registered correctly, but the cursor position is wrong causing the HUD to think you're clicking and dragging.

Steps to reproduce

1. Load meteorclient on macOS with below versions
2. Open the meteorclient HUD configuration tab
3. Edit the HUD.
4. Attempt to click on a module onscreen

Expected: meteor registers a click at the clicked spot of the screen

Actual: Meteror registers a _click_ at the clicked spot, but the cursor is recognized in the wrong location interrupting the click attempt in the first place.

Meteor Version

0.5.1

Minecraft Version

1.19.1

Operating System

macOS

Before submitting a bug report

  • [X] This bug wasn't already reported. (I have checked every bug report on github)

  • [X] This is a valid bug. (I am able to reproduce this on the latest dev build)

EthanZeigler avatar Jul 31 '22 02:07 EthanZeigler

Bump on this issue. Experiencing the same thing @MineGame159

cakarlen avatar Aug 05 '22 00:08 cakarlen

Updating with context from the developer in a discord channel:

[9:43 PM] Me: Speaking of stuff though, @seasnail have you seen this yet? https://github.com/MeteorDevelopment/meteor-client/issues/2589
[9:44 PM] seasnail: its a macos issue
[9:45 PM] seasnail: idk what causes it
[9:45 PM] seasnail: hopefully the new gui lib will fix it
[9:45 PM] Me: Any eta on that?
[9:45 PM] seasnail: no
[9:45 PM] seasnail: still needs to be completed
[9:45 PM] seasnail: before we implement it into meteor
[9:46 PM] Me: I might just manually make a build that divides it by 2 for now lol
[9:46 PM] seasnail: well its not that simple
[9:46 PM] Me: Rats
[9:47 PM] seasnail: macos renders everything at double resolution for some reason
[9:47 PM] seasnail: which tends to cause issues as one might imagine
[9:47 PM] Me: Retina display system probably
[9:47 PM] seasnail: yeah exactly that
[9:48 PM] Me: The screens originally worked via having 2 of them with a slightly offcentered grid iirc
[9:48 PM] seasnail: you can try out the new gui library

EthanZeigler avatar Aug 06 '22 01:08 EthanZeigler

no way

gigglingbed avatar Aug 06 '22 18:08 gigglingbed

What's the best way to try out the new GUI library?

cakarlen avatar Aug 08 '22 02:08 cakarlen

https://github.com/MeteorDevelopment/pulsar/tree/master/example/src/main/java/meteordevelopment/example run any of these

gigglingbed avatar Aug 09 '22 16:08 gigglingbed

#2661

gigglingbed avatar Sep 08 '22 01:09 gigglingbed