You are not logged in.
OK, thanks; I could confirm this bug now.
Offline
There's no need to downgrade qt and break other installed applications. Even though opera is binary only. You can just supply opera with what it needs using LD_PRELOAD. We'll just copy the 4.5.2 versions of libQtCore and libQtGui from the old package to /usr/lib/opera/10.00 and tell opera to use those instead of the installed 4.5.3 libs:
$ mkdir scratch
$ cd scratch
$ cp /var/cache/pacman/pkg/qt-4.5.2-7-i686.pkg.tar.gz .
$ tar vxzf qt-4.5.2-7-i686.pkg.tar.gz
$ su
# cp usr/lib/libQtCore.so.4.5.2 /usr/lib/opera/10.00/
# cp usr/lib/libQtGui.so.4.5.2 /usr/lib/opera/10.00/
Edit opera's launcher script (/usr/bin/opera) and change the last "exec" line with these two lines:
LD_PRELOAD=/usr/lib/opera/10.00/libQtCore.so.4.5.2:/usr/lib/opera/10.00/libQtGui.so.4.5.2 ${OPERA_BINARYDIR}opera "$@" &
disown
Then run opera as usual, and confirm:
# lsof | grep libQtGui
kdeinit4 4749 chenno mem REG 8,2 9955448 871586 /usr/lib/libQtGui.so.4.5.3
klauncher 4750 chenno mem REG 8,2 9955448 871586 /usr/lib/libQtGui.so.4.5.3
kded4 4753 chenno mem REG 8,2 9955448 871586 /usr/lib/libQtGui.so.4.5.3
opera 5221 chenno mem REG 8,2 9958648 100559 /usr/lib/opera/10.0/libQtGui.so.4.5.2
KDE still uses qt 4.5.3, only opera now uses 4.5.2. I've opened >10 tabs, including flash vids and the acid test, no problems.
Build a package with ABS that does this if you want to keep your system clean (pacman doesn't know about the 4.5.2 libs in /usr/lib/opera if you do the above)
Anyways, it's much better than downgrading all of qt and risk other things to break. It's ugly, of course, but then binary only programs are ugly to begin with
Offline
well its more a workaround than a real patch heheh
but hey, if u create the package tell it here pls.
btw: chromium is fitting nicely on kde (which is a bit strange for a gtk app)
Last edited by quarkup (2009-10-09 23:10:45)
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
I confirm that this works fine, for the time being anyway.
Though it gave me a little scare as i did a pacman -Syu on the side & after the above changes opera started working & mplayer-svn broke! but it was due to some other upgrade (don't remember now which package it was 4 A.M.) & gave
"mplayer: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory"
A simple recompile fixed this.
Now i am Happy Happy Happy!
He he.
Thanks hbekel
edit : Typo
Last edited by anjanaya (2009-10-10 06:29:17)
Proud Arch x86_64 user
Offline
hi,
is there any news on this bug?
Offline
Can anybody provide an older version of QT lib (4.5.2-7) ?
Thanks
Offline
Can anybody provide an older version of QT lib (4.5.2-7) ?
Thanks
You should bookmark this page , It's one of the best community contributions Arch ever had :
http://arm.kh.nu/search/
English is not my native language .
Offline
Does someone know when the fixed version of Qt (especially qtmod) will be available in pacman repositories?
BTW Workaround presented a few posts above does not work for me. I think it's because I use qtmod (from KDEmod project) and when I tried to run Opera with those two libraries replaced (taken from 'normal' Qt, not qtmod) it crashed with the message like "Mixing incompatible versions of Qt is not allowed!". Does anybody have a package qtmod in version 4.5.2?
Last edited by deluminathor (2009-10-15 14:48:49)
Order dissolves into chaos and then collapses into a higher form of order. This holds true for galaxies, ecosystems, empires and civilizations. The Universe, society, culture manifests in eternal change, and so should music and art.
Offline
Does someone know when the fixed version of Qt (especially qtmod) will be available in pacman repositories?
Is it a Qt issue or an Opera issue...
Offline
Glad i found this thread. Downgrading Qt solved my headache.
Screaming obscenities since 1979.
Offline
Glad i found this thread. Downgrading Qt solved my headache.
opera-shared-b1 10.10-1 http://aur.archlinux.org/packages.php?ID=31258 is working fine for me. No hangups for last three days.
Offline
seems recently opera force to use clearlooks style and ignore what i have set in qtconfig. i want to use GTK+ style.
my QT is 4.5.2, lastest opera snapshot version.
Offline
Finally, the new QT-updates fixed the problem for me today.
I am surfing about one hour with opera and i had no problems so far.
Yes! I am relieved. ( I hate Firefox ^^ )
Edit: DOH! Bug still exists but does not appear frequently ...
Last edited by Angry (2009-10-22 12:58:43)
Offline
u must be angry then
If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.
Offline
If you read the latest comments, you should find help there: http://aur.archlinux.org/packages.php?ID=15228
You have to build the latest opera-snapshot (version in aur is not up to date). You can use the opera-devel-qt4 PKGBUILD and change the version-number, there is also a PKGBUILD posted in the comments.
I also did this:
for workaround opera stuck problem (opera 10.01 , Qt 4.5.3 , slackware 13):
disable "Synchronous decode" in opera:config
works for me
So I don't know what really helped. Probably it helps to just change this option and you don't have to upgrade to the snapshot then.
Offline
If you read the latest comments, you should find help there: http://aur.archlinux.org/packages.php?ID=15228
You have to build the latest opera-snapshot (version in aur is not up to date). You can use the opera-devel-qt4 PKGBUILD and change the version-number, there is also a PKGBUILD posted in the comments.
I also did this:
for workaround opera stuck problem (opera 10.01 , Qt 4.5.3 , slackware 13):
disable "Synchronous decode" in opera:config
works for meSo I don't know what really helped. Probably it helps to just change this option and you don't have to upgrade to the snapshot then.
Sweet, thanks -- this worked for me as well. I did both of the above steps.
Offline
using opera-beta and modify the version to 4694, this works good for me. Since developer post on their blog that this should work with the newest qt.
Offline
Yes, after a little testing I found out that it is not necessary to change the "Synchronous decode" option if you use the newest build. But perhaps it helps with the stable version? (Didn't check this)
The development version is quite stable anyway. Btw: You don't need to change the version to 4694 anymore, the package was updated.
Last edited by bleichmittel (2009-11-13 10:11:43)
Offline
Blah, the freezing pages got fixed, however the font issue is still present ;/
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
from my experiments on a fairly vanilla arch64 install, the freezing pages issue happens with static builds, and not shared builds. I assume that's because of some Qt multithreaded weirdness?
rc-4720 is released, and the G4 builds look fine.
Offline
I can confirm that disabling 'Synchronous decode' works. At least it did for me.
Geek, runner, motorcyclist and professional know-it-all
Offline