Sweet icon indicating copy to clipboard operation
Sweet copied to clipboard

Transparent frame around GTK windows on Sweet theme

Open D3vil0p3r opened this issue 1 year ago • 4 comments

Hey @EliverLara

I'm using SweetDark and I noted that, if you open a GTK window (for example Kitty terminal) and you press ALT+Print for taking the screenshot of the Active Window (that is Kitty terminal in this example), on the resulting image there is a transparent frame around the window. It occurs also on other themes when switched to GNOME 44.

In my case I get this: image

I think it should be related to the fact when you fixed a past issue related to some weird black frame when you upgraded these themes for GNOME 44 and in that manner you removed those weird black frames but I think that some invisible thing remained.

D3vil0p3r avatar Jul 15 '23 20:07 D3vil0p3r

Hi, I'm sorry for the very late response, in case you're still using this theme i'd like to know if you're still facing this issue?

EliverLara avatar Dec 23 '23 19:12 EliverLara

Hi, I'm sorry for the very late response, in case you're still using this theme i'd like to know if you're still facing this issue?

I downloaded the latest Sweet-Dark-v40.tar.xz from gnome-look website but the issue persists.

D3vil0p3r avatar Dec 23 '23 23:12 D3vil0p3r

Hi @D3vil0p3r I've reproduced the issue and indeed there is a kind of transparent border around the captured window but after changing some shadow values to test I realize that the 'transparent border' is there because the screenshot tool is actually including the real window shadow and adds this transparecy so the window shadow could be visible. In addition, I tested with the default Adwaita theme and it behaves the same, so there is not a bug from the theme but the capture tool gnome uses actually after some little research I've found this same bug reported some years ago in the gnome's screenshot tool.

EliverLara avatar Dec 27 '23 19:12 EliverLara

Hi @D3vil0p3r I've reproduced the issue and indeed there is a kind of transparent border around the captured window but after changing some shadow values to test I realize that the 'transparent border' is there because the screenshot tool is actually including the real window shadow and adds this transparecy so the window shadow could be visible. In addition, I tested with the default Adwaita theme and it behaves the same, so there is not a bug from the theme but the capture tool gnome uses actually after some little research I've found this same bug reported some years ago in the gnome's screenshot tool.

Did you try with a different screenshot tool if it has a different behavior?

D3vil0p3r avatar Dec 27 '23 22:12 D3vil0p3r