Slashdot Mirror


Nokia Engineers on KHTML

Rich writes "KDE could soon be making its way into your mobile phone. At aKademy in August David Carson and Deepika Chauhan from Nokia presented the work they've done in integrating KDE components into the latest version of the company's mobile phone software. Philip Rodrigues discusses this work with them on dot.kde.org."

26 of 98 comments (clear)

  1. Cool... BUT (there's always a BUT) by antivoid · · Score: 4, Interesting

    With any luck, there will be some innovation taking place rather than just shoving KDE onto a cellphone. A few things make me wonder:

    1. Is this an appropriate GUI system to be using in such memory-deficient devices? I believe we we find out soon...

    2. What bothers me about an X system is that it is targetted at client-server, and the resultant code bloat may prove hazardous to an embedded implementation. I do however that an open-source-based solution should be used (why re-invent the wheel).

    3. What sort of licensing and commercial rights do a company possess, given the fact that they are using open-source commercially?

    4. Can I still make phone calls of this phone? :)

    1. Re:Cool... BUT (there's always a BUT) by WillerZ · · Score: 2, Insightful

      FFS RTFA, this is about WebCore (a KHTML-derived HTML rendering engine) being used in the Nokia web browser. They aren't porting all of KDE.

      --
      I guess today is a passable day to die.
    2. Re:Cool... BUT (there's always a BUT) by maxwell+demon · · Score: 2, Funny
      4. Can I still make phone calls of this phone? :)

      You'll make kphone kalls instead.
      --
      The Tao of math: The numbers you can count are not the real numbers.
    3. Re:Cool... BUT (there's always a BUT) by TheRaven64 · · Score: 5, Informative
      WebCore is not dependent on X. It uses a small Qt-like backend. On OS X, this translates drawing calls into Quatrz (PDF-like) drawing commands. On X11, they can be translated into X11 drawing calls. On a Series 60 phone they will be translated into the native GUI's API.

      WebCore is LGPL. They have to make their changes available to people who buy their 'phones (they also have to allow their customers to use a different version of WebCore, which could be interesting). They do not have to contribute their changes directly back to Apple, but they probably will since it is usually much easier to contribute patches than maintain a fork (note that this didn't apply to Apple when they forked KHTML, since they were throwing more developer time at the codebase than KHTML had in total, so it was easier to fork).

      --
      I am TheRaven on Soylent News
    4. Re:Cool... BUT (there's always a BUT) by molnarcs · · Score: 2, Informative
      1. Is this an appropriate GUI system to be using in such memory-deficient devices? I believe we we find out soon...

      Yes. If you think specifically of KDE/QT - check out what runs on zaurus, ipaq, and whatnot, but you have to remember that this is Qtopia, not the same thing you have as a kde desktop, although resourcewise, KDE is becoming lighter and lighter...

      Also, they speak about a rendering engine, not a GUI/OS solution (and afaik Nokia did a browser using khtml but with GTK UI).

    5. Re:Cool... BUT (there's always a BUT) by RossyB · · Score: 4, Informative
      2. What bothers me about an X system is that it is targetted at client-server, and the resultant code bloat may prove hazardous to an embedded implementation. I do however that an open-source-based solution should be used (why re-invent the wheel).

      Sigh, this again. In X when the client and the server are on the same machine, communication is by local Unix sockets, which are the fastest form of IPC on Linux. Keith Packard wrote a new X server (kdrive) to demonstrate that X doesn't have to be slow, and he was right: the "overhead" of the client/server communication is nothing compared to the time it takes smaller systems to draw.

    6. Re:Cool... BUT (there's always a BUT) by Bogtha · · Score: 3, Informative

      Is this an appropriate GUI system to be using in such memory-deficient devices?

      RTFA:

      We started investigating the available open-source solutions and decided to go with a KDE-based solution for primarily 3 reasons:

      1. Series 60 devices are constrained by ROM/RAM. WebCore/KHTML and JavaScriptCore/KJS provide rendering engines that use very small RAM/ROM footprint. That was really a clincher for us.

      --
      Bogtha Bogtha Bogtha
    7. Re:Cool... BUT (there's always a BUT) by rdieter · · Score: 4, Informative

      WebCore is LGPL. They have to make their changes available to people who buy their 'phones


      True.


      (they also have to allow their customers to use a different version of WebCore, which could be interesting).


      That's an interesting but (IMO) false interpretation of the LGPL.
    8. Re:Cool... BUT (there's always a BUT) by MenTaLguY · · Score: 2, Insightful

      1. in most cases drawing still dominates, rather than IPC overhead

      2. This is why the standard MIT SHM extension exists. When the client and server are on the same machine, the bitmap memory can be shared between client and server

      --

      DNA just wants to be free...
  2. Re:KHTML? by biehl · · Score: 5, Informative

    Yes, WebCore is Apples fork of KHTML. Read here for an explanation on how the collaboration between the projects works.

  3. Re:Warning by mattjb0010 · · Score: 5, Funny

    Seriously, they need to stop naming everything K-something, it's so incredibly lame.

    iAgree.

  4. What of the 770? by Anonymous Coward · · Score: 3, Interesting

    don't they already have their own GTK+ based gui and Webcore based browser? I seem to recall them releasing the sources some time ago.

    1. Re:What of the 770? by Anonymous Coward · · Score: 2, Interesting

      They did a port of KHTML, but never used it. The 770 runs a customized build of Opera.

  5. Small RAM footprint by Mostly+a+lurker · · Score: 3, Interesting

    Was anyone else surprised that the key reason for using KDE components was the small footprint of the rendering engine? I had not considered KDE terrible in this regard, but I am shocked that it is considered superior to the alternatives.

    1. Re:Small RAM footprint by Jessta · · Score: 4, Informative

      it's not KDE. It's KHTML.
      KHTML has a far lower footprint than something like GECKO(mozilla firefox).

      --
      ...and that is all I have to say about that.
      http://jessta.id.au
    2. Re:Small RAM footprint by m50d · · Score: 2
      Was anyone else surprised that the key reason for using KDE components was the small footprint of the rendering engine? I had not considered KDE terrible in this regard, but I am shocked that it is considered superior to the alternatives.

      The kde javascript engine is incredibly slow (straight rendering is faster than anything OSS, but once you hit heavy javascript it slows to a crawl), so I'm glad there's something it's good at in compensation.

      --
      I am trolling
  6. Another feature to run down the battery... by verbnoun · · Score: 2, Insightful

    Back when I had my first phone, a Nokia 3210, it could go for almost a week without charging. Now, I have a phone with all the features it lasts little more than a day. Personally, if I want to use KHTML while I'm travelling around I'd rather take a laptop and have a phone that lasts a reasonable amount of time.

    --
    There is no god but Google and GTalk is the messenger of Google.
    1. Re:Another feature to run down the battery... by Chicane-UK · · Score: 2, Informative

      What the hell phone do you have that goes flat after 1 day?!

      I run a Microsoft / Orange SPV C500 and its loaded with features.. MSN Messenger, Internet Explorer, Media Player, etc - I use it heavily for SMS texting (250/month roughly) and make about 2 or 3 calls a week on average and it usually lasts me about 5 days between charging. Its small too!

      --
      "Hey! Unless this is a nude love-in, get the hell off my property!!"
    2. Re:Another feature to run down the battery... by 10Ghz · · Score: 2, Insightful

      I have Nokia 9300 Communicator. It has a GPRS-connection on all the time, so new emails are pushed to it instantly. I also make several phone-calls every day and use the PDA-functionality extensively. And the battery lasts for several days before needing a recharge.

      So I call bullshit on your comment.

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
  7. Re:KHTML? by EntropyEngine · · Score: 2, Informative

    As I understand it -- and have read elsewhere -- Nokia became interested through Apple's interest in kHTML.

    After all, Apple have had some success with Quicktime on mobile devices and Nokia like that kind of stuff.

    There's been all kinds of talk of Apple and Nokia gettin' all cozy on some smart phone stuff, but nothing has been confirmed, yet...

  8. Re:Warning by imsabbel · · Score: 5, Insightful

    iDont.

    Seriously. When new to linux, and browsing through the huge garbage pile that is the "available list" of the package manager, finding something with the destinctinve "K" is really helpful, because they usually work and at least partly follow the same usability conventions.

    Case in point: i couldnt even EXIT that damn vi before reading 5 minutes into the damn man file without kill-9ing the PID, but luckily a "Kedit" in the corresponding cathegory was available, completely usable

    --
    HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
  9. Re:Why do all this free work for ONE company? by Bogtha · · Score: 4, Insightful

    The way the Qt/KDE relationship is structured, all this work porting KDE components to Troll Tech's platforms adds value primarily to the product from one company: Troll Tech.

    Um, what? Porting KDE components to TrollTech's platforms? KDE has always been based on TrollTech's Qt toolkit.

    Furthermore, it clearly adds value to KDE; the quality of the Qt toolkit really shows. Compare the quality of KHTML and Gecko sometime. KHTML's faster, uses less resources, and implements the W3C specifications better (it passes the Acid2 test, implements things like DOM2 mutation events, etc, some of which are a *long* way off in Gecko - Acid2 fixes aren't even planned yet). And yet the KHTML developers have accomplished this with a fraction of the resources available to Mozilla.org. Much the same comparisons can be made between KOffice and OpenOffice.

    Assume Troll Tech's products are as good as people working with them say they are and that they should take over the world. What would we end up with? A single company monopolizing the commercial GUI development space, plus lots of people contributing free labor. How is that different from what we get with Microsoft?

    The difference is that Qt is GPLed, so all the proprietary license fees would be paying for development of Free Software, and would directly benefit Free Software like KDE.

    As far as I'm concerned, dual licenses are bad because they inhibit competition.

    You can fork Qt whenever you want.

    All contributors to an open source project should work on equal footing.

    All contributors to Qt have all the freedoms granted by the GPL.

    --
    Bogtha Bogtha Bogtha
  10. Re: KHTML by g2devi · · Score: 5, Informative

    There are two ports, one from Apple and one based off the work from Apple by Nokia. Here's the link I think you're referring to:
                http://gtk-webcore.sourceforge.net/

    From the page: "Gtk+ WebCore is a Linux/Gtk+ port of Apple Computer Inc.'s WebCore KHTML html rendering engine including a web component. A reference browser implementation is included in the project. Gtk+ WebCore is a standards compliant (X)HTML rendering engine, javascript interpreter and an embeddable web component. The purpose of the web component is to be a light-weight, easy-to-compile and embed, open source rendering component.

    The project work is done at Nokia Research Center (NRC) as part of ongoing internet browser-related research activities. By releasing the source we hope to support in open source communities interested in using KHTML rendering engine component."

  11. Re:KHTML? by fdobbie · · Score: 5, Informative

    Since that was written, the world has moved on. Apple launched the WebKit open-source project as part of OpenDarwin. This means that WebKit bugs are now being tracked in bugzilla (in addition to Apple's internal bug tracking system), and WebKit, WebCore and JavaScriptCore have moved to a publicly accessible CVS server.

  12. Re:Why do all this free work for ONE company? by 49152 · · Score: 2, Insightful

    Oh no, not again!

    This horse has been beaten to death several times before, either you are trolling or simply very ignorant.

    QT is GPL'd you are free to fork at any time, if you dont believe me go read the f***ng license yourself.

  13. Re:Why do all this free work for ONE company? by 10Ghz · · Score: 4, Insightful
    I don't get it. I really don't. A company releases their prodcut (a very good product in fact!) under the GPL. And when they do that, some people start to whine that "Don't do that! You are hurting the free software movement!". So releasing software as free sofware is a bad thing?

    What is the problem here? TrollTech offers their product under the GPL. They also offer it under a proprietary license. They don't force anyone to use their toolkit, and you are free to fork the toolkit anytime you want to. So what is the problem here? Why is it bad to offer software under the GPL?

    Assume Troll Tech's products are as good as people working with them say they are and that they should take over the world. What would we end up with? A single company monopolizing the commercial GUI development space, plus lots of people contributing free labor.


    Qt is licensed under the GPL. I really fail to see how they could "monopolize" anything. or are you worried what would happen if Linux "monopolized" the OS-market? or if Red Hat "monopolized" Linux-market? Since the product (Qt, Linux or Red Hat) are GPL'ed, there will be no "monopolization" in the sense as would happen with Microsoft for example.

    But people who do contribute free labor to Troll Tech should reflect on what they are doing and why they are doing it.


    So I shouldn't offer any bug-reports to the kernel-folks, because that might make the product a bit better, and some company might earn some money through it?

    Seriously, am I in the Twilight Zone or something? People are complaining when some company offerws kick-ass software under the GPL?
    --
    Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.