lah7 / gtk3-classic

Patches to bring back a traditional experience for GTK+3
Other
338 stars 24 forks source link

Remove the window border for GnuBiff. #97

Closed ignace72 closed 1 year ago

ignace72 commented 1 year ago

Hello to all. The patch added me also borders on the notification of GnuBiff. Is there a solution to remove the borders only on GnuBiff? Thanks in advance.

lah7 commented 1 year ago

We need details - do you have a screenshot? What desktop environment are you using (MATE, XFCE)? GnuBiff looks like an applet for a panel.

Since you're on Arch, exclude patches by placing a # at the start of the line in the series file, and then run makepkg as usual.

As a guess, maybe it's this patch you should comment out:

appearance__fix_black_border.patch
ignace72 commented 1 year ago

Hello, lah7. It's the same on Xfce as on Kde Plasma (I was there today). I don't understand what you are asking me. I installed GNUBiff with AUR, so I didn't do anything by hand. As you can see, on Kde the border doesn't look bad with the contrasting border, but I still need to center the applet in height. Here is a capture with Xfce and today with Kde : https://ignace72.eu/wp-content/uploads/2023/05/GNUBiff-gtk3-classic.webp https://ignace72.eu/wp-content/uploads/2023/05/GNUBiff.webp Good evening to you.

lah7 commented 1 year ago

Hello, thanks for the screenshot. I haven't used GNUBiff before, so I installed to check.

gtk3 gtk3-classic
Screenshot_20230508_204333 image

I see the problem now. Not sure which patch is responsible for this. Environment variables like GTK_CSD=0 had no effect.

You can fix it for KDE, which has "Windows Rules" that can be configured to disable the window title and frame for this application, like so:

Screenshot_20230508_210051

This might work under XFCE too if kwin is your window manager.

ignace72 commented 1 year ago

Arf, my savior, having stopped at KDE 3, I couldn't know about this feature. There, it's much better like that. It's cleaner. Thank you very much. Have a nice evening.