Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 323251

Summary: >=www-client/opera-10.53_pre6330 forcibly using KDE4 UI even though GTK+ is advised
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: xmw
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://my.opera.com/desktopteam/blog/2010/06/08/more-bug-fixing?startidx=150#comment30753222
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-06-08 20:27:57 UTC
Since www-client/opera snapshots come with both GTK+ and KDE4 UI modules, www-client/opera is always using the KDE4 one, even though:
1) I'm running XFCE,
2) I have no KDE4 (and thus no libkde* depends of liboperakde4.so),
3) (with 10.60*) opera has USE='gtk -kde'.

Moreover, it seems like Opera is not even considering using GTK+ UI. If I remove liboperakde4.so, Opera starts in 'native X11' GUI anyway. To get the GTK+ UI, I have to rename 'liboperagtk.so' to 'liboperakde4.so'.

I don't know what Opera uses to determine which UI to use but I guess it should at least try GTK+ if KDE4 libraries are unavailable. As a workaround, the ebuild could do the rename mentioned above when USE='gtk -kde'.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-09 05:34:46 UTC
I can't help you there. Ask a the [URL] how to fix this and please report back.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-06-13 09:49:04 UTC
Ok, I've got an additional knowledge: this can be set through opera:config 'File Selector -> Dialog Toolkit', where 1 seems to stand for KDE4, and 2 for GTK+.

But I guess we aren't really able to control it in other way than creating a wrapper modifying user's operaprefs.ini. I'll try to ask on IRC too.