Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Mozilla Graphics Software The Internet

Future Directions Proposed For Mozilla 572

Ars-Fartsica writes "MozillaZine is now featuring a set of slides regarding future directions for Mozilla that were detailed at the recent Mozilla developers meeting. SVG and integration with programming languages are among the directions discussed."
This discussion has been archived. No new comments can be posted.

Future Directions Proposed For Mozilla

Comments Filter:
  • Direct link (Score:5, Informative)

    by Adam9 ( 93947 ) on Wednesday March 03, 2004 @02:59AM (#8449608) Journal
    Here's a direct link [mozilla.org] to the slideshow itself.

    Type n, right-arrow, down-arrow, or space to advance a slide. Type p, left-arrow, or up-arrow to go back one slide. Type t to go the the first (title) slide.

    Instructions taken from here [mozilla.org]
    • Re:Direct link (Score:5, Insightful)

      by Anonymous Coward on Wednesday March 03, 2004 @03:04AM (#8449639)
      Yup, and that appears to be all you can see if you run with Javascript disabled. Good job, guys!

      Gotta love that "degrade gracefully" concept.
    • Re:Direct link (Score:5, Interesting)

      by FFFish ( 7567 ) on Wednesday March 03, 2004 @04:01AM (#8449900) Homepage
      [heh. try that again, this time without the angle brackets!]

      Well it's a damn shame they broke it for other browsers.

      They didn't use the <link rel="next"> meta-tag. Which means, for instance, Opera can't use its default "fast-forward" shortcuts to automagically go to the next page when I hit left-down+right-click.
    • Re:Direct link (Score:5, Insightful)

      by colinramsay ( 603167 ) on Wednesday March 03, 2004 @07:18AM (#8450516) Homepage
      To all the above posters - this is an INTERNAL document which happened to be released to the public. There is no reason to think that they would make it pretty for other browsers when they only ever intended to properly use it once, and on a Mozilla browser.
      • Re:Direct link (Score:5, Informative)

        by polaar ( 564379 ) on Wednesday March 03, 2004 @08:51AM (#8450788)
        Not just that, it's supposed to be a slideshow, not a website. So if you want to complain, you should ask yourself whether you'd rather have had a PowerPoint presentation...
        They are using mozpoint [mozdev.org], which tries to be "a presentation library (of CSS and JS) that can be used to make simple but elegant presentations using the browser as a platform for rendering presentation content". (while on the website it is claimed that the presentations should "work in that other browser too", it might still have some problems, according to the comments here) I hadn't heard about it yet, but it doesn't seem such a bad idea. Might lead to another nice Mozilla application to complement Firefox, Thunderbird, Calendar etc...
        So: they wanted to do a slideshow presentation on a Mozilla Developer Day, and they chose to use/support mozpoint. Nice, no?
  • MS (Score:4, Funny)

    by Pres. Ronald Reagan ( 659566 ) on Wednesday March 03, 2004 @02:59AM (#8449611)
    When will the Mozilla team learn that Mozilla will never catch on until it is standards compliant?

    Of course, by standards compliant, I mean the standards that Microsoft sets for the web.
    • Re:MS (Score:3, Funny)

      I think "standards" imply some level of internal consistency which IE lacks.
    • Re:MS (Score:3, Insightful)

      by spektr ( 466069 )
      I mean the standards that Microsoft sets for the web.

      Do you mean the standards that were set by the PC implementation of IE or by its mac implementation? These are vastly different, you know? No, I suppose you don't.
  • by Anubis333 ( 103791 ) on Wednesday March 03, 2004 @03:02AM (#8449626) Homepage

    Maybe "Integration with operating system" would help.
  • by teamhasnoi ( 554944 ) <teamhasnoi AT yahoo DOT com> on Wednesday March 03, 2004 @03:02AM (#8449627) Journal
    FireHydrant is a great OS - If only someone would write a web browser for it.
  • How about... (Score:3, Interesting)

    by God! Awful 2 ( 631283 ) on Wednesday March 03, 2004 @03:02AM (#8449628) Journal
    they fix their integration with friggin' Javascript. I swear, every new version of Mozilla has new and more obscure bugs. Designing form-based web pages now requires beta testing against IE6, Netscape 7, and every version of Mozilla that ever existed.

    -a
  • by paul248 ( 536459 ) on Wednesday March 03, 2004 @03:04AM (#8449636) Homepage
    A way to view slides with the window maximized.
  • SVG vs Flash (Score:5, Interesting)

    by Anonymous Coward on Wednesday March 03, 2004 @03:04AM (#8449640)
    Can SVG be expected to take off now if all the developers use flash instead?
    What if any SVG based graphic tools are there?
    What other benefit besides native browser support will SVG have to use against Flash?
    • Re:SVG vs Flash (Score:5, Informative)

      by wrmrxxx ( 696969 ) on Wednesday March 03, 2004 @03:23AM (#8449724)
      There is Sodipodi [sodipodi.com] for editing SVG.
    • Re:SVG vs Flash (Score:5, Interesting)

      by Duderstadt ( 549997 ) on Wednesday March 03, 2004 @03:41AM (#8449808)
      Can SVG be expected to take off now if all the developers use flash instead?

      Perhaps, but after looking at the 700+ page spec, which, by the way, has dependencies on almost every spec ever issued by the W3C... I kind of doubt it.

      To be a bit more specific, SVG encompasses so much that a fully compliant implementation must support not only the massive spec, but also ECMA Script, SMIL, MathML, etc.

      What, if any, SVG based graphic tools are there?

      The only one I am aware of at the moment is a Corel Product. It costs about 15 grand (USD), or it did the last time I checked.

      What other benefit besides native browser support will SVG have to use against Flash?

      Complex 2d graphics in non binary form? Honestly, I don't know.

      • by Anonymous Coward
        "The only one I am aware of at the moment is a Corel Product. It costs about 15 grand (USD), or it did the last time I checked."

        Check again.
        Webdraw [jasc.com]

        And a lot of Adobe products support it as well.

        BTW Adobe does have a SVG plugin-in that works with mozilla-firefox
      • Re:SVG vs Flash (Score:4, Informative)

        by horza ( 87255 ) on Wednesday March 03, 2004 @09:43AM (#8451046) Homepage
        To be a bit more specific, SVG encompasses so much that a fully compliant implementation must support not only the massive spec, but also ECMA Script, SMIL, MathML, etc.

        Mozilla already supports Javascript. SMIL isn't needed unless you want to do Flash-like animations. It only needs to render 2D images to satisfy most people.

        The only one I am aware of at the moment is a Corel Product. It costs about 15 grand (USD), or it did the last time I checked.

        Plenty of people have already mentioned completely free packages such as Sodipodi and Inkscape.

        Complex 2d graphics in non binary form? Honestly, I don't know.

        I presume you mean rendered into a binary form as opposed to the source being stored in a binary format instead of XML? How can you not? It can be scaled to any resolution, you can zoom in without losing quality, it will be a fraction of the size for many large images (eg architectural drawings or circuit diagrams), etc.

        Having the ability to render 2D images in this way is great, as anyone that has used an Acorn and embedded a Draw document in a web page will testify. And we've been able to do that since the mid-90s! Once we are able to embed SVG into web pages then we will also see less need for PDF imho.

        Phillip.
    • Re:SVG vs Flash (Score:5, Informative)

      by fenix down ( 206580 ) on Wednesday March 03, 2004 @04:13AM (#8449936)
      It'll integrate with the page, it'll work, it's for an entirely different purpose than Flash.

      Look, go to Macromedia's page. You have a little menu there in Flash. That's pretty bad design. I'm browsing, I right-click on a text link in the body, I can open it in a new window, a new tab, send the link to my email client, bookmark it, etc. I right-click on a menu item, I get "about flash player". You give the browser control, and that's no longer a problem. You stick to standards and the browser can treat items in your graphic just like HTML items that perform the same function.

      If you're using Flash in a way that doesn't seem wrong or clumsy now, then you probably shouldn't replace it with SVG. SVG just lets you use the good parts of vector graphics and animation without feeling guilty about it.
    • Re:SVG vs Flash (Score:5, Informative)

      by jdifool ( 678774 ) on Wednesday March 03, 2004 @04:23AM (#8449985) Homepage Journal
      I may be mistaken on that, but full SVG support would help a lot to integrate graphics into extensible layout websites.

      For people using their browser at non-standard font settings (and they often have a valid reason for that : some sight problems, for instance), your website would be far more consistent with pictures in SVG, which sizes are put in 'ems' instead of pixels.

      Just try to resize your fonts (assuming that the website has not fixed-widths fonts ) (ctrl + in Mozilla). Ho! Where are your nice bitmap logos and graphics ? There, in the background, crushed by all the text at worse, overwhelmed by all the text at best.

      SVG could just allow the same resize as text. And I guess a lot of people would appreciate that... Whether the implementation would be possible or not, as previously noticed in the thread, is another problem I'm not skilled enough to discuss.

      But if it is possible, then sure, let's do it.

      Regards,
      jdifool

    • SVG != Flash (Score:5, Informative)

      by 0x0d0a ( 568518 ) on Wednesday March 03, 2004 @04:36AM (#8450032) Journal
      SVG is much different from Flash. Flash is currently primarily used for two things: (1) to provide crummy interfaces (an ugly wart from designers coming from the "multimedia era" when CD-ROMs came out and later the ".com era" when people thought that novelty was what made people keep coming back to websites). (2) To provide an efficient format for vector-based graphic animation.

      SVG is lousy at both of the above. I have a friend that looked into the feasibility of SVG as an interface medium, and came back pretty depressed. At one point, I got a bit interested in using SVG for animation, and took a look at the format. I'm reasonably comfortable making the claim that it would be extremely difficult to make an efficient rendering engine for animations using SVG. Furthermore, SVG does not provide functionality for synchronizing audio and phases of an animation (which I believe Flash does).

      SVG is good, IMHO, for the following:

      1) Tagged diagrams. SVG allows tagging elements with data. This could be a big benefit for CAD and diagram usage.

      2) More complex webpage layout. I've never seen it actually done, but it seems that SVG could be used to define arbitrarily-shaped regions in a webpage...up until now, the only regions designers have had to work with, the only thing they could flow text around, was rectangular regions

      3) Vector graphics. Plain and simple, it's a standard format for storing vector graphics. This is good for both standalone files and for efficient web-based transmission of graphics.

      As for your question about what SVG-based graphic tools are out there -- take a look at sodipodi [sodipodi.com]. It isn't Illustrator (yet), and it isn't going to be for at least a while to come, but it's usable for basic work.
      • Re:SVG != Flash (Score:5, Interesting)

        by mr3038 ( 121693 ) on Wednesday March 03, 2004 @06:55AM (#8450462)
        SVG is lousy at [making animated menus and animated vector-based graphic animations, for which Flash is usually used]. I have a friend that looked into the feasibility of SVG as an interface medium, and came back pretty depressed. At one point, I got a bit interested in using SVG for animation, and took a look at the format. I'm reasonably comfortable making the claim that it would be extremely difficult to make an efficient rendering engine for animations using SVG. Furthermore, SVG does not provide functionality for synchronizing audio and phases of an animation (which I believe Flash does).

        Really? Are you sure you read about SVG and not about something else? Read the Animation [w3.org] chapter again. Especially, note that you can use SMIL animation [w3.org] mechanisms. Or you can use DOM [w3.org]:

        Using the SVG DOM. [...] Every attribute and style sheet setting is accessible to scripting, and SVG offers a set of additional DOM interfaces to support efficient animation via scripting. As a result, virtually any kind of animation can be achieved. The timer facilities in scripting languages such as ECMAScript can be used to start up and control the animations. [...]

        SVG cannot replace Flash today -- mainly, because Flash has widely installed software support and SVG doesn't. However, I believe SVG has huge promises for the future including the uses you listed. IMO, the most important feature of SVG is able to apply the same stylesheet to SVG image/animation that has been applied to a (X)HTML document.

        Obviously, Flash has more mature development tools as it has been on the market for longer. Unfortunately for Flash, you practically have to use Macromedia's proprietary tools to create your work. I can see absolutely no reason for SVG not being able to display every content Flash is able to display. I expect to see a converter from Flash to SVG in the future.

        As for the performance, I've a bit hard time to believe that you cannot make SVG animations fly when you take a look what latest PC games do. Sure, SVG will require some level of support from hardware but if you try to run your X server without any acceleration, you'll realize that not having any hardware acceleration is too slow for even drawing simple rectangles with high performance, let alone blitting some images.

    • Re:SVG vs Flash (Score:4, Interesting)

      by ameoba ( 173803 ) on Wednesday March 03, 2004 @05:11AM (#8450152)
      You forget that MSFT is planning on using SVG as the basis to their next-generation display technology like Apple uses PDF and Sun tried to use PS.
      • by 4of12 ( 97621 ) on Wednesday March 03, 2004 @09:45AM (#8451062) Homepage Journal

        You forget that MSFT is planning on using SVG as the basis to their next-generation display technology

        Yeah, they get me excited, they get my hopes up, so I'm thinking, "Yeah, W3C standard SVG, world-wide confluence as a result of fantastic technical standard!"

        And then it'll turn out to be ActiveSVG.NET, "different but better" than W3C SVG....

        • Re:SVG vs Flash (Score:4, Informative)

          by roca ( 43122 ) on Wednesday March 03, 2004 @11:48AM (#8452253) Homepage
          Actually, you're exactly right.

          Microsoft will not be using SVG. They'll be using what their original docs call "WVG". (But after that leak they backpedalled saying "it's really NOTHING to do with SVG, honest"). Now I think they're just calling it part of Avalon.

          It provides similar functionality to SVG, it's just different.
    • Re:SVG vs Flash (Score:5, Insightful)

      by RoLi ( 141856 ) on Wednesday March 03, 2004 @05:23AM (#8450196)
      SVG is already a big standard. There are numerous converters from tens (if not hundreds) of formats. For example I've seen many converters to and from CAD-formats.

      But to make it a standard on the web, Mozilla has to want it.

      It doesn't matter if only a part of it is implemented, html or css isn't 100%ly implemented either, so include SVG in the default build

      SVG support is already good enough for most uses.

      I can tell users to "download Mozilla version x.y or above", I can't tell them to "download that special SVG-build, but you won't get any localization and everytime you upgrade you will lose SVG".

      So the sad state of affairs is that solely because of political reasons SVG in Mozilla is completely worthless and I would advise users to download the Adobe plugin instead.

      Konqueror comes with SVG-support out of the box in the default build and it's what I already use for some admin interfaces (where I am the only user) to rotate text (a real shame that you can't do that with HTML. But it's currently the only use I have for SVG and Mozilla could do it if they wanted to.) - because even I am too lazy to mess with specialized builds for Mozilla.

      I've tried the SVG-build half a year ago and it was at that time working really well and was technically probably better than Konqueror's current implementation. But because of moronic politics, SVG in Mozilla will continue to rot away completely useless in real life while Konqueror will have lots of SVG users (and bug-reporters) and will improve fast and overtake Mozilla soon.

      There were times when Mozilla was really leading development, unfortunately the Mozilla project got obsessed with the idea to dumb everything down and even throw out advanced features (like MNG support!). The future belongs to KHTML and Konqueror, that project has dynamics, the will to improve and is not hindered by politics. Apple has seen that and that's exactly the reason why they chose KHTML over Gecko, IMO.

      That all said, I really hope that Mozilla wakes up and proves me wrong. Mozilla is currently the only real cross-platform browser, which is a great advantage over KHTML. Gecko is also a great rendering engine. Include SVG in the default build. NOW.

  • by Anonymous Coward on Wednesday March 03, 2004 @03:13AM (#8449675)

    There's plenty to keep them busy for the forseeable future. Lemme see, there's :

    Fire - fly

    Fire - storm

    Fire - engine

    Fire - hydrant

    Fire - alarm (add-on for the calendar module)

    Fire - bird (doh! no already had that one)

    Fire - at will [slashdot.org]

    Fire - in the hole [domain-involving-goats]

    Fire - those responsible

    Fire - those who did the firing

    Fire - ooh oh oh I'll take you to burn [lyricsxp.com]

    Come on now, join in everyone ...?

  • by the pickle ( 261584 ) on Wednesday March 03, 2004 @03:13AM (#8449676) Homepage
    I have to agree with the folks who have said the developers should concentrate on the individual apps rather than an Uberzilla Internet suite.

    FireFox r0x0rz -- it's the best cross-platform browser out there and its standards compliance is quite good.

    I haven't tried Thunderbird, but I've heard a lot of good things about it. (Sorry, but an e-mail client is going to have to be at least as good at searching archives as Eudora for me to switch. There's a suggestion for 'em...)

    Concentrate on making those two apps the best in their respective market niches. Cut out the dead wood like Composter. Even the new version is still generating ugly code. If someone wants a pseudo-WYSIWYG HTML editor, there are FAR better options out there.

    I must say, though, I like what the developers have done in the past year. They seem to be moving more in the direction of smaller, lighter, faster, more-focused apps, and that's A Good Thing(tm). Keep up the good work, guys.

    p
    • Cut out the dead wood like Composter. Even the new version is still generating ugly code. If someone wants a pseudo-WYSIWYG HTML editor, there are FAR better options out there.

      The thing is, nobody using WYSIWYG web-design tools really cares what the output looks like, as long as it's valid HTML that looks OK in most browsers. Anyone doing 'serious' web design is going to use a 'serious' WYSIWYG web design tool, btu the built-in editor in Mozilla (or any browser) isn't meant to be that. It's meant to be

  • Proposals. (Score:5, Funny)

    by Anonymous Coward on Wednesday March 03, 2004 @03:15AM (#8449680)
    Here is the road map to the future of Firefox:
    1. Rename Firefox to Foxfire.
    2. Add better support for XHTML and CSS 2.
    3. Rename Foxfire to Foxxy Brown.
    4. Change the XML parsing engine to support new DTMLs.
    5. Rename Foxxy Brown to Thunderbird (#2).
    6. Put in a proactive pop-up blocker that DoS attacks websites that have pop ups.
    7. Rename Thunderbird (#2) to Internet Explorer Jr.
    8. Rename IE Jr. to Underpants.
    9. Collect Underpants.
    10. ????
    11. Profit.

    Step 10 is going to be the hardest.
  • by Anonymous Coward on Wednesday March 03, 2004 @03:15AM (#8449691)
    You mean, like ActiveX? Er,.....
  • by windside ( 112784 ) <pmjboyleNO@SPAMgmail.com> on Wednesday March 03, 2004 @03:18AM (#8449699)

    First of all, I think this software is great. After 5 years of reluctantly using IE (one reason - speed), I have finally been able to make a comfortable switch.

    I have but one small beef: In Mozilla 1.6.x, hitting CTRL+Enter in the address bar caused the typed URL to open in a new tab. In the Phoenix/Fire* series of browsers, this feature has been inexplicably removed. I'm probably just missing some switch in the Preferences that I've been too lazy to toggle, but let's be serious - it's a good, simple feature and 90% of end users probably never open their Preferences except to clear cache after browsing for porn.

    (Also, it would be nice if they could settle on a name.)

  • by pcmanjon ( 735165 ) on Wednesday March 03, 2004 @03:18AM (#8449700)
    Does anyone recall Netscape 2.0 that was on the Macintosh III LC's that were like 16mhz or so...

    Netscape (which mozilla is built off) loaded within about 10 seconds on those machines....

    Man, I wish I could get the PC version of that, I'm sure it'd load and run quicker than even firefox could hope to do.

    (What took 10 seconds on 16mhz would take how long on 1.4ghz again?)
  • by gnuman99 ( 746007 ) on Wednesday March 03, 2004 @03:22AM (#8449718)
    Tokyo... Check... Going across Pacific... Check... Stomping on Seattle... NYI (not yet implemented) MS should change their browser's name to King Kong, then we would have some fun, eh?
  • by rice_burners_suck ( 243660 ) on Wednesday March 03, 2004 @03:26AM (#8449740)
    In other news, Microsoft today announced their new flagship operating system, Microsoft Mozilla XP.

    "We are excited to use Mozilla as our new operating system," exclaimed Steve Ballmer, jumping around like a monkey. "The recent inclusion of web browser functionality in Mozilla makes it the perfect operating system for modern users."

    Or, shall we say, Emacs is a great operating system, it just lacks a decent editor.

  • godamnit! (Score:5, Interesting)

    by torpor ( 458 ) <ibisum AT gmail DOT com> on Wednesday March 03, 2004 @03:30AM (#8449762) Homepage Journal
    could -one- of you browser whippersnappers please add a 'save browser state/restore browser state' function to whatever the browser de jour happens to be?

    i want a browser that will remember its state between sessions. if i close the 15 windows i've got open, i want them all back again, same site, same position, when i re-open it again!

    sheesh. 15 years of web-browsing, and we're still begging for the most rudimentary, fundamental, web-browsing-workflow features to be implemented, while the rest of the 'web scientists' go off into RFC and NIH land ...

    (apologies if there is actually a 'browser' thats capable of maintaining state information between sessions. please inform me if it'll run on OSX ...)
  • by wiresquire ( 457486 ) on Wednesday March 03, 2004 @03:43AM (#8449820) Journal
    ...see if you can sort out the swing, awt, eclipse native widget fiasco.

    J2EE seems strong at the backend. With a strong frontend, maybe MS has to react for a change.
  • Do not intergrate! (Score:5, Insightful)

    by Jacek Poplawski ( 223457 ) on Wednesday March 03, 2004 @03:52AM (#8449856)
    Why do you want to integrate everything? You integrated mail, news, irc, calendar and probably million of other shits I never used in Mozilla. What is so amazing in one integrated monster? Do we really need to follow Microsoft path? I always though Unix way is to build many small tools, not one big piece of shit.
  • by biet ( 632569 ) on Wednesday March 03, 2004 @03:56AM (#8449881) Homepage
    ... will be the (sad) end of the battle for alternative web browsers.
    • It's on it's way. Service Pack 2 for XP will provide exactly that, along with a number of other features that are going to make other software houses cringe. Personal firewall and antivirus companies are going to see a drop in sales I'd imagine. I can only hope this doesn't lead to a false sense of security for the average PC user.

      These are going to be security tools provided by the same people who wrote the operating system that seems so insecure in the first place.
    • by ameoba ( 173803 ) on Wednesday March 03, 2004 @05:26AM (#8450205)
      No. It means the end of popups.

      Once IE includes (intelligent) popup blocking, there will be little, if any, reason for advertisers to try using them and they will disappear from the web entirely.

      As it is, outside of pron sites, you don't get too many popups anymore unless you've installed some sort of adware. Adware is the future of invasive advertising; infiltrate the user's TCP/IP stack and work from there, the users owe you the right to advertise to them because you have 1st ammendment rights to be heard.
  • At last! (Score:5, Insightful)

    by arvindn ( 542080 ) on Wednesday March 03, 2004 @03:58AM (#8449887) Homepage Journal
    I see they're going to implement native widgets (as an option). While the cross-platform UI is great in terms of minimizing coding effort, I always found the "users want a standard look across platforms" argument a little ridiculous.

    This is more than a cosmetic issue. Mozilla has the OK and cancel buttons in dialog boxes in the "wrong order" compared to the rest of my desktop, and so I frequently find myself hitting the wrong button by reflex. I also run into bugs in the mozilla widgets all the time. Try middle-clicking on the scroll bar of a textarea widget (under X): its supposed to absolute-reposition the scrollbar; it does that, but in addition pastes the clipboard into the textarea! Another benefit of native widgets would be to decrease memory usage, since the widget libs in memory would be shared.

    Its nice they've been listening to their users.

    --
    Wanna play some word games? [ernet.in]

    • by 0x0d0a ( 568518 ) on Wednesday March 03, 2004 @04:11AM (#8449929) Journal
      I always found the "users want a standard look across platforms" argument a little ridiculous.

      That may have been a justification, but I think that the real reason for Mozilla to have non-native widgets is that it's a lot of work to maintain all the platform-specific codebases. There are already platform-specific issues, but in general someone can add a feature to Mozilla without knowing how to code for every platform under the sun.

      I don't know exactly how this will work with native widgets, unless the Moz folks want to take a least-common-denominator approach.

      Plus, I wonder if they can rely on sizes of various widgets. Remember that they're integrating widgets with chunks of their laid-out document, when placing, say, a Submit button on the window. With their own widgets, they know exactly how big everything is.

      Another issue might be different code structures. For example, the Macintosh Toolbox uses an event loop. GTK uses callbacks. How does one reconcile differently structured widget APIs?

      I believe that Netscape Navigator 4.x tried to do this with native widgets back in the day...but the widgets operated different from regular widgets on my classic Mac.

      I agree that native widgets would be wonderful from a user standpoint, but there *are* issues with having an extremely cross-platform program with native widgets on each platform. Remember that the MSIE developers only have to worry about one platform...
    • by DoubleReed ( 565061 ) on Wednesday March 03, 2004 @05:08AM (#8450144)
      Why Mozilla Doesn't Use Native Widgets Why Mozilla Doesn't Use Native Widgets

      People frequently ask why Mozilla implements its own widget set rather than just using the widget set available on whatever platform it's running on. This document is an attempt to explain why. Transparency and Z-ordering

      Consider this testcase [slashdot.org]. It's a text field behind an element full of "blah" text. The "blah" element is transparent, so you can see and even edit the text field with the "blah" text overlaid on top. This simply can't be done in with Gtk or Qt widgets (unless this has changed in a very recent version of these toolkits). In Win32 it can only be done in Win2000 or WinXP, and then it is tricky and inefficient. If you don't believe this, try implementing the same effect using your favourite platform toolkit, and email me if you succeed.

      Getting this right isn't optional. It's a requirement for a correct CSS implementation. Other HTML/CSS functionality

      An HTML BUTTON element can contain arbitrary HTML. It's practially impossible to get that to work with any platform button widget. (Note that the HTML inside the button is part of the same document as the button itself.) Printing

      On many platforms it's very difficult or impossible to get a native control to print. International languages

      When you browse the Web you find content in every language that computers can handle. It is important for the browser to have strong support for uncommon languages. This means it is important for the browser to display form elements containing strange characters and scripts. Many platforms (e.g., older versions of Windows) do not provide good support for locales other than the locale that the operating system itself is installed for. Therefore their widgets aren't good enough for strong browser language support. Performance

      On many platforms the per-widget memory and time cost is quite significant. This is OK for most GUI apps because you typically don't have more controls per window than fit on the screen. But in a browser, you sometimes see pages with hundreds or thousands of controls. (Think "a long comments page in Slashdot when you have moderation points".) This has to be fast and not consume too much memory. On some older Windows versions it's simply impossible to create 1000 edit boxes without crashing the system! Event handling

      The DOM Events model defines ways for a page to intercept events such as keyboard or mouse input before they are dispatched to the control with focus. It would be very tricky and error-prone to implement this using platform-specific hacks. Arguments For Native Widgets

      Here are some arguments for using native widgets, and how we answer them. Native look and feel are critical for usability

      Agreed. We have started using platform-specific APIs to render our widgets as if they were native widgets, wherever we can. For GTK, WinXP and MacOSX we actually call theme APIs so that Mozilla picks up whatever theme is currently in force. It really looks like a native app. All of the above advantages are still retained because we're still not using actual native widgets. It also means we automatically "keep up" as the platform look changes, which has been a big problem for "cross platform" UI toolkits in the past.

      We're still working on the "native feel" problem. Feel doesn't vary as much as look, it seems, so it's less of a problem, but we have a number of tweaks that vary the feel of our widgets across platform and we'll add more. Native look and feel are critical for accessibilty

      We're building in support for platform accessibility APIs in GTK and Win32, so our widgets will be just as accessible as the native widgets. Too much work for developers

      Yes, but it's worth it. Too slow, too much footprint

      Yes, rolling our own widgets requires some extra code and may not be as well optimized as the platform widgets. But as noted

  • by jefe7777 ( 411081 ) on Wednesday March 03, 2004 @04:06AM (#8449918) Journal
    gone away?

    If not, there is (still) a market for mozilla.

    Sometimes I feel like I'm bailing out an ocean, but I'm converting users one at a time. To non-geeks, it's starting to hit home, as to just how bad the crapware is getting. I do a little show and tell. "see this program (points to IE) - BAD!!!", "see this program (points to mozilla) - GOOD!!!". I of course give them a run down (in laymens terms) on how the sneaky stuff gets on their system, and how 99% comes from IE and Outlook Express. After that, all are more then willing to try something different. So on goes Moz!

    One thing to remember is that it's very important that you setup Mozilla for them. Make sure the pop-up blocker is enabled. Also set it so that these things are disabled(unchecked):

    -move or resize existing windows
    -raise or lower windows
    -hide status bar
    -change status bar text
    -change images

    Finally. _warn_ _them_ , that Mozilla won't work on every single site. Tell them to fall back to IE on the few sites that don't work(with moz)... But that Mozilla should be first line of defense.

  • by pcx ( 72024 ) on Wednesday March 03, 2004 @04:21AM (#8449976)
    A more flexible toolbar (ability to stack toolbars left and right and not just up and down).

    If you're going to compete with IE, javascript is the way to go. Start with matching the functionality (IE the ability to reference objects without needing to go through getelementByID the way you can in the MS browser, this will eliminate 90% of the javascript incompatibilities between the two browsers).

    3] Realize that as far as the end user is concerned browser rendering technology is done and will be done until there's enough bandwidth for full motion picture browsers (Think tivo on steroids). Adding more features just adds to bloat for very, very minimal gain. To that end the focus should hinge on a better, more intuitive interface -- the more you can make it disappear while still providing easy access to navigation and google the better. And don't forget the art, IE still makes pages look better that definately needs to be fixed.

    4] Firefox and Thunderbird are killer apps but Thunderbird especially has a lot of room for improvement. When Thunderbird can piece together split usenet files and handle Y-ENC then it will probably truly have arrived for many usenet junkies. After that you need to out exchange exchange and realize email is a centeral pda application and to that end we need scheduling, address books that sync with our newtons, and help us manage our lives. Indeed, do Thunderbird right and you can really shake up the world because there's a real hunger and need for an ultra powerful email/usenet/scheduler/contact/pda manager.

    • > Start with matching the functionality (IE the
      > ability to reference objects without needing to > go through getelementByID the way you can in the > MS browser, this will eliminate 90% of the
      > javascript incompatibilities between the two
      > browsers).

      NonoNONOnonoNONONO. And again NO. This is just so seriously wrong I don't even know where to begin.

      1. You seriously want the global namespace polluted to that extent? I sure as hell don't!

      2. Even MSDN tells you NOT to use direct access. As they themselves will tell you, it's bad programming practice and a tremendous performance hit as well.

      (Remind me never to use any API you've had a hand in developing, ok? Thanks!)

      Besides, MSIE supports a good chunk of W3C DOM (as do Opera, Konq, Safari, et al.) -- getElementById() and getElementsByTagName() are *already* cross-browser, so there is absolutely no reason not to use them.

      There is absolutely zero reason for any other browser to support MSIE's b0rken object model.
  • Work with Apple? (Score:3, Interesting)

    by tyrione ( 134248 ) on Wednesday March 03, 2004 @04:35AM (#8450027) Homepage
    Here would be a fair trade: Cooperation of Web Standards and Mozilla implements Objective-C/Cocoa as one of those first class programming languages it espouses about, besides Mono.
  • by syphoon ( 619506 ) on Wednesday March 03, 2004 @04:38AM (#8450040)

    I'm seeing a lot of comments in reply to this article advocating that the mozilla foundation stick to making web browsers, a task that it now admittedly does very well. Follow the Unix philosophy, small programs that do one thing and do it well.

    I agree with the philosophy, and agree with what the foundation has done in starting the firefox/thunderbird fork.

    But I feel the issue isn't as simple as some fellow /.ers are saying it is, and the longterm prospects are definitely interesting. The key topics mentioned in this slideshow (SVG, XUL, XBL, Eclipse plugin, scripting language integration) are all focussed around the central issue of what the words 'web application' are going to mean in the future.

    Think back to several years ago in the dark ages of IE4.0 sheer dominance, when you were hard pressed to find an online banking service that would permit your alternate browser inside without you having to spoof a UA string. Microsoft had defined the standards that the web developers had been using, and we suffered for having a just standards compliant browser set.

    We are now at a lull in the web application development market, at least from the client side. Sure on the server side the battle wages ever on, but the front end is pretty sown up. But it won't remain that way. Nothing like that does in this industry.

    This is a proposal to start heading the mozilla project in the direction of a web development framework. Extending the front end possibilities, and giving developers the tools to close the gaps between web applications and thin client applications.

    Microsoft is heading in this direction. Rumours are that the next major IE that will ship with longhorn will have a framework similar to this idea, with complete integration between the HTML forms and the windows.form components Microsoft is working on. If we stay statically focussed on supporting just the W3C standards, which don't extend to something as encompassing as an application framework, then Microsoft will be allowed to take the iniative again.

    At best, this is an attempt to refocus upon what XUL was originally a vision of, just done right this time. At worst, its an attempt to think long term and make sure we aren't taken by surprise when Longhorn ships with a new beast of an IE. We need a framework like this, and I see noone in the opensource world in a better position to do this than the mozilla project.

    • by 0x0d0a ( 568518 ) on Wednesday March 03, 2004 @04:57AM (#8450108) Journal
      A question: Does Mozilla/Firefox/Phoenix really need to do this itself?

      Something like this is ultimately a gamble which may or may not pay off...and if it doesn't work, there's a huge amount of cruft dumped in the codebase?

      I'd rather see something like the approach Apple used with KHTML in making Safari. If someone wants to make a program called, say, "Mozilla Platform" that *uses* Mozilla, I think that'd be a lot safer than trying to make one massive integrated push.

      I think that trying to integrate everything has been the largest problem facing the Mozilla project. I have, many times, contributed patches to open source projects. I have never contributed to Mozilla, because the project was (at least to me) very large and overwhelming...and I only really cared about fixing problems that affected me. If I ran into a problem, it was often something that would require learning a huge amount about how Mozilla is structured to fix. I'm okay spending a day or two fixing a minor problem on a project that's irritating me. I'm not willing to spend a week doing so.

      The "integrated" approach is a turn off from a resource standpoint. It made the Mozilla suite large from a disk and memory usage standpoint.

      It meant that releases had to be spaced widely apart, and that one broken component could hold up releases of the rest of the package.

      It meant that you had to lug around a mail client, web page design program, etc that you might really not be interested in.

      In general, I think that Open Source does better if taken in smaller chunks. It makes rewrites and bugfixes more localized, it lets users choose the best option for them (rather than using that mail client that's bundled and always in their face), it keeps resource usage low, and it lets developers release on a more timely schedule.
      • by syphoon ( 619506 ) on Wednesday March 03, 2004 @05:05AM (#8450133)
        Agreed, small chunks are better. Thats why breaking up the original suite was a good idea. But a framework is just a collection of small pieces. Firefox for instance may still just be shipped with what is essentially just a wrapper for the networking and the layout modules. In fact, frameworking like that would probably require factoring the existing code into even smaller discrete chunks. If people want to be able to run a thin client application that uses the mozilla framework, then it could run off and download the relevant XPIs (which you would keep very small) by itself as it needs to. As an example, at the moment MPlayer is undergoing a major redesign led by Arpi in the form of MPlayer G2. It too is much more of a framework than MPlayer is, but in terms of monolithicism and bloatedness, its better in every way.
  • Threading (Score:5, Interesting)

    by Hythlodaeus ( 411441 ) on Wednesday March 03, 2004 @04:51AM (#8450088)
    Mozilla seriously needs more threading. I hate not being able to interact with anything for a few seconds whenever a tab is loading in the background.
  • Why DeCOM SVG ? (Score:4, Interesting)

    by gangz ( 699851 ) on Wednesday March 03, 2004 @05:01AM (#8450119)
    Agreed that any component object model (COM) is heavy and it does have its own problems. But the fact that Mozilla is built on a cross platform com is a huge advantage. If anyone wants to use these apis then they can do it without worrying about platform specifics. Even though currently xpcom [mozilla.org] is not very feature rich, it is a respected library. With everything else in the browser (or platform) running on xpcom, why do they specifically want to reduce [mozilla.org] the com support for SVG ?
  • by phr2 ( 545169 ) on Wednesday March 03, 2004 @05:27AM (#8450207)
    I'm not trying to flame, but I figure someone on this thread might understand this issue better than I do.

    I run Mozilla 1.2.1, which came with Red Hat 9 and which works mostly ok, but of course is now old and buggy. I tried upgrading to 1.5 and then to 1.6, and they're newer and better, except their fonts look like crap. A little research indicates that unlike the 1.2.1 that I'm running, the default 1.5 and 1.6 builds don't have Xft enabled. I ended up rolling back to 1.2.1 just because the fonts look so much better. 1.2.1 as shipped from Redhat has font selections in the appearance menu called "System Default" which gives good looking fonts. The Mozilla builds don't have that choice. You have to pick from a bunch of specific fonts which all look bad.

    Any idea why Xft and good fonts aren't enabled by default in Mozilla? What do I have to do to enable them in 1.5 or 1.6? I'd sure like to be able to quit using 1.2.1 but feel stuck with it until I find the time to make some big project of figuring out what's going on. Blecch.

  • by beforewisdom ( 729725 ) on Wednesday March 03, 2004 @07:57AM (#8450622)
    Firefox was created to get Mozilla.org back to the *nix philosophy of being modular......doing one thing, doing it well.....ie just a really nice browser.

    Building an entire platform would be in contradiction to that.

    Contradicting the *nix philosophy is not such a bad thing, but where would be the utility in *nix platform.

    The stuff they make already has speed and resource issues.

    Assuming they could get over these, what is the need for such a platform and why?

    Steve

    • by smallpaul ( 65919 ) <paul @ p r e s c o d . net> on Wednesday March 03, 2004 @08:22AM (#8450699)

      Assuming they could get over these, what is the need for such a platform and why?

      Network-delivered applications are the future. Every business loves them because they are easy to deploy. Open source teams love them (think Bugzilla, SourceForge, groups.google.com) for the same reason. Service providers (Google, HotMail, Expedia) love them too. It's a total love-fest. The only problem is that the user-interfaces suck rocks.

      Microsoft is attacking this problem on a few fronts including .NET Winforms and Longhorm XAML. It makes no sense for the open source world to wait for Microsoft to establish a standard and then say: "we could do that too. Let's clone it!" I am happy to see MOzilla be pro-active here. Let's make network-delivered applications as rich as installed applications (except where bandwidth makes that impossible).

  • Why? (Score:4, Insightful)

    by beforewisdom ( 729725 ) on Wednesday March 03, 2004 @08:26AM (#8450718)
    Why are the good people at Mozilla thinking of doing all of these things?

    Is Mozilla "finished"?

    Have the startup speed problems been solved?

    Is Mozilla as robust as they would like it to be?

    Why not stamp out all of the performance issues before thinking of moving on?

    Those issues are *THERE* .

    If Dillo ever got finished you would see people dropping Mozilla like an Atkin's dieter dropping a hot potato.

    Peformance still counts, even if you try bribing the end user with nice features.

    Steve

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...