You are not logged in.

#1 2013-01-04 20:01:07

Crone
Member
Registered: 2012-03-21
Posts: 71

[SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

Hello everyone.

Can you guys explain me this:

problem.jpg

If you look at the menu and toolbar items of Gnome Terminal and Gedit they are messed up.

I am using lxappearance to change gtk themes. The current theme that I am using is FlatStudio. Let me note that right now if I change a gtk theme through lxappearance all gtk2 apps will change just fine. Gtk3 apps though will get some settings right and will ignore the rest. This "white highlighted text" shown in the image for example remains.

I have also tried changing themes through gtk-chtheme, with no success. (same problem)

I also noticed that lxappearance creates a .gtkrc-2.0 file in ~/ but no gtk3 file. I don't know if this is intended. Both gtk2 and gtk3 folders are in ~/.config though.

Thanks in advance

Last edited by Crone (2013-01-08 17:33:57)

Offline

#2 2013-01-05 02:25:15

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

pacman -S gtk-engine-unico

  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#3 2013-01-06 16:19:46

Crone
Member
Registered: 2012-03-21
Posts: 71

Re: [SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

illusionist wrote:
pacman -S gtk-engine-unico

I have the unico engine installed on my system, and reintalled it just in case. Problem persits though

I should probably note that when I open a gtk3 app this happens

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:615:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:631:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:661:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:719:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:725:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:939:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:946:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1048:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1179:15: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1179:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1189:15: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1189:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1570:15: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2000:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2032:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:83:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:109:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:113:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:123:18: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:123:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:135:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: sidebar.css:17:19: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: sidebar.css:33:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:32:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-panel.css:93:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: tabs.css:50:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:23:18: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:23:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:96:18: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:96:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:103:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:113:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:615:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:631:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:661:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:719:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:725:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:939:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:946:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1048:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1179:15: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1179:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1189:15: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1189:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1570:15: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2000:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2032:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:83:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:109:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:113:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:123:18: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:123:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: menu.css:135:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: sidebar.css:17:19: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: sidebar.css:33:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:32:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-panel.css:93:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: tabs.css:50:17: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:23:18: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:23:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:96:18: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:96:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:103:20: Not using units is deprecated. Assuming 'px'.

(gedit:9593): Gtk-WARNING **: Theme parsing error: gnome-applications-light.css:113:20: Not using units is deprecated. Assuming 'px'.

But I know that this is nothing serious and is related to the fact that we are using both gtk2 and gtk3. Thought I should post it though for the shake of completeness.

Oh and no matter what application I open (gtk2 or gtk3) i get this warning too

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.

Most likely harmless aswell since gtk2 apps are working perfectly

Last edited by Crone (2013-01-06 16:28:03)

Offline

#4 2013-01-06 22:13:32

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

Does it happen with any GTK3 theme? Also try deleting ~/.config/gtk-3.0 and see if lxappearance will recreate it.

Offline

#5 2013-01-07 01:44:59

Crone
Member
Registered: 2012-03-21
Posts: 71

Re: [SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

anonymous_user wrote:

Does it happen with any GTK3 theme?

No apparently it doesn't. For example Adwaita is just fine:

adwaita.jpg

You can notice though that gnome-terminal still has this clunky text highlighting effect

Also the native gtk3 look is like this (with no gtk3 folder @ ~/.config):

native.jpg

gnome-terminal still wearing a buggy gtk3 theme though (most likely FlatStudio)

Finally Elegant Brit is like Flatstudio:

brit.jpg

anonymous_user wrote:

Also try deleting ~/.config/gtk-3.0 and see if lxappearance will recreate it.

I did delete it and yes lxappearance recreates it in ~/.config. I also tried deleting it and putting the gtk3 folder of a theme manually in ~/.config suspecting lxappearance is the issue but i got the same result.
Also even if there is no gtk3 folder in ~/.config gnome term will look the same (photo 2). I feel like gnome-terminal is a whole different issue.

Last edited by Crone (2013-01-07 02:05:50)

Offline

#6 2013-01-07 02:59:03

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

So it seems its a theme issue. If you really like your current theme, I would report this to the author. Otherwise just switch themes.

Offline

#7 2013-01-07 03:05:44

Crone
Member
Registered: 2012-03-21
Posts: 71

Re: [SOLVED]Weird behavior of gtk3 apps with FlatStudio gtk theme

anonymous_user wrote:

So it seems its a theme issue. If you really like your current theme, I would report this to the author. Otherwise just switch themes.

Probably yea. It's weird though since both FlatStudio and ElegantBrit are pretty good gtk3 themes and widely adopted. And yep I love FlatStudio (any flat theme for that matter).

Thank you for your help btw

Update: Apparently it was an issue of me having an outdated version of the theme. I removed all the theme folders from /usr/share/themes/ and ~/.config/ and Re-downloaded and re-installed the theme. I am a little confused tbh since I downloaded the theme just recently. Matter of the fact is that the folders that I had in my hard driver were not the right ones. Thanks for your help people, credits to the author too. Marked as solved.

Last edited by Crone (2013-01-08 17:32:34)

Offline

Board footer

Powered by FluxBB