GTK 3.16: Class "sidebar" on widget cut GtkTreeView. Eg. GtkPlacesSidebar #113

Closed
matiasdelellis opened this Issue Nov 19, 2015 · 3 comments

Comments

Projects
None yet
3 participants

Hi,
Two captures to you understand the problem...
GtkPlacesSidebar has the class "sidebar" in the parent widget.. and cut her child GtkTreeView..

sidebarclass0

If remove the class is shown correctly..

sidebarclass1

p.s: This is reproducible in gtk 3.14 and 3.16..

Also just discovered that introducing the class to GtkTreeView instead of GtkPlacesSidebar, fix the problem. Of course this is not something you can change, but it may be useful to try.. 😉

sidebarclass2

I am experiencing this issue on Xubuntu 16.04 (GTK 3.18). Through trial and error, I've figured out that the problem goes away when this single line of code is commented out, for reasons I don't understand.

Here is the GTK3 file chooser (from Mousepad). Notice that in the left sidebar panel, only when the scrollbar is showing, there are thick borders of "empty space" cutting off the top and bottom:
image

After commenting out the background-color line and reloading the theme, here is the sidebar displaying properly:
image

I do not see this problem with other themes, only Greybird.

Owner

ochosi commented Jun 8, 2016

Sorry I hadn't noticed this earlier, it should be fixed in master now.

@ochosi ochosi closed this Jun 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment