sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

Gnome 3 apps show a black border around them #1154

Open sillysloft opened 7 years ago

sillysloft commented 7 years ago

Running a compiled fluxbox at checkout 61e951617ce7983cfb6ba476d0db290bfd0a5c3e I am seeing that the apps that come bundled with Gnome 3 (borderless ones) show a black halo aroung them. Gthumb 3.4.3 on the screenshot, Gedit 3.18.3 also suffers from this. Other traditional apps work as normal.

I'm on Ubuntu 16.04 (Upgraded from previous installations in case it could be dragging old lib versions).

Reported by: jjdelc

sillysloft commented 7 years ago

That's the client-side decoration integrated shadow. Try launching a compositor. gtk should be smart enough to know that this won't work in your environment, but there's little fluxbox can do about it :-(

Try adding ".window-frame {box-shadow: none; margin: 0px; padding:0px}" to ~/.config/gtk-3.0/gtk.css but there's no guarantee that this still works. See eg. https://wiki.archlinux.org/index.php/GTK%2B#Client-side_decorations on details ...

Original comment by: baghira-style

sillysloft commented 7 years ago

The gtk change solved it! Thanks!

I added the following to my apps file to force borders:

[app] (name=gthumb)
[Deco] {NORMAL}
[end]
[app] (name=gedit) 
[Deco] {NORMAL}
[end]

Original comment by: jjdelc

sillysloft commented 7 years ago

Original comment by: baghira-style

sillysloft commented 7 years ago

For future reference, what's your gtk3 version? (this used to not work like two years ago but i'm totally buying they broke it again...)

Original comment by: baghira-style

sillysloft commented 7 years ago

This is what I have currently installed:

$ apt-cache policy libgtk2.0-0 libgtk-3-0 | grep Installed
  Installed: 2.24.30-1ubuntu1
  Installed: 3.18.9-1ubuntu3.1

Original comment by: jjdelc