godot icon indicating copy to clipboard operation
godot copied to clipboard

Core: Add `DisplayServer` flag for sharp corners

Open Repiteo opened this issue 1 year ago • 3 comments

  • Supersedes #96575

Inspired by this comment, this PR aims to make the rounded/sharp corners found in Windows 11 a toggleable feature. One benefit of integrating with the existing flag system means that windows have the ability to individually choose whether their corners are rounded. Specifically targets the OS, so it doesn't do anything on embedded subwindows.

Repiteo avatar Sep 14 '24 16:09 Repiteo

This makes more sense as a configurable flag, since non-game applications (and the Godot editor itself) will generally want to keep rounded corners to better fit with other apps on the system.

Makes you wonder if it should be set to true by default in the Project Settings and/or the Window node itself.

Mickeon avatar Sep 17 '24 13:09 Mickeon

Makes you wonder if it should be set to true by default in the Project Settings and/or the Window node itself.

I'm not sure whether we should intentionally diverge from Windows 11's intended look and feel by default here. It should be the topic of a separate proposal 🙂

Calinou avatar Sep 17 '24 13:09 Calinou

I've considered it, but we don't have anything concrete on which users would prefer. We could have a poll sometime between dev3 & release on exactly that, changing the default value if sharp corners are overwhelmingly preferred, but that's obviously outside the scope of this PR.

Repiteo avatar Sep 17 '24 13:09 Repiteo