Windows display scaling causes UIStrokes to be clipped too much

On Windows, setting the display scaling percentage for a monitor to anything above 100% will cause UIStroke instances parented to GuiObjects with a completely rounded UICorner and ClipsDescendants set to true will cause the UIStroke to be aggressively clipped in strange ways and partially disappear at certain viewport resolutions.

Reproduction steps:

  1. Open a fresh baseplate and insert the attached .rbxm file into game.StarterGui
  2. Open your Windows display settings and set your display scaling to something above 100%
  3. Undock the viewport and resize it randomly until the UI stroke almost completely disappears

UIStrokeRepro.rbxm (4.0 KB)

Expected behavior

UIStroke instances should not break when using Windows display scaling.

3 Likes

Just sent this to the team. We’ll update you as soon as we can :slight_smile: thanks for the report!!

This issue should be fixed now! Please let us know if you continue to see this problem.