Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by zAchAry »

Packages that are not from the official Salix OS repository:

Code: Select all

Agender-1.1.7.1-i486-1rl
b43-firmware-4.178.10.4-fw-1pw
fspy-0.1.1-i686-3cf
fuseiso-20070708-i486-1cp
gtk-recordmydesktop-0.3.8-i4
httplib2-0.6.0-i486-1rl
jeex-12.0-i486-1_SBo
libevent-1.4.14b-i686-1cf
libgringotts-1.2.1-i486-1
libgtkhtml-2.11.1-i486-1pm
moc-2.5.0_alpha4-i486-1_SBo
nethogs-0.7.0-i686-1cf
osmo-0.2.10-i486-1pm
peg-e-1.1.0-i486-3sl
privoxy-3.0.14_beta-i686-1cf
swfdec-gnome-2.30.0-i486-1sl
swfdec8-0.8.4-i486-5sl
tor-0.2.1.26-i686-1cf
torrent-search-0.9.1.1-i486-1rl
totem-2.28.6-i486-3sl
totem-pl-parser-2.28.3-i486-1sl
tubularix-0.5.1.5-i486-1sl
vnstat-1.10-i686-1cf
xfce4-taskmanager-1.0.0-i486-1_SBo
yapet-0.7-i686-1cf
libsigc++-2.2.3-i486-1gv
Note: libsigc++-2.2.3-i486-1gv is actually libsigc++-2.2.7-i486-1_SBo, I renamed the installation package so I won't get update alerts.
Image
Help to make Slackware easier Donate to Salix
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by gapan »

zAchAry wrote:

Code: Select all

root[~]# qtconfig
#? Why?
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by thenktor »

Don't run as root and check if you have a
.gtkrc-2.0
file in your home dir.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by zAchAry »

gapan wrote:#? Why?
Sorry, my bad. No change:

Code: Select all

etf[~]$ qtconfig 
QGtkStyle was unable to detect the current GTK+ theme.

(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

(process:6451): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
etf[~]$ 
thenktor wrote:Don't run as root and check if you have a .gtkrc-2.0 file in your home dir.

Code: Select all

etf[~]$ ls -a | grep gtk
.gtk-bookmarks
.gtk-recordmydesktop
.gtklp
.gtkrc-2.0
.mp3splt-gtk
etf[~]$ 
.gtkrc-2.0 wrote:# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine

gtk-theme-name="Murrina Haikuish"
gtk-icon-theme-name="Humanity-XP-fc-Dark"
gtk-font-name="Sans 10"
gtk-toolbar-style=3
include "/home/etf/.gtkrc-2.0.mine"

Code: Select all

file:///home/etf/.themes/Murrina%20Haikuish

Code: Select all

file:///home/etf/.icons/Humanity-XP-fc
file:///home/etf/.icons/Humanity-XP-fc-Dark
I'm seeing these two when using lxsession with Fluxbox.


I'm seeing GNOME-Brave and Murrina Redmond when I'm using xfsettingsd with Xfce (currently, I'm running Xfce).

Code: Select all

file:///usr/share/icons/gnome-brave

Code: Select all

file:///home/etf/.themes/Murrina%20Redmond
Image
Help to make Slackware easier Donate to Salix
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by gapan »

Try Clearlooks instead. There may be something wrong with that theme you're using.
Image
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by zAchAry »

.gtkrc-2.0.mine wrote:gtk-theme-name="Clearlooks"
gtk-icon-theme-name="Humanity-XP-fc-Dark"
gtk-font-name="Sans 10"
gtk-toolbar-style=3
No change:

Code: Select all

etf[~]$ qtconfig 
QGtkStyle was unable to detect the current GTK+ theme.

(process:7180): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
Image
Help to make Slackware easier Donate to Salix
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by gapan »

Did you change it in the xfce settings too?
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by thenktor »

Perhaps this is this bug:
http://bugreports.qt.nokia.com/browse/QTBUG-9240

I'm running 64 bit and don't have any problems:
Upon closer inspection, the GNOME environment problem appears to be related to Fedora's handling of 32-on-64bit (we were probably missing some .i686 packages). We've switched to native 64-bit builds and do not see this issue. Thanks for the quick resolution!
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by zAchAry »

gapan wrote:Did you change it in the xfce settings too?
Yes, I did.
thenktor wrote:Perhaps this is this bug:
http://bugreports.qt.nokia.com/browse/QTBUG-9240
I'd appreciate a confirmation of this bug from 32-bit user(s), so if you are a user of Salix 32-bit with Qt installed you're welcome to do so.
Image
Help to make Slackware easier Donate to Salix
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: Qt version 4.6.2 and GTK (GtkStyle - qgtkstyle)

Post by pwatk »

I know this is an old thread but I've been having this problem with Qt 4.7 and I've found two solutions that I'm posting here for prosperity.

The easiest solution is to install the libgnomeui package (and a bucket load of dependencies) but the simplest is to export the GTK2_RC_FILES environment variable prior to launching any affected application.

Code: Select all

export GTK2_RC_FILES="$HOME/.gtkrc-2.0" 
Image
Post Reply