Page 2 of 2

Re: Salix, LXDE, Opera - winning combo!

Posted: 30. Nov 2012, 12:31
by ruario
thenktor wrote:
jayseye wrote:Is there a fully open source version of Opera?
Opera is no open source at all. But still it's a nice browser (and it even uses Qt4 :P)
Correction. It can use Qt4 (and will if you are running under KDE) but it can also run on a system without Qt (or Gtk for that matter). ;)

Re: Salix, LXDE, Opera - winning combo!

Posted: 30. Nov 2012, 13:09
by jayseye
Interesting ruario: must you download a separate version compiled for each different platform? Seems that it would be complex for a unified version to sense the run-time environment, and use the appropriate interface. AFAIK, GTK+ and Qt are complete app frameworks, rather than just UI libraries.

Re: Salix, LXDE, Opera - winning combo!

Posted: 30. Nov 2012, 13:15
by ruario
Opera checks if it is running under KDE as it starts up. If it is it loads /usr/lib/opera/liboperakde4.so. If KDE isn't running but Gtk libs are present it loads either /usr/lib/opera/liboperagtk2.so or /usr/lib/opera/liboperagtk3.so. These libs are used to make Opera look "native". If no KDE and no Gtk libs Opera will still start and use only its own builtin toolkit for skinning. AFAIK we are the only major browser to do this.

Re: Salix, LXDE, Opera - winning combo!

Posted: 30. Nov 2012, 13:29
by ruario
jayseye wrote:AFAIK, GTK+ and Qt are complete app frameworks, rather than just UI libraries.
True but Opera only uses parts of them. The most obvious being for skinning but other things change as well, e.g. Opera will use KDE file open/close, print, etc dialogs under KDE and Gtk ones under Gnome/Unity/Xfce/LXDE or its own dialogs when these are not present. It is all pretty clever really.

Re: Salix, LXDE, Opera - winning combo!

Posted: 1. Dec 2012, 00:09
by jayseye
Very impressive, thanks for the detailed replies. Any info available about "its own builtin toolkit?" Is that based on X11's old, native Athena toolkit?

Re: Salix, LXDE, Opera - winning combo!

Posted: 3. Dec 2012, 09:13
by ruario
jayseye wrote:Very impressive, thanks for the detailed replies. Any info available about "its own builtin toolkit?" Is that based on X11's old, native Athena toolkit?
No, it is not based on Athena. The toolkit was developed in house and is actually a cross platform toolkit used on all the Opera desktop browsers (including Mac and Windows). The toolkit is called Quick (though it has nothing to do with "Qt Quick", that is just a coincidence in naming choice).

Basically Opera optionally loads Gtk or Qt and paints widget elements with them. Though that does not make it a true Gtk or Qt application, since it still has to live within the rules of Quick. On other platforms, Opera uses their native toolkits to paint Quick's widget elements (e.g. Cocoa on Mac).

Re: Salix, LXDE, Opera - winning combo!

Posted: 3. Dec 2012, 10:50
by thenktor
Thanks for your informations ruario ;)

Re: Salix, LXDE, Opera - winning combo!

Posted: 27. Feb 2013, 17:43
by Valiant
Is there a Salix 14.0 LXDE on the horizon? :roll: