Package: firefox
Version: 1.5.dfsg+1.5.0.3-2
Severity: normal

This is related to the fix for bug #344849.

First:

    case "${arg}" in
        .... -P | -CreateProfile)
            prev=${arg}
            continue
        ;;
    esac

Then:

    if [ "${prev}" ]; then
        case "${prev}" in
            -P|-CreateProfile)
                case "${arg}" in
                default)    APPLICATION_ID=firefox ;;
                *)          APPLICATION_ID=firefox--"${arg}" ;;
                esac
                set "$@" "${prev}" "${arg}"
                ;;

Then:

    elif [ "${arg}" ]; then
        case "$arg" in
            -P | -CreateProfile | -no-remote)
                MOZ_NO_REMOTE=1
                export MOZ_NO_REMOTE
 
That's never going to trigger.  When the argument was received it was stored
in prev, and later it was processed from prev.  It will never reach the
elif.


Fixing that won't fix the underlying bug, though, since the MOZ_NO_REMOTE
workaround does not appear to work.  I just tried it; maybe I'm
misunderstanding.  I've got a single firefox running using the default
profile and application ID during all these tests.

% firefox -P hacking -a other

-> Starts a new firefox process, does not return until that is closed.
-> I close it.  Good so far.

% firefox -a other

-> Error dialog.  I've gathered that this is expected, but the
-> error message doesn't explain what's going on and neither does
-> the man page.  I close the dialog.

% firefox -P hacking -a firefox

-> Firefox opens a new window in the default profile, ignoring -P.
-> NOTE: This seems wrong.
-> I close it.

% firefox -P hacking -a firefox -no-remote

-> Firefox opens a new window in the alternate profile.  I now have
-> two running with the same agent ID, presumably firefox does not
-> check at startup with MOZ_NO_REMOTE.  A little strange.  I close it.

% firefox -P hacking -a other

-> Firefox opens a new binary in the alternate profile automatically.
-> Good.  I move it to the background (do not close it).

% firefox -P hacking -a other

-> Error dialog.  It has failed to communicate with either of the
-> running firefox sessions.  I can't tell if this is expected
-> or not.

% firefox -P hacking -a other -no-remote

-> Error dialog again.  Huh?  Same one, could not communicate
-> with the remote process, not something sensible like "profile in use".
-> Changing the application ID has no effect.

So, I can now run up to a single firefox window per profile for alternate
profiles, which is better than nothing, but not by a lot.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages firefox depends on:
ii  debianutils                 2.16         Miscellaneous utilities specific t
ii  fontconfig                  2.3.2-5.1    generic font configuration library
ii  libatk1.0-0                 1.11.4-2     The ATK accessibility toolkit
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries
ii  libcairo2                   1.0.4-2      The Cairo 2D vector graphics libra
ii  libfontconfig1              2.3.2-5.1    generic font configuration library
ii  libfreetype6                2.1.10-3     FreeType 2 font engine, shared lib
ii  libgcc1                     1:4.1.0-1    GCC support library
ii  libglib2.0-0                2.10.2-2     The GLib library of C routines
ii  libgtk2.0-0                 2.8.17-2     The GTK+ graphical user interface 
ii  libidl0                     0.8.6-1      library for parsing CORBA IDL file
ii  libjpeg62                   6b-12        The Independent JPEG Group's JPEG 
ii  libpango1.0-0               1.12.1-2     Layout and rendering of internatio
ii  libpng12-0                  1.2.8rel-5.1 PNG library - runtime
ii  libstdc++6                  4.1.0-1      The GNU Standard C++ Library v3
ii  libx11-6                    2:1.0.0-6    X11 client-side library
ii  libxcursor1                 1.1.5.2-5    X cursor management library
ii  libxext6                    1:1.0.0-4    X11 miscellaneous extension librar
ii  libxfixes3                  1:3.0.1.2-4  X11 miscellaneous 'fixes' extensio
ii  libxft2                     2.1.8.2-7    FreeType-based font drawing librar
ii  libxi6                      1:1.0.0-5    X11 Input extension library
ii  libxinerama1                1:1.0.1-4    X11 Xinerama extension library
ii  libxp6                      1:1.0.0-1    X Printing Extension (Xprint) clie
ii  libxrandr2                  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1                 1:0.9.0.2-4  X Rendering Extension client libra
ii  libxt6                      1:1.0.0-4    X11 toolkit intrinsics library
ii  psmisc                      22.2-1       Utilities that use the proc filesy
ii  zlib1g                      1:1.2.3-11   compression library - runtime

firefox recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to