• Godot Help
  • Windows Cursor appears on the edge of the screen in fullscreen mode

Hey all.

(update: issue persists in versions 3.4.5 and 3.5.1)
(update: added a video (fullscreen mode) of what it looks like)

My Godot version is: 3.4.4. Running on Windows 10. Testing on my laptop (native Windows display resolution is 1536x864). I'm attaching a test project that's pretty much empty. All it has is a Node2D with these 2 lines of code:
func _ready():
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)

The project starts automatically in fullscreen mode (via settings).

On my laptop, but not the laptop of a friend who tested the test project, the windows mouse cursor would appear when you drag the cursor to the far right and left edges of the screen in fullscreen mode.

So it has to be a glitch with Godot?

How do I fix it / work around it?

(I'd hate to update Godot, cause some of the functions I use in my main project have been deprecated in the most recent Godot version. And I'd hate to use the CAPTURED mode for the mouse, as that would mean rewriting a lot of code that is based on the mouse position.)

Thanks!

Link to project:
https://easyupload.io/i1aiad

Video of what the problem looks like:
https://easyupload.io/eehp0n

  • It doesn't happen on Ubuntu, but I do see it on Windows 11. It my case the cursor displayed on the top and left edges (bottom and right were hidden).

    I was able to fix it by enabling HiDPI in the project settings. You usually want this enabled anyhow, so that's a good thing to have on.

    However, it still is a glitch and should be reported.

It doesn't happen on Ubuntu, but I do see it on Windows 11. It my case the cursor displayed on the top and left edges (bottom and right were hidden).

I was able to fix it by enabling HiDPI in the project settings. You usually want this enabled anyhow, so that's a good thing to have on.

However, it still is a glitch and should be reported.

  • Owl replied to this.