Minor issues with 22.04 theme

I’ve noticed the same stretched window controls in the eclipse snap. Is this IP scanner also a snap or eventually made with Java SWT?

Edit: yes it is made with SWT
https://github.com/angryip/ipscan/blob/master/src/net/azib/ipscan/gui/MainWindow.java

It might be really related to SWT. Eventually, if this does not happen with Adwaita, this could be related to how Yaru draws the window controls (https://github.com/ubuntu/yaru/blob/master/gtk/src/default/gtk-3.0/_tweaks.scss#L10). On the other hand this issue is new and we didn’t change the way we draw window controls for 4 years so maybe it is related to a gtk3 minor version that changed and SWT was somehow not flexible enough to any gtk3 changes.

Edit: yes this also happens with adwaita

2 Likes