Version info
v4.6.stable.mono.arch_linux
Compatibility renderer
Low processor mode
Project Settings > General > Display > Window > Scale Mode: fractional, but also occurs on integer
Happens on debug and release builds
I resize the 2nd scene in code:
var size = DisplayServer.ScreenGetSize(); DisplayServer.WindowSetSize(new Vector2I( Convert.ToInt32(size.X * 0.60), Convert.ToInt32(size.Y * 0.12 * ProgressBarManager.Count) ));
Question
Here’s the first scene:
Here’s my scene transition:
Here’s how it looks like on screen:
Here’s how it looks when I grab the window and move it even one pixel. This is exactly what I want the window to look like:
What I’ve Tried
- Changing the scale mode from fractional to integer
- Using code to moving the window one pixel to the left after _ready()
- RenderingServer.ForceDraw()
I am pretty sure from other black bar questions that I’ve read that I am causing this by resizing the window in code, and the black bars are appearing as the window/UI is trying to scale in response. What can I do to either prevent the black bars from showing up or force a window redraw in code to make them instantly go away?



