FlatLaf icon indicating copy to clipboard operation
FlatLaf copied to clipboard

flatlaf.useRoundedPopupBorder for kde?

Open Shadowblitz16 opened this issue 1 year ago • 10 comments

Not sure if it's possible but it would be nice to see flatlaf.useRoundedPopupBorder supported on kde 5 and up

I am using kubuntu 24.04 which is linux.

Shadowblitz16 avatar Dec 31 '24 02:12 Shadowblitz16

That would be indeed nice, but, how to do it for Java apps, which does not use KDE.

Not even JetBrains has managed to implement this yet for IntelliJ IDEA: https://youtrack.jetbrains.com/issue/JBR-7476

DevCharly avatar Jan 15 '25 18:01 DevCharly

Please try PR #964

DevCharly avatar Jan 27 '25 17:01 DevCharly

Please try PR #964

Call me a bad developer but idk how to use PR's

Shadowblitz16 avatar Jan 28 '25 02:01 Shadowblitz16

Please try PR #964

Call me a bad developer but idk how to use PR's

see https://github.com/JFormDesigner/FlatLaf/pull/964#issuecomment-2616402045

DevCharly avatar Jan 28 '25 14:01 DevCharly

Is this PR covering GNOME as well? Or is it for now just a KDE based solution? :)

MrUrdam avatar Feb 06 '25 18:02 MrUrdam

Is this PR covering GNOME as well? Or is it for now just a KDE based solution? :)

Yes. It is a pure Java solution and does not use or depend on GNOME or KDE.

DevCharly avatar Feb 09 '25 17:02 DevCharly

Works great in our environment. Some minor rough edges as described in your PR but nothing extreme. No black glitches yet. AlmaLinux 9 with GNOME and Java 17

MrUrdam avatar Feb 10 '25 13:02 MrUrdam

@MrUrdam thanks for testing. Are there any differences in font rendering, in the rounded popup, compared to FlatLaf 3.5.4?

DevCharly avatar Feb 12 '25 14:02 DevCharly

Hey @DevCharly I just did a short test last week and rolled back to the current version we are using. We are still not on the latest FlatLaf version. In my short investigation back then I have not seen any issues or weird glitches.

Would it be possible to add a option to round the corners of the frame via FlatLaf as well? Here it would make sense that the Dev can decide which corners should be rounded as well. In GNOME for example only the top corners are rounded with the when using the System Decirations. With the FlatLaf Window Decorations we could then change the UI to a similar L&F

MrUrdam avatar Feb 14 '25 06:02 MrUrdam

Would it be possible to add a option to round the corners of the frame via FlatLaf as well?

Yes, that's the next step 😉

Here it would make sense that the Dev can decide which corners should be rounded as well.

Don't think that this is necessary (or worth the effort). Latest GNOME versions (e.g. on Ubuntu 24.10) are rounded on all four corners.

DevCharly avatar Feb 14 '25 15:02 DevCharly