You are not logged in.

#1 2014-02-26 21:29:14

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] Black borders around application windows

Hi there,

Does someone know from where these borders around application windows are coming from?

Is this a bug in GTK or caused by the program? In this particular case it is the twitter client birdie.

Without compton enabled the border is black and thick: http://i.imgur.com/f6RgtDI.png

With compton enabled basically only the outer border line remains visible: http://i.imgur.com/ggkyd94.png

Last edited by orschiro (2014-02-28 07:04:41)

Offline

#2 2014-02-27 14:21:06

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [solved] Black borders around application windows

It's an argb window, so if you don't have compositing window manager it will be rendered with black background.
I'm guessing you have shadows enabled for compton and that's what is causing the 'outer line' as compton can't determine the shape of an argb window and considers it as a square. You can use compton's shadow-exclude to prevent it from being drawn for birdie.
Or if it's not compton, it could be your window manager drawing the outer border

Last edited by ooo (2014-02-27 14:24:25)

Offline

#3 2014-02-27 21:29:11

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Black borders around application windows

@ooo

Thanks. I now use the following in ~/.compton.conf:

# Shadow
shadow = true;				# Enabled client-side shadows on windows.
no-dock-shadow = true;		# Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true;		# Don't draw shadows on DND windows.
clear-shadow = true;		# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
shadow-ignore-shaped = true;	# Avoid drawing shadow on all shaped windows
detect-rounded-corners = true;

# Disabling shadows for:
shadow-exclude = [
    "class_g = 'birdie'"
    ]

This has removed the borders around the windows but GTK3 tooltips still shows some ugly behaviour: http://i.imgur.com/D3hISi2.png

Can I somehow get rid of these as well?

Offline

#4 2014-02-27 21:46:46

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [solved] Black borders around application windows

is that some gnome 3.11 application? that widget looks like the new popover/whatever widget they introduced with it.
I'm not sure if you can disable shadow the same way since it's a widget, not window. I'd go ahead and ask about this in compton's irc channel or github

Offline

#5 2014-02-28 07:04:29

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Black borders around application windows

Thanks. Birdie is currently refactoring the entire code base. I will wait for the new release and see what has changed then:

http://birdieapp.github.io/2014/02/26/t … odbye.html

Offline

Board footer

Powered by FluxBB