Launchpad has imported 1 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=694570.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-10-14T15:38:27+00:00 Chris Coulson wrote:

Firefox still depends on libgnome and libgnomeui (specifically,
GnomeClient - see toolkit/xre/nsNativeAppSupportUnix.cpp) for talking to
the session manager. The problem with this is:

1) Those are both deprecated, and have been for a long time
2) They have quite heavy dependencies on a lot of other deprecated libraries 
(orbit, bonobo, gnomevfs, gconf, glade, gnomecanvas)

We dropped these entirely from the default install in Ubuntu, and this
now results in Firefox not shutting down cleanly when users log out of
their session (leading to the "Well, this is embarassing" screen when
they next start Firefox.

Unfortunately, there isn't really a good replacement for GnomeClient,
but the options are:

1) Use the gnome-session DBus interface directly. However, this won't work 
outside of gnome.
2) Use libsm directly to talk to the session managers xsmp interface, rather 
than relying on a higher level library. This is more work, but lighter 
dependencies and would work outside of gnome too.
3) Embed a copy of EggSMClient from 
http://git.gnome.org/browse/libegg/tree/libegg/ , which has a xsmp backend and 
is light on dependencies (just libsm AFAICT)

Gnome applications seem to do a combination of 1 and 3, but I think
option 1 is a non-starter for us, as the dbus interface is completely
gnome-specific and doesn't have any API stability guarantees. The only
software I know which does 2 is metacity.

What do other people think?

Reply at: https://bugs.launchpad.net/firefox/+bug/867424/comments/8


** Changed in: firefox
       Status: Unknown => Confirmed

** Changed in: firefox
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/867424

Title:
  Oneric: On boot up Firefox always displays the “Well, This Is
  Embarrassing” screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/867424/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to