godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.6k stars 19.3k forks source link

Godot Window Offsets 1 Pixel Up & Down When Open #91912

Open squidipe opened 1 month ago

squidipe commented 1 month ago

Tested versions

System information

Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 31.0.15.3742) - AMD Ryzen 9 6900HS with Radeon Graphics (16 Threads)

Issue description

Whenever I use the application, the window will frequently offset a pixel up, leaving a black bar across the window, then go back to normal. My laptop's display resolution and scale is 2560 x 1440 and 125%, respectively. I've also tested different combinations, like 1920 x 1080 with 100%, 125% and 150%, and 2560 x 1440 with 100% and 150%. Please let me know if you need any more information! I'd love to use Godot, but I can't handle the window shifting.

Steps to reproduce

No idea how to reproduce this, perhaps set the resolution and scale to what I have? Sorry, I'd put more information if I could.

Minimal reproduction project (MRP)

N/A

Calinou commented 1 month ago

Are you using the editor in fullscreen or maximized? Do you have a multi-monitor setup?

Can you reproduce this after enabling the Single Window Mode editor setting and restarting the editor?

squidipe commented 1 month ago

I tried using Godot in fullscreen, maximized and windowed and all modes were affected. I have only one monitor. When I enabled Single Window Mode, it continued to offset.

Edit: Just remembered that this ALSO happens in Gamemaker Studio 2, but none of my other applications. No idea what that means, heck, it could just be a coincidence, but it's weird that apparently only game making applications are affected. I'm not sure if that information is any help, but I wanted to add it just in case.