Slashdot Mirror


KDE Gets Gecko/Mozilla Support

Sivar writes "Ars Technica reports that not only has the Gecko engine been ported to Konqueror, but the developers were able to finish the port in only four days during the week-long Akademy conference. With this port, Konqueror users now have a choice between two mature, powerful rendering engines."

43 of 279 comments (clear)

  1. Port the IE rendering engine by ari_j · · Score: 5, Funny

    I'm waiting for IE's rendering engine to be ported, possibly with some help from Wine.

    1. Re:Port the IE rendering engine by gl4ss · · Score: 3, Interesting

      *Why would you want to port a rendering engine that is not standards complient?*

      to view non standard pages? seriously, there would be some use for it.. but not woth the risk in using(the nonstandard stuff that I most often run into are usually spyware anyways and i'd rather not have them run like supposed..)..

      --
      world was created 5 seconds before this post as it is.
    2. Re:Port the IE rendering engine by adamjaskie · · Score: 5, Insightful

      It would be useful for testing web pages when you do not otherwise have access to a Windows machine, like me.

      --
      /usr/games/fortune
    3. Re:Port the IE rendering engine by xutopia · · Score: 4, Funny

      help from Wine? I think you mean with some help from Crack?

    4. Re:Port the IE rendering engine by ricotest · · Score: 4, Interesting

      Read the parent post again. He is proposing a modification to the Gecko engine to make it emulate IE5/6's quirks (as well as the IE4 and below quirks that it already emulates in the aptly-named 'quirks mode') so that you can view the page how it would look in IE without using IE. This would be incredibly useful. It's not a new idea by any means, but it would solve your problem.

    5. Re:Port the IE rendering engine by mrgreen4242 · · Score: 5, Informative
      Um, I suggested that someone create a set of what would liekly be .dlls that would accept all the calls from Windows APIs calling for IEs renderer, but would instead render the page with Gecko's engine, and then send the results to whatever program called for them in a manner that was similar enough to the IE subsystem that the calling application wouldn't notice it wasn't from IE.

      Then IE would be standards compliant, and so would all the Windows apps that rely on the IE rendering subsystem for HTML rendering.

      I THOUGHT that it was pretty clear, and other people seem to have got it, but I hope that makes it even more clear for you.

    6. Re:Port the IE rendering engine by FuzzyBad-Mofo · · Score: 5, Funny

      Really? I never read EULAs, but have my dog click the 'agree' button to limit liability. Works for me.

  2. FAQ by jlp2097 · · Score: 5, Interesting

    Also read this blog entry by one of the developers which answers the most common asked questions.

    1. Re:FAQ by cozziewozzie · · Score: 4, Informative

      The best thing is that Firefox will have a completely native look and feel. This means that they are making sure the entire Mozilla platform runs as native KDE applications. This is not only Firefox/Gecko, folks, this means Mozilla, Thunderbird, Sunbird and anything based on Mozilla will in the future look and act as a native KDE app.

      Awesome!

  3. Another possible port? by Anonymous Coward · · Score: 5, Funny

    Now if only those KDE devs would port the Safari rendering engine us Linux users would be happy.

    1. Re:Another possible port? by Alex+Brasetvik · · Score: 4, Informative

      >Now if only those KDE devs would port the Safari rendering engine us Linux users would be happy.

      I see this is a joke, but for those who doesn't know, Apple is indeed contributing their enhancements of KHTML -- on which Safari is based -- back to the KTHML-team.

    2. Re:Another possible port? by kundor · · Score: 4, Informative

      If you look at KDE changelogs, you see "fixed from apple" in there fairly often. Safari work is going upstream.

  4. Firefox/Qt by _|()|\| · · Score: 4, Interesting

    Perhaps more interesting than porting Gecko to Konqueror is integrating Qt and KDE with Firefox. It sounds like this porting fest has gained a couple of talented developers for the Mozilla project. This is good for both KDE and Mozilla.

  5. KHTML by Anonymous Coward · · Score: 3, Insightful

    More choices, I see nothing negative in that.
    The one thing I'd actually like to see in my GNOME environment is a KHTML based webbrowser, the html rendering feels much snappier than Gecko/Mozilla browsers.
    There must be a reason why Apple desided to go with KHTML for their Safari browser instead of Gecko/Mozilla.

  6. That was done a long time ago. by bayerwerke · · Score: 3, Interesting

    Actually it ran in X before it ever did in Windows. IE is the browser formerly known as NCSA Mosaic.

    1. Re:That was done a long time ago. by bayerwerke · · Score: 4, Informative

      "Based on NCSA Mosaic. NCSA Mosaic(TM); was developed at the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign."

      Maybe you should tell someone at Microsoft that.

    2. Re:That was done a long time ago. by pmsyyz · · Score: 3, Informative
      Wrong, IE is based on Spyglass Mosaic, which used none of the NCSA Mosaid source code.

      From http://www.netvalley.com/archives/mirrors/eric/Eri c_Weblog.htm

      I ended up as the Project Lead for the browser team. Yes, we licensed the technology and trademarks from NCSA (at the University of Illinois), but we never used any of the code. We wrote our browser implementations completely from scratch, on Windows, MacOS, and Unix.

      Internet Explorer 2.0 was basically Spyglass Mosaic with not too many changes. IE 3.0 was a major upgrade, but still largely based on our code. IE 4.0 was closer to a rewrite, but our code was still lingering around -- we could tell by the presence of certain esoteric bugs that were specific to our layout engine.
      --
      Phillip
  7. Better news.. by Visceral+Monkey · · Score: 4, Interesting

    The best news here is that Firefox will also now be able to use the native KDE widgets, etc. Sweet.

    --
    *Fortitudo, aequitas, fidelitas.*
    1. Re:Better news.. by cozziewozzie · · Score: 4, Interesting

      I see a very encouraging pattern here:

      Mozilla: Can use KDE or GTK frontend.
      Firefox: Can use KDE or GTK frontend.
      OpenOffice: Can use KDE or GTK frontend.
      Xine/Mplayer: Can use KDE or GTK frontend.
      giFT: Can use KDE or GTK frontend.
      GIMP: Can use KDE or GTK frontend.

      Are we really moving away from the Desktop Environment holy wars, and towards interoperability?

    2. Re:Better news.. by Anonymous Coward · · Score: 4, Informative

      Are we really moving away from the Desktop Environment holy wars, and towards interoperability?

      Not really. You can draw GTK+2 apps using Qt widgets but that doesn't magically give the applications DCOP interfaces, KIO support, and things like that which really make KDE what it is.

    3. Re:Better news.. by pchan- · · Score: 3, Interesting

      sweet. it is seriously about time for this feature.
      i use firefox on windows and linux daily. the windows version is so much slicker, because it plugs right into the windows widgets. it is consistant with the rest of the ui i'm using. the firefox on my kde desktop has an out of place user interface that makes often makes it a pain to get things done. copy and paste consistancy, dragging things, an address bar edit field that doesn't suck, this would be awesome. i'd also love to see kde's spell-checker-in-every-text-field apply to firefox as well.

    4. Re:Better news.. by Quattro+Vezina · · Score: 3, Interesting

      KDE frontend for GIMP? What did I miss?

      You missed nothing=-there's no such thing. There is, however, a GTK2 engine that uses Qt as a drawing backend. It's called the gtk-qt-engine, and while it's still in the early stages, it's coming along quite nicely. Combine that with some other tweaks like changing your .gtkrc to use the same fonts and icons as KDE, and you've got a decent level of visual integration (not nearly perfect, but not bad either).

      It's only for GTK2, however--GTK1 apps don't have that, although some GTK1 themes, such as Plastig, use the QtPixmap backend to draw your colours from your KDE settings, so GTK1 is part of the way there.

      --
      I support the Center for Consumer Freedom
  8. Old stuff by Trofonio · · Score: 3, Informative
    This isn't really new. A qtmozilla was implemented by Trolltech a couple of years ago. Then it became an open source project hosted at http://www.mozilla.org/ports/qtmozilla/.

    Anyway this wasn't the same than a KDE port, but given that the Kecko Team have not integrated KIO, KWallet and KCookieJar already, they aren't there either.

  9. The best part of all is.... by ErichTheWebGuy · · Score: 3, Interesting

    ... that we will finally have OK/Cancel buttons in the usual (correct) places in the Qt version of Firefox!

    --
    bash: rtfm: command not found
  10. Re:Advantages of Mozilla platform?? by ADRA · · Score: 4, Interesting

    Think of Mozilla's platform as Java-lite. You can write very small programs that utilize many built-ins that the browser supports. It has a deployment framework through 'extensions', etc..

    Not everyone needs a fully library supported language like .NET or Java in order to do their work.

    As long as you can learn JavaScript, you can write mozilla extensions. I'm just wish that the Mozilla folks would make it easier to find info on how to develop the platform as a platform. From what I've read on their site, they target the 'Mozilla as-a platform' over 'Mozilla is-a platform'. They might find that free/comercial entities could find use in their platform and help develop it if they think there's more for them to use from it.

    Think of thin-apps niche for a moment:
    Java Runtime ~15MB .NET Runtime ~25MB
    Mozilla Runtime ~5MB and that includes a browser

    If you want to deploy Thin Client App xyz, which one do you choose? You can't assume that your customer has either Java or .NET installed (trust me from experience, they don't). Less means better in this case. The smaller the release, the more likely an admin would choose your solution.

    Mozilla has less surface area which means there's less functionality built id but its more simple to develop for. The language is JavaScript which is used by throngs of web developers (the target market of this technology). You can look at the debate over web based Application distribution to see where Mozilla fits into things. (The new MS web services model, Java Web Start, Mozilla)

    --
    Bye!
  11. Are you stoned and browsing slashdot? by bayerwerke · · Score: 4, Funny

    Oh come on, that never happens.

    1. Re:Are you stoned and browsing slashdot? by Anonymous Coward · · Score: 3, Informative
      Yeah, it doesn't happen anymore because M$ turned off the blue screens. Now what happens instead is an automatic reboot. Turn off the reboot and you'll eventually see the blue screen. The broken Windows driver model guarantees a blue screen will eventually happen to you.

      Even M$ admits its broken. They've decided to scrap Windows Driver Model (WDM) and replace it with Windows Driver Foundation (WDF). Here's what Redmond has to say about their current driver model:
      Most drivers that use the WDM and miniport driver models must run in kernel mode. Kernel-mode drivers are treated as part of the operating system and have access to the system virtual address space. Consequently, errors in kernel-mode drivers can cause the system to crash. (Emphasis added)
      But you'll have to wait till the mythical Longhorn comes out before you see the vaporware^H^H^H^H^H^H^H^H^Hfeature.
  12. Re:Konqueror's UI by cortana · · Score: 3, Funny

    It's KDE! They'll just add a checkbox to the Prefs dialog.

  13. Re:Advantages of Mozilla platform?? by rycamor · · Score: 3, Informative

    Actually there are many companies and projects using the Mozilla platform these days. I use it every day at my job these days. Some examples out there:

    Sunbird -- calendaring system
    Nvu -- web authoring system
    Oeone -- Linux desktop
    Komodo -- programmer's editor/IDE

    And tons of other small projects are available as Mozilla or Firefox extensions at www.mozdev.org and other sites.

  14. To those of you crowing about removing KHTML... by benjamindees · · Score: 5, Informative

    At one time, Gecko was the creme de la creme of fast rendering engines. Now it's just the most compatible as well as being damn fast. Look how times have changed.

    The KDE project takes a lot of flack for the way they integrate applications. Most people call it 'bloat'. Some call it 'Microsoftesque'. As the conventional OSS wisdom goes, apps that live outside the KDE project are usually better. But, as we see in the Windows (and Mac) world, integration and consistency is what sells. Fortunately, KPart has emerged as the best of both worlds.

    Thesis: small applications doing specific tasks.
    Antithesis: large applications that do everything.
    Synthesis: apps seamlessly integrated via an open framework.

    For years we witnessed proprietary software get more and more bloated and more and more expensive. That was due in no small part to the monopolies created by proprietary formats and standards. Now, with OSS, we are witnessing capitalism in action. Choice and open standards lead to constant improvement.

    The next time you think about removing choice, think "where would OSS be without this competition?" Would we have KPart if it weren't for Gnome? Would we have great, cross-platform Gnome apps if it weren't for KDE? Many people look at these projects and see redundancy. I look at them and I see innovation.

    The argument that someone needs to "manage developer resources" in OSS is completely bunk. OSS didn't get where it is today by forming a central economy of software projects. OSS is about freedom and fair competition. A defining quality of Open Source has been: there are no managers! The downside is that you may not get to tell a developer what to work on unless you're willing to pay her. The upside, though, is that we all reap the benefits of creative freedom.

    --
    "I assumed blithely that there were no elves out there in the darkness"
    1. Re:To those of you crowing about removing KHTML... by Quattro+Vezina · · Score: 4, Interesting

      Fortunately, KPart has emerged as the best of both worlds.

      Thesis: small applications doing specific tasks.
      Antithesis: large applications that do everything.
      Synthesis: apps seamlessly integrated via an open framework.


      Indeed. In fact, I'd say that the KPart architecture is actually closer to the Unix philosophy than standalone small apps. KPart reminds me so much of the pipes and output redirection that make Unix shells so good. It's the closest GUI equivalent to the Unix CLI environment that I've seen.

      Take Konqueror, for example. By itself, it doesn't do anything--it's just a frame. All the functionality--the file manager, web browser, fish, all the other viewers--are KParts independent of Konqueror. Konqueror is a graphical shell--a frame that holds those KParts, and provides interoperability features.

      --
      I support the Center for Consumer Freedom
  15. konqueror could use them both by Anonymous Coward · · Score: 3, Interesting

    It might be a good idea to make khtml as standard compliant as possible and switch to the gecko enigne whenever konqueror detects a page, which has incorrect html.
    khtml would be very clean and probably easy to develop and konqueror would still be able to show all pages.

  16. More information by fault0 · · Score: 4, Informative

    Zack Rusin, one of the authors of this port, has written some more information about it in his blog.

    See his blog

  17. Great, but... by Money+for+Nothin' · · Score: 4, Insightful

    Can we have the rendering speed of KHTML (Konqueror's rendering engine) and the relatively-small memory footprint of Konqueror with the compatibility of Mozilla?

    I mean, switching between rendering engines just to access a particular site sounds annoying. Almost as annoying as having to open an IE window for sites that don't work well w/ Mozilla or a Moz. window for sites that don't work in Konqueror...

  18. Re:Advantages of Mozilla platform?? by Scaba · · Score: 3, Informative

    You also may want to consider Rapid Application Development with Mozilla instead. It's more recent and a better read, I think. You can also download the entire book (PDFs) from the above mentioned link (hint: see Downloads). If you like it, don't forget to buy it.

  19. Re:Advantages of Mozilla platform?? by Dracos · · Score: 4, Informative

    The full (updated) text of Creating Applications With Mozilla, along with all the example source, is available for download at http://books.mozdev.org.

  20. Can see the connection. by bayerwerke · · Score: 3, Funny

    While your argument may have merit, I fail to see the connection between the 'Windows Driver Foundation' and getting stoned before browsing Slashdot.

  21. Re:what the hell is wrong with you people? by Anonymous Coward · · Score: 5, Insightful

    "hasn't anyone ever tried to write a validated webpage that works in mozilla/firefox? it's nigh impossible, if you expect to use all of the features of html4.01 transitional or css1.0"

    Smoke crack much? Writing validated HTML or XML pages in Mozilla is easy as hell. It's getting IE to render em right that is the hard part.

    "have a look here: Mozilla's quirks mode. It's actually necessary to trick the browser into getting even somewhat close to standards compliant, and even then the formatting is all screwy by half."

    I hope you were trying to be funny. Otherwise you could only be considered a retard. Actually read what the page says.

    " Because existing content on the web is not standards-compliant or would appear in unintended ways on a standards-compliant browser, Mozilla handles some content in a backwards compatible way and some content according to standards.

    There are three modes used by the layout engine: quirks mode, almost standards mode, and full standards mode. In Quirks mode, layout emulates nonstandard behavior in Navigator 4 and MSIE for Windows that is required not to break existing content on the Web. In full standards mode, the behavior is (hopefully) the behavior described by the HTML and CSS specifications. In almost standards mode, there are only a very small number of quirks implemented: those that break real pages on the web that use the DOCTYPEs that trigger almost standards mode."


    Mozilla quirks mode is not about rendering pages in a standards compliant way. It is about rendering broken pages in broken ways to match the rendering of the worlds most popular broken browser Internet Explorer. Which has it's own quirks mode so as to be backwards compatable with it's own broken ancestors.

    " No problems in ie 4, 5 or 6. no problems in Opera or with khtml. I have no trouble testing sandards-validated pages QNX browser, mac OS/X, netscape 4 or with any other damn browser. Just the unholy troika of moz-firebrid-netscape. I'm like, wtf?"

    And after reading all that the rest of us are all like wtf was he smoking?

  22. Beware the IE rendering engine by argent · · Score: 3, Funny

    Be bloody careful if you really do this: make sure the HTML control is sandboxed every bloody way imaginable.

    Personally, I'd rather port the viruses directly. It's more honest.

  23. Re:what the hell is wrong with you people? by Anonymous Coward · · Score: 3, Insightful

    Mr. Gates, is that you?

    Seriously, I'm a professional web designer. I build everything 100% XHTML and CSS standard; my designs usually work immediately without tweaking in Safari and Mozilla/Camino/Firefox. A good 25% of my time, however, is spent fixing the IE 5 and 6 bugs afterwards. That happens *every* time.

    Maybe you're just trying to do some things the wrong way. It's possible to write code that is valid but still done the wrong way.

  24. Re:Oh, the irony by Anonymous Coward · · Score: 3, Funny

    You mean Ars Technica web site bad rendering? That it's also solved in KDE 3.3

  25. I presume you're quoting Help/About? by leonbrooks · · Score: 3, Informative
    If so, there's similar text here:
    Portions of this software are based on NCSA Mosaic. NCSA Mosaic was developed by the National Center for Supercomputing Applications at the University of Illinois at Urbana-Champaign. Distributed under a licensing agreement with Spyglass, Inc.
    So... grandparent poster, while what you said was technically correct, your post was wrong in that you said that the GGP poster was wrong. MSIE is based on SpyGlass Mosaic - but that's in turn based on NCSA Mosaic.
    --
    Got time? Spend some of it coding or testing
  26. Except that they already use multiple widget sets by Quattro+Vezina · · Score: 4, Informative

    On Linux, you can compile Mozilla (and related products, like Firefox, Thunderbird, Sunbird, etc.) to bind for GTK1 or GTK2 (and now, hopefully, Qt). On Mac and Windows, it binds to the native toolkit.

    True, it still uses XPFE, but it uses the other toolkit as a backend and to get certain information (colours, fonts, and dialog widgets if the Moz theme isn't comprehensive).

    It's one of Mozilla's greatest strengths--it still has its own theming capability and cross-platform compatibility, but it also integrates with the native desktop. Adding another toolkit (i.e. Qt) to the possible options will only help increase its acceptance, without sacrificing anything.

    --
    I support the Center for Consumer Freedom