godotengine / godotengine/godot
Entire lower part of screen shifts up 2px during textbox actions
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
- Reproducible in v4.2.2.stable.official [15073afe3]
### System information
Godot v4.2.2.stable - Windows 10.0.22631 - GLES3 (Compatibility) - AMD Radeon(TM) RX 7700S (Advanced Micro Devices, Inc.; 31.0.22024.17002) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)
### Issue description
Some text/menu related actions cause a large section of the screen intermittently shifting up one or two pixels, presumably overwriting 1-2 rows of pixels at about the 403~405 mark. Any dropdown menus experiencing this issue have a shift line at a different height than the main window.
### Steps to reproduce
The issue presents when using my dedicated graphics (AMD Radeon RX 7700S) in conjunction with any of the below triggers:
- Script View: Caret (text cursor bar thing) is in a textbox and there is no mouse movement, the shifting occurs at a consistent roughly half second interval
- 2D View: Moving the mouse over the "Output", "Debugger", etc. buttons
- Any View: Fiddling with the top-left menu buttons (ie. clicking once on Scene, going over the menu, then back up to the menu bar and moving to a different menu without re-clicking the button so that it remains open as you open/collapse the menus on mouseover)
I am unsure of the *specific* triggers, but it may also be a driver issue with my graphics card, as switching to my APU resolves the mentioned issues (that, and I am using a Framework 17, which only began shipping 2 months ago so I am expecting hardware/driver jank.)
I suspect that very few, if any, other graphics cards have the same issue.
### Minimal reproduction project (MRP)
This issue is reproducible in a default project, and a new script/text file will produce this behaviour.
Contributor guide
Research direction
No source file or test is named. Start by reproducing the issue in a default project with a new script, exercising the Script View caret, 2D View buttons, and top-left menus on the dedicated AMD GPU and then the APU; done means the lower screen no longer shifts during those actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, godot
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100