Mouse position seems to have variable offset on kubuntu
See original GitHub issueEnvironment
- LWJGL version:
3.2.3
- LWJGL build #:
not sure
- Java version:
java 11 (jet brains run time/corretto)
- Platform:
Kubuntu Linux 20.10
- Module:
not sure
Description
I seem to be having issues other people don’t have with the mouse position callback It seems my mouse has a variable offset which grows or shrinks depending on where my mouse is on the screen.
I have reproduced it on the guys end doing the tutorial and he seems to not have the issue or anybody else.
here is the code… https://github.com/Shadowblitz16/Jade
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Offset between cursor and actual click location - KDE Forums
I have a convertible Laptop with a touch screen and stylus / pen support. I've set global scaling to 125%. This offset changes...
Read more >Wacom - Cursor offset in a few programs only
When putting the window there, minus KDE's taskbar and the program's titlebar, it seems to click directly below the cursor's position.
Read more >2011066 – Real cursor position is slightly offset from ...
For me the real position is always slightly above and to the left of the 'apparent' position. This is particularly noticeable when drag-selecting...
Read more >MouseY has an offset in a SDL decorated window · Issue #2151
My Issue/Question: The mouse y position is offset by the height of the title bar. ... In this piece of code the mouse...
Read more >How to fix Java applications mouse pointer offset in Awesome ...
You need to add special definitions to the source for the window manager, in my experience. I had this happen to me a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @Shadowblitz16, thanks for the test project.
The problem you’re seeing is a simple rendering bug and has nothing to do with mouse input. The code is missing a call to
glViewport
, which usually happens within a callback passed toglfwSetFramebufferSizeCallback
. Everything is fine when it’s added. You probably have a HiDPI monitor (with scale set to >100%) while other users don’t.ok thankyou