You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v4.0.beta.custom_build [d331b80] and v4.0.beta2.official
System information
Linux and Windows
Issue description
For the following aspect and mode combinations of a window the content is displayed wrong when the window is embedded.
aspect: CONTENT_SCALE_ASPECT_KEEP, CONTENT_SCALE_ASPECT_KEEP_WIDTH, CONTENT_SCALE_ASPECT_KEEP_HEIGHT.
mode: CONTENT_SCALE_MODE_CANVAS_ITEMS, CONTENT_SCALE_MODE_VIEWPORT
When embedded & When not embedded:
I would expect, that the window content shows the same in both cases.
Since the non embedded version works the same in Linux and Windows and event position align with the non embedded version and the same display effect can be achieved by using CONTENT_SCALE_ASPECT_IGNORE, I assume, that this is a bug for embedded windows. So the embedded variant has wrong scaling and is missing the black bars at the top and bottom.
Godot version
v4.0.beta.custom_build [d331b80] and v4.0.beta2.official
System information
Linux and Windows
Issue description
For the following aspect and mode combinations of a window the content is displayed wrong when the window is embedded.
aspect:
CONTENT_SCALE_ASPECT_KEEP
,CONTENT_SCALE_ASPECT_KEEP_WIDTH
,CONTENT_SCALE_ASPECT_KEEP_HEIGHT
.mode:
CONTENT_SCALE_MODE_CANVAS_ITEMS
,CONTENT_SCALE_MODE_VIEWPORT
When embedded & When not embedded:

I would expect, that the window content shows the same in both cases.
Since the non embedded version works the same in Linux and Windows and event position align with the non embedded version and the same display effect can be achieved by using
CONTENT_SCALE_ASPECT_IGNORE
, I assume, that this is a bug for embedded windows. So the embedded variant has wrong scaling and is missing the black bars at the top and bottom.Steps to reproduce
Have a window
w
with:It displays wrong when embedded.
Minimal reproduction project
This is a MRP for the combination
CONTENT_SCALE_ASPECT_KEEP
andCONTENT_SCALE_MODE_VIEWPORT
.BugWindowDisplayBar.zip
The text was updated successfully, but these errors were encountered: