ScreenGUI.ScreenInsets = TopbarInsets regression

In Roblox Studio I add a ScreenGUI to starterGUI, set ScreenGUI.ScreenInsets = TopbarInsets, and give it a Frame as a child. I then set that frame’s size to {1, 0}, {1, 0}
I then press play solo.


You can see the frame which is still its default white color is in the top-left, to the left of the Roblox menu button.
The ScreenGUI’s AbsoluteSize is x16, y58, and it’s AbsolutePosition is x0, y-58

Expected behavior

This is not where it should be. The ScreenGUI’s AbsoluteSize should be something more like x1000+, y58 and its AbsolutePosition should be more like x164, y58 in order to represent the area shown in red in this image:

So to be clear, ScreenGUI.ScreenInsets = TopbarInsets should resize the ScreenGUI and the frame inside it to represent all the empty space in the top bar to the right of the Roblox menu and chat buttons, but is now representing a small sliver to the left of said Roblox CoreGUI elements.
This is how it worked yesterday when I opened Roblox Studio, and for the past several years. Now it’s changed and my UI looks weird.

I haven’t seen this problem in a published project yet, but every placefile I open in Studio has this problem, including in a fresh file.

For a real-world example, here is how my UI looks in a published project:


And here is how it looks in Studio play solo:

19 Likes

Same happen to me i thought there’s wrong in my code

After
image
Before
image

1 Like

Same here. TopbarInsets are broken for me in normal client aswell.

In studio: Main Menu

In client: Main Menu

In studio: 2017 recreation

In client: 2017 recreation

In some of these screenshots, it is clearly worse in studio then client, but in others, client is way off from where it’s supposed to be.

1 Like

It’s also happening in games that aren’t mine.

Example: LegacyVerse

2 Likes

Can replicate even with TopbarPlus @ForeverHD
image


image

1 Like

Running into the same issue.
It breaks a popular module, TopBarPlus, which is widely used across the platform.
Thankfully, this issue seems to only affect studio and is not live in-game yet.

1 Like

Hi! Thanks for the bug report.

We’ve identified the problem on our end, and the bug should be fixed within the next few hours. We can confirm that this only occurs on Studio.

Sorry for the inconvenience! The silver lining here is that this bug was a side effect of a change that significantly improves TopBar performance. The bug’s a quick fix on our end, so we don’t have to sacrifice those improvements!

11 Likes

Fix is now up! Let us know if there’s any further issues.

6 Likes

That was fast! Big thank you to the Roblox engine staff team.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.