Why Firefox on Linux looks different than Windows/Mac?

7,804

Solution 1

Apparently, it's because Linux users want it that way:

The reason Linux isn’t shown above is that all of the feedback we’ve received so far indicates that Linux users would be happier with a theme that uses native GTK icons in the navigation toolbar, which rules out this type of customized visual treatment.

Solution 2

Firefox doesn't suck on Linux. It might eat up some resources, indirectly, if you don't use Gnome or GTK and have limited hardware. Or perhaps you've lucked out with a bad build/hardware combination. But from my limited experiences, I don't see a problem.

Edit: Looking at your updated question, I'll say this much: that's different HTML. I get the same image (balloons) every time, so it's not just random. For some reason they chose to have a different background image and layout for each platform; maybe the fonts are slightly different but that's a non-issue.

Or if you're talking about the GUI itself, well, I'm glad it changes per platform. UI integration is always a good thing.

Solution 3

It's a single core code base but there are different pieces of code for platform specific features (UI, for instance). No it's not completely Javascript. There's plenty of C++ in it.

Solution 4

Each version uses a different front end. For example on Mac OS X firefox uses a Cocoa UI - which means it can integrate with other Cocoa applications and the system more easily than if it were written with another API.

Depending on what GUI APIs are used on Windows on Linux (I don't know about windows, but I assume Linux is GTK+) you will see different levels and experiences of integration.

Share:
7,804
OscarRyz
Author by

OscarRyz

Software Developer who happens to like writing code. Here are some interesting answers you might like to upvote :") Why java people frequently consume exception silently ? Coding in Other (Spoken) Languages How to create an string from the contents of a file History of Objective-C square brackets (as I remember it) ( visible only to >10k users )

Updated on September 17, 2022

Comments

  • OscarRyz
    OscarRyz over 1 year

    Beyond each platform toolkit of course.

    How come Firefox UI looks, mmhh well, not that good on Linux, it's pretty decent in Windows and it definitely rocks on OSX?

    Is it a single product recompiled for different platforms? Is it coded completely in JavaScript?

    Does anyone else have the same perception?

    EDIT

    I think a clarification is needed.

    I was referring to the performance/ behavior of course, but also to the GUI.

    It is quite different on those platforms.

    Linux:

    alt text

    Windows:

    alt text

    I don't have a Vista/7 screenshot at hand, that's why I use XP

    Mac

    alt text

    • Russell Heilling
      Russell Heilling almost 15 years
      In what way does it suck on Linux? The only problems I have had have been with misbehaving extensions. The core browser is solid and just as good as the Windows version in my experience using it...
    • Vince V.
      Vince V. almost 15 years
      I wouldn't go as far as to say FF sucks on Linux, but I do see your point. On windows I love FF, whereas it just isn't quite as brilliant on Linux. It's a little clunky in places sometimes. (Middle click scrolling doesn't work for example - maybe it's just my setup)
    • Nikhil
      Nikhil almost 15 years
      @Simon P Stevens: I have the same middle-click problem, but I think KDE or something else is to blame. Most apps treat middle-click as paste. Firefox used to open links in a new tab when middle-clicked, but I've disabled it now.
    • Andrew Scagnelli
      Andrew Scagnelli almost 15 years
      Anyone else notice that the only version displaying the "how to close a tab" strip along the top of the page is the Windows version?
    • OscarRyz
      OscarRyz almost 15 years
      @musicfreak: Sorry, the question is Why FF looks nice on Windows/Mac but look "old-style" in Linux
    • Rob
      Rob over 12 years
      Firefox uses the WM's theme. Whatever theme is set for your windows is used by firefox. If you install a theme it'll override that.
  • OscarRyz
    OscarRyz almost 15 years
    What about back/forward, reaload buttons? :)
  • Nikhil
    Nikhil almost 15 years
    What about them? Fairly plain, I suppose, but I'd say they fit in.
  • KovBal
    KovBal almost 15 years
    Linux is GTK+, but I've heard of a Qt version. Nokia created it, but it isn't maintained.
  • Sasha Chedygov
    Sasha Chedygov almost 15 years
    "Fairly plain, I suppose" -- Then it fits perfectly with Linux. ;)
  • OscarRyz
    OscarRyz almost 15 years
    This was exactly the answer to my question. ( probably poorly written [ the question of course ] ) I didn't knew why it looks good on other platforms but "old" in linux.
  • Star Chow
    Star Chow over 14 years
    GNOME is GTK+ , on the other hand,KDE uses Qt
  • Jasarien
    Jasarien over 14 years
    KovBal meant to say that the Linux version of Firefox uses GTK+, not that the entirety of Linux uses GTK+...
  • Alex
    Alex about 14 years
    If Firefox is looking "old" in Linux for you it's because your GTK theme is set to an "old" looking one - and let's be honest the default ones are kind of bland if you're using Gnome. In Linux however you are free to customise your GTK theme, and there are hundreds of ready-made ones available using various engines. These include not only look and feel, colours, gradients, etc but also icons. So not only can you apply a sweet theme to Firefox but in Linux you can apply a sweet theme to your whole system (at least, those apps that use GTK themes). This is why Firefox on Linux follows that.
  • OscarRyz
    OscarRyz almost 12 years
    BTW I'm glad Google Chrome did the right thing and looks great on the three platforms and still respects the default l&f
  • Community
    Community over 2 years
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
  • Toto
    Toto over 2 years
    If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review