This forum has been archived. All content is frozen. Please use KDE Discuss instead.

preview in "firefox"

Tags: None
(comma "," separated)
User avatar
metosa
Registered Member
Posts
11
Karma
0
OS

preview in "firefox"

Sat Mar 28, 2009 2:56 pm
Is it possible to embed firefox into konqueror.

I wonder to preview web pages in konqueror with firefox as i'm currently
previewing text files with kate and videos with dragon ?
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

RE: preview in "firefox"

Sat Mar 28, 2009 3:58 pm
Moved this to the appropriate section of the forum. Please don't post support questions at the brainstorm section.

Yes, this definitely can be done. Right click on an HTML file, click "Properties" and click the button with the icon of a wrench for "Type". In the list, select firefox and click "Move up" and send it to top. This should make your html files open in Firefox.


The User
KDE Developer
Posts
647
Karma
0
OS

RE: preview in "firefox"

Sat Mar 28, 2009 10:08 pm
Kate etc. are using KParts. The classes for the Application-Windows inherit KXmlWindow, with a few XML-Information they can be embedded into another KDE-Application. Also shortcuts, menus etc. are available inside of Konqueror.
But Firefox:
-does not use KParts
-does not use KDE
-does not use Qt
-does not provide Qt-compatible Signals and Slots
-does not provide a DBus-interface
Firefox still uses the X-Server, but it would be really a hack. It is possible to render X-Windows inside of Qt-Widgets, but that would not be a real integration. Maybe it would be hard to provide the same Addon-API like Firefox, but a comfortable integration would be nearlly impossible. (integrating Gecko maybe would be easier)

The User
User avatar
metosa
Registered Member
Posts
11
Karma
0
OS

RE: preview in "firefox"

Tue Mar 31, 2009 8:13 pm
sayakb wrote:Moved this to the appropriate section of the forum. Please don't post support questions at the brainstorm section.

Yes, this definitely can be done. Right click on an HTML file, click "Properties" and click the button with the icon of a wrench for "Type". In the list, select firefox and click "Move up" and send it to top. This should make your html files open in Firefox.


I don't mean "my html files open in Firefox", I mean "preview" with firefox in konqueror.
pinotree
KDE Developer
Posts
222
Karma
7
OS

RE: preview in "firefox"

Tue Mar 31, 2009 11:19 pm
You cannot do that, currently.

"Preview" in Konqueror means there is a KDE component (a KPart) able to display a type of file(s). In this case, it should be a KPart for rendering HTML pages using the Firefox' engine (Gecko).
There was an attempt to create one years ago, but due to lack of support from Mozilla community and complexity of the project it was not developed further.


Pino Toscano


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]