Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167464 - Opera doesn't integrate with QT style after emul-linux-x86-qtlibs upgrade.
Summary: Opera doesn't integrate with QT style after emul-linux-x86-qtlibs upgrade.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2007-02-18 12:01 UTC by adriancz
Modified: 2007-11-15 04:49 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mozilla-firefox-bin save page as dialog with emul-linux-x86-qtlibs-3.4.4-r5 (firefox-emul-linux-x86-qtlibs-3.4.4-r5.png,33.96 KB, image/png)
2007-02-24 20:38 UTC, Joseph Yasi
Details
mozilla-firefox-bin save page as dialog with emul-linux-x86-qtlibs-10.0-r1 (firefox-emul-linux-x86-qtlibs-10.0-r1.png,30.74 KB, image/png)
2007-02-24 20:38 UTC, Joseph Yasi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adriancz 2007-02-18 12:01:53 UTC
Before I upgraded emul-linux-x86-qtlibs to 10.0 my Opera had integrated with QT style very well. Menus were transparent for example. Now it uses (probably) motiff style all the time.


Reproducible: Always

Steps to Reproduce:
1. upgrade to emul-linux-x86-qtlibs-10.0
2.
3.
Comment 1 Davide Cendron (RETIRED) gentoo-dev 2007-02-20 20:13:10 UTC
Same issue here.

After upgrading to emul-linux-x86-qtlibs-10.0, opera-9.10 and skype-1.3.0.53-r1 graphic isn't integrated anymore with current QT style.

Downgrading to emul-linux-x86-qtlibs-3.4.4-r5 solves the problem.

This is my emerge --info:
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 19 Feb 2007 12:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.supp.name/ http://gentoo.ynet.sk/pub"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gechi-testing /usr/portage/local/layman/sunrise /usr/portage/local/layman/liquidx /usr/portage/local/layman/voip"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dlloader dri dv dvd dvdr eds emboss encode fam firefox flac fortran gif gpm gtk2 hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ midi mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python qt3 quicktime readline reflection sdl session spell spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xorg zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse penmount" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2007-02-21 12:12:20 UTC
It looks the same here with qtlibs-3.4.4-r5 and 10.x. Can you attach two screenshots showing how it is and how it should be, please? I never used opera/skype/any other QT app, so I have no idea what it is supposed to look like.
Comment 3 Yeom Jaehyun 2007-02-22 13:58:51 UTC
I have similar and more other problems after upgrading four emul-linux-x86-*.

1. Opera's font setting(or preference) shows broken font name for Korean fonts. At first, fonts looked ugly but I set them as broken name, and it's working now.
2. X Input Method is not working in Opera.

I am not sure if it'll work well if I downgrade it. I couldn't downgrade emul-linux-x86-qtlibs, it failed to patch. I'll post it if I succeed.
Comment 4 Christian Czekay 2007-02-24 01:38:45 UTC
I have the same problem: With the 10.0 version opera/skype don't use the QT style and look rather ugly.
I put up skype and opera screenshots with emul-linux-x86-qtlibs-3.4.4-r5 (the *_good.png) and emul-linux-x86-qtlibs-10.0 (the *_bad.png) here: http://www2.informatik.hu-berlin.de/~czekay/btvs-oafa/
I downgraded to 3.4.4-r5 as that solves the problem for now.

Also:
02:37:10 root@amber:~ # emerge --info --ignore-default-opts
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 23 Feb 2007 16:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/dar"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -pipe -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --verbose"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="                http://pandemonium.tiscali.de/pub/gentoo/               ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/                 ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cjk cli cracklib crypt cscope cups curl dbus dga doc dri dts dv dvd dvdr dvdread emboss encode examples fam fbcon ffmpeg firefox flac foomaticdb gdbm gif glut gnutls gpm gs gtk gtk2 iconv idn imagemagick imap imlib isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lcms libcaca libg++ live mad mailwrapper matroska midi mikmod mng mozdevelop mp3 mpeg ncurses network nis nls nptl nptlonly nsplugin nvidia offensive ogg openexr opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session slang slp speex spell spl ssl svg sysfs tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis wmf xine xml xorg xpm xv xvid yv12 zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa fbdev"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Joseph Yasi 2007-02-24 20:38:02 UTC
Created attachment 111150 [details]
mozilla-firefox-bin save page as dialog with emul-linux-x86-qtlibs-3.4.4-r5

