! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
GTK 3 apps look awful in the majority of xfce themes.
Status:
RESOLVED: WONTFIX
Product:
Gtk-xfce-engine
Component:
General

Comments

Description Edd Barrett 2014-10-15 00:34:39 CEST
Hi,

I'm using the latest release of xfce4 on OpenBSD.

I have noticed that gtk3 apps looks really bad on my xfce desktop. A screenshot is attached for demonstration purposes. The screenshot shows audacious and sonata. Note that the menus titles lack spacing, and that tab headers look weird.

After some digging, I have found that the cause of this is the xfce4 theme. Using ktrace on audacious I was able to see that GTK3 is getting it's settings from /usr/local/share/themes/Xfce-b5/gtk-3.0/gtk.css.

Once I knew that the gtk look and feel depended upon the xfce4 theme, I started switching themes. It turns out that of all the XFCE4 themes, "xfce" and "raleigh" are the only ones under which GTK3 apps look normal.

I also notice that when I start audacious on a terminal under one of the troublesome themes, I see:

"""
(audacious:12985): Gtk-WARNING **: Theme parsing error: gtk.css:60:18: Not using units is deprecated. Assuming 'px'.

(audacious:12985): Gtk-WARNING **: Theme parsing error: gtk.css:60:20: Not using units is deprecated. Assuming 'px'.

(audacious:12985): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.

(audacious:12985): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
"""

The gtk.css files are provided by the Gtk-xfce-engine package. I am running version 3.0.1.
Comment 1 Edd Barrett 2014-10-15 00:38:12 CEST
The screenshot is too big to attach. Here it is:

https://farm4.staticflickr.com/3937/15514279106_f733cc96d7_o.png
Comment 2 Adam Purkrt 2015-08-22 23:10:24 CEST
Still a current issue. Evince and Archive manager are almost unusable with Xfce theme because of this. I resolved it by simply removing /usr/share/themes/Xfce/gtk-3.0/gtk.css . GTK3 apps then use the default theme - adwaita, which I find ok. Took me quite some time to figure out what was wrong on gentoo - on arch linux, the gtk-3.0/gtk.css isn't present at all, so there it worked out of the box.

Perhaps it might be good idea to simply remove the gtk.css - or somehow deactivate it, i.e. rename to _gtk.css or something the like? It's only causing problems now.
Comment 3 Julien Langlois 2018-08-18 18:57:25 CEST
Created attachment 7891 
black-to-black selected text on Evince

I experience the same issues

Regarding Evince, one of the most important part IMO is the text selection where both text and background color turn out black so it's impossible to see what have been selected.

I reproduce this issue on the following environments:
  * Debian 9
  * Ubuntu 14.04
  * Ubuntu 16.04
  * Ubuntu 18.04
  * CentOS 7

As you can see in the GIF, when switching from a Xfce GTK theme to a non Xfce GTK theme, the problem disappears.
Comment 4 Skunnyk editbugs 2018-09-22 16:44:05 CEST
This project has been archived, so we are closing related bugs.

Bug #11235

Reported by:
Edd Barrett
Reported on: 2014-10-15
Last modified on: 2018-09-22

People

Assignee:
Olivier Fourdan
CC List:
4 users

Version

Version:
Unspecified

Attachments

black-to-black selected text on Evince (67.60 KB, image/gif)
2018-08-18 18:57 CEST , Julien Langlois
no flags

Additional information