question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Window] Add ability to set rounded corners on an undecorated Aurora window

See original GitHub issue

In Windows 11, rounded corners for windows were introduced. Of course, with an undecorated window and the nature of Java being cross-platform, it does not inherit this functionality from the operating system.

Therefore, it would be good if, for example, there was the ability to make the corners rounded, or have the corners automatically round when on Windows 11. I imagine this could be done by allowing the window to have a certain shape (of which RoundedRectangle() could be passed) or through a parameter of roundedCorners = true. Hopefully, this would then make Aurora applications feel more native for Windows 11 whilst maintaining cross-platform functionality.

Window with rounded corners

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
kirill-grouchnikovcommented, Jun 16, 2022

Thanks. If you experiment with integrating these two projects together, please let me know if you run into anything that is blocking you on the Aurora side of things.

1reaction
russellbankscommented, Jun 23, 2022

If an interested third-party wants to provide native integration for windows-level features (such as, let’s say, snap layouts on Windows 11), I will consider providing support in Aurora for configuring Aurora-provided title pane with such integration points. But I will not be in the business of chasing short term fads from OS vendors.

Following this, could there potentially be a future integration of Aurora with Compose Window Styler?

Compose Window Styler

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apply rounded corners in desktop apps for Windows 11
On Windows 11, the system automatically rounds top-level window corners for all inbox apps, including all UWP apps, and most other apps. However ......
Read more >
Window with rounded corners an no title bar
I try to make a window with rounded corners but every solution I could find does not work when I remove the title...
Read more >
How to create a rounded window?
As Title ;) I need to create a rounded undecorated window. Thanks in advanced. ... Rectangle; import javafx.stage.Stage; import javafx.stage ...
Read more >
Add Ability to Set Border Radius on Main Window #63
Tried for a while to get this working. I have a feeling it might be due to transparency & compositing, but not sure...
Read more >
objective c - Borderless NSWindow with rounded corners
The easiest way to get a window with rounded corners is to place a NSBox into the window as these ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found