The qt rendering engine is set in my .gtkrc-2.0 file, and the widgets are using the QT style set in KDE.
Comment 6 Joseph Yasi 2007-02-24 20:38:48 UTC
Created attachment 111154 [details]
mozilla-firefox-bin save page as dialog with emul-linux-x86-qtlibs-10.0-r1

The qt rendering engine is set in my .gtkrc-2.0 file, but this time the widgets are not drawn in the KDE style.
Comment 7 Joseph Yasi 2007-02-24 20:40:57 UTC
I attached two images of a firefox dialog that shows the problem.  I believe the problem is with emul-linux-x86-gtklibs.  x11-themes/gtk-engines-qt-0.7-r1 probably needs to be rebuilt against the new qt library in emul-linux-x86-qtlibs-10.0.
Comment 8 Joseph Yasi 2007-02-24 21:47:04 UTC
I tried a new libqtengine.so build on the 32-bit machine against newer qt libraries.  That did not fix the problem.  It appears the problem is with the missing kde-base/kdeartwork-styles package between emul-linux-x86-qtlibs-3.4.4 and emul-linux-x86-qtlibs-10.0.  There are QT widget style libraries in this package.  I am using the plastik theme which uses plastik.so from this library.
Comment 9 Simon Stelling (RETIRED) gentoo-dev 2007-02-27 16:56:56 UTC
*** Bug 168604 has been marked as a duplicate of this bug. ***
Comment 10 Patrizio Bassi 2007-05-04 20:24:28 UTC
i do agree with comment #8.

and i have same issues (and downgrade workaround)
Comment 11 Patrizio Bassi 2007-05-16 20:59:04 UTC
ping ;)
Comment 12 adriancz 2007-06-19 23:07:58 UTC
next ping
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-20 09:02:29 UTC
Please don't do that.  This is a trivial, cosmetic bug.  There's no point in rolling a whole new emul-linux-x86-qtlibs for just this one fix.  We'll be sure to test for this when we roll the next version, so have some patience.
Comment 14 Christian Loosli 2007-07-22 13:03:30 UTC
I don't see this as trivial, as it affects
more applications than you might think of. 
If you use gtk-engines-qt each binary
gtk app (firefox-bin as a common example) has simply 
no stile but a ugly motif stile, which has no recognizable
buttons and so on... 

I always have to downgrade manually, 
as masking the package would break 
some dependencies... 

Please fix this asap and don't wait
until a next release. 

(and by looking how long this package
now exists a new release might be 
far far far away)

Thanks in advance, 

Fox
Comment 15 Joseph Yasi 2007-08-03 22:47:22 UTC
FYI the kdelibs-3.5.5-r8.tbz2 archive that emul-linux-x86-qtlibs-10.0-r1 is based on contains the necessary styles libraries.  Copying /usr/kde/3.5/lib32/kde3/plugins/styles/*.so from the archive to /usr/qt/3/plugins/styles works around the missing libraries problem.  emul-linux-x86-qtlibs should install these libraries from the archive.  They properly belong in /usr/kde/3.5/lib32/kde3/plugins/styles, but the 32-bit qt3 in the emul package does not pick up that directory.  Copying them to the qt styles directory can be used as a temporary workaround.
Comment 16 Patrizio Bassi 2007-08-04 10:21:16 UTC
i don't have those files in the kde tree...

ls /usr/kde/3.5/lib32/
libDCOP.so@  libDCOP.so.4@  libDCOP.so.4.2.0*  libkdecore.so@  libkdecore.so.4@  libkdecore.so.4.2.0*  libkdefx.so@  libkdefx.so.4@  libkdefx.so.4.2.0*

and same for qt tree..

ls /usr/qt/3/plugins/
crypto/  designer/  sqldrivers/
Comment 17 Christian Loosli 2007-08-04 13:03:05 UTC
uhm, the files are in the archive 
which is downloaded by emerging
emul-linux-x86-qtlibs. 
Look in $PORTDIR/distfiles
(usually /usr/portage/distfiles/) 
for it. 

You have to create the target
directory manually. 

And yes, the workaround works.

hth, 

Fuchs
Comment 18 Patrizio Bassi 2007-08-04 13:19:36 UTC
workaround works for me too.

can the package be updated copying this stuff?

actually qt are 3.3.6 while sources are 3.3.8....
Comment 19 Mike Doty (RETIRED) gentoo-dev 2007-11-15 04:49:28 UTC
new emul-linux-x86-qtlibs-20071114 in the tree, p.masked.  use at your own risk.