I've written a debugging on the yaru github ticket.
TLDR: it's not a yaru bug (also happens with adwaita) but a combination
of GTK3, Mutter and Java SWT (not happening with Java FX)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
This is not happening under xorg. Only Wayland.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965941
Title:
Oval buttons in Java apps on 22.04/Yaru
To manage notifications about this bug go to:
** Changed in: yaru
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965941
Title:
Oval buttons in Java apps on 22.04/Yaru
To manage notifications about this bug go to:
** Bug watch added: github.com/ubuntu/yaru/issues #3533
https://github.com/ubuntu/yaru/issues/3533
** Also affects: yaru via
https://github.com/ubuntu/yaru/issues/3533
Importance: Unknown
Status: Unknown
** Tags added: jammy
--
You received this bug notification because you are
** Attachment added: "Oval buttons in titlebar"
https://bugs.launchpad.net/ubuntu/+source/yaru-theme/+bug/1965941/+attachment/5571837/+files/Screenshot%20from%202022-03-19%2009-10-20.png
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to