Closed
Bug 99828
Opened 23 years ago
Closed 12 years ago
-profilemanager just opens a new window if Firefox is already running ("workaround" at comment 49)
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bugzilla3, Unassigned)
References
Details
(Whiteboard: workaround comment 49)
Attachments
(1 file)
(deleted),
patch
|
robert.strong.bugs
:
review-
benjamin
:
feedback-
|
Details | Diff | Splinter Review |
Build 2001091508, Win2K.
Open a Mozilla browser window. Then open profile manager using "mozilla.exe
-ProfileManager" command. It opens a new window with the home page, instead of
doing nothing (and warning about not being able to run profile manager while
mozilla is running).
Updated•23 years ago
|
Summary: Don't invoke profile manager when Mozilla is running → "mozilla.exe -profilemanager" just opens a browser window if mozilla is already running
.
Assignee: ben → law
Component: Profile Manager FrontEnd → XP Apps: Cmd-line Features
QA Contact: ktrina → sairuh
Comment 2•23 years ago
|
||
No dupes found. Marking NEW.
-> Profile Manager BackEnd
Status: UNCONFIRMED → NEW
Component: XP Apps: Cmd-line Features → Profile Manager BackEnd
Ever confirmed: true
QA Contact: sairuh → ktrina
this belongs to commandline apps!
Component: Profile Manager BackEnd → XP Apps: Cmd-line Features
QA Contact: ktrina → sairuh
Needs another case in HandleRequest that ignores -ProfileManager (and others)
when already running.
-console would be nice to actually get working in this case, BTW.
Target Milestone: --- → mozilla0.9.7
Comment 5•23 years ago
|
||
*** Bug 107535 has been marked as a duplicate of this bug. ***
Mass moving bugs that won't get fixed this milestone.
Target Milestone: mozilla0.9.7 → mozilla0.9.9
balancing move of Helper App Mgt feature work bugs to this milestone
Keywords: nsbeta1+
Target Milestone: mozilla0.9.9 → mozilla1.0
*** Bug 111553 has been marked as a duplicate of this bug. ***
Comment 9•23 years ago
|
||
re-assigning 'several bugs at once' to morse@netscape.com.
Assignee: law → morse
Comment 10•23 years ago
|
||
nsbeta1- per ADT triage team, ->future.
Comment 11•22 years ago
|
||
*** Bug 138813 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
*** Bug 169788 has been marked as a duplicate of this bug. ***
Comment 13•22 years ago
|
||
I experienced the same with Phoenix. The first time I opened Phoenix0.4 with the
-profilemanager only displayed a window with the height set to 0 and only being
able to close the window. Then I opened Phoenix several times and now the
profile manager only returns a browser window without any message being displayed.
Comment 14•22 years ago
|
||
*** Bug 182567 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
Just in case somebody forgot, it is still happening with 20021130 (ver. 1.2.1) W2K.
Somebody with admin rights could change the status from NEW. :)
Comment 16•22 years ago
|
||
same here with 2002121215
Reassigning to module owner
Assignee: morse → law
Target Milestone: Future → ---
Comment 18•22 years ago
|
||
Now Mozilla can bring up the profile manager while the app is still running
(Tools | Switch Profile) I think the command line should now bring up the
profile manager even when Mozilla is already running. Therefore I think this
should be looked into again.
Comment 20•21 years ago
|
||
*** Bug 205495 has been marked as a duplicate of this bug. ***
Comment 21•21 years ago
|
||
Bug still present in v1.4 ( w2k ).
Comment 22•20 years ago
|
||
*** Bug 283314 has been marked as a duplicate of this bug. ***
Comment 23•20 years ago
|
||
*** Bug 234114 has been marked as a duplicate of this bug. ***
Comment 24•19 years ago
|
||
I have the similar bug in Firefox 1.5 on FreeBSD. Profile Manager comes up when there are no firefox instances running and lets you choose the profile. Further invocations of the command results in use of the same profile that was selected earlier. I am not able to run multiple firefox profile. For now switched to different browsers (Firefox, Mozilla, Opera) :(. It was fine on the older version Firefox 1.0.7.
Comment 25•19 years ago
|
||
I'm seeing this with firefox 1.5 on Linux. BTW, I don't want to change the profile the running firefox is using when I do this; I want to start a new process using a different profile.
Comment 26•19 years ago
|
||
I concur with Harish and Mark, with firefox 1.5 I can no longer to multiple running instances of firefox (under different profiles) on Linux and NetBSD.
With firefox 1.0.2 I would start up multiple instances by running "firefox -ProfileManager" and picking a different profile. Now "firefox -ProfileManager" just opens a window using the already running instance.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060110 Debian/1.5.dfsg-4 Firefox/1.5
Comment 27•19 years ago
|
||
Also, the -P <profile> flag doesn't work anymore. This is really quite an annoying bug, since it makes multi-user use of firefox on the same machine quite difficult.
Comment 28•19 years ago
|
||
cf. Same bug for Linux: bug 99828
Comment 29•19 years ago
|
||
Seeing this behavior with Firefox 1.5.0.1 running on SuSE Linux 10.
Comment 30•19 years ago
|
||
Duplicated this bug on 1.5.0.1, Fedora Core 5. Additionally I confirmed that it is firefox-bin ignoring the argument, and not one of the startup scripts dropping the command-line argument on the floor. Neither -ProfileManager nor -P <profilename> has any effect if a Firefox instance is already running.
Comment 31•19 years ago
|
||
(In reply to comment #24 to comment #27 and comment #29 to comment #30)
If no problem when Fx 1.0.x but problem started to occur after Fx 1.5, problem you are seeing is probably Bug 308076.
Updated•18 years ago
|
Assignee: law → nobody
QA Contact: bugzilla
Comment 32•18 years ago
|
||
*** Bug 257083 has been marked as a duplicate of this bug. ***
Comment 33•18 years ago
|
||
is bug 286355 a partial solution/blocker ?
related: bug 295693 [enh]
dups? bug 98696, bug 326075, bug 335345, bug 346217, bug 325937
Comment 34•18 years ago
|
||
*** Bug 327849 has been marked as a duplicate of this bug. ***
Comment 36•17 years ago
|
||
Confirmed that this problem has returned in 2.0.0.13. Tested on Kubuntu 7.10, and verified again that it is firefox-bin, not one of the wrapper scripts:
$ env LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH /usr/lib/firefox/firefox-bin -Profilemanager
pops open a new window of the running Firefox instance, instead of running Profilemanager.
Reporter | ||
Comment 37•17 years ago
|
||
Currently, the situation on Windows versions is the following:
2.0.0.13 : not working as expected (a browser window is opened, per bug description)
Trunk (nightly 2008041907) : works as expected
Comment 38•17 years ago
|
||
On linux you can use the --no-remote option or MOZ_NO_REMOTE=1 environment variable to use -P or --profilemanager while an app is running. I'm told they work the same on windows, which is the platform this bug is marked as being relevant on.
Presumably the expected results here are that --profilemanager should imply --no-remote, and -P should remote to an instance running the specified profile?
Comment 39•16 years ago
|
||
I think this bug should be resolved as WONTFIX. Think about this scenario: if you create a shortcut to a Mozilla app with --profilemanager switch only, you can select one profile and start the app. If you open the shortcut another time, why the app shouldn't be restarted? This is the common behaviour of all programs.
Furthermore as written in the previous comment, profile manager can be started with the --no-remote parameter.
Reporter | ||
Comment 40•16 years ago
|
||
This bug had quite enough visibility (hence, some importance) when the profile manager could be invoked right from the Start Menu (Windows systems). Since long time ago, Firefox has dropped that feature (I don't know whether Seamonkey or other derivatives are still providing it). So this bug is a minor issuer now, for FF at least. Whoever knows how to invoke the profile manager, can cope with this bug without major annoyance.
Comment 41•16 years ago
|
||
Take a look to the suggestion I filed in Bug 441422.
Comment 42•16 years ago
|
||
(In reply to comment #39)
> I think this bug should be resolved as WONTFIX. Think about this scenario: if
> you create a shortcut to a Mozilla app with --profilemanager switch only, you
> can select one profile and start the app. If you open the shortcut another
> time, why the app shouldn't be restarted? This is the common behaviour of all
> programs.
That is against the logic. I said --profilemanager in the command line. That means I do really want to see a profile manager. I've also checked the box to always show me profile manager. That also means I do really want to see it. Then firefox comes, **** my wish up, **** its documentation up and thinks it is smarter than a user. It just says me: you do not want it, I know better what do you need. Just like Microsoft.
This effectively makes profile manager useless. Why not just remove it at all? Let it be like IE -- if you want to have another profile, just relogin as another user. The ideology of the product will be clear then and it can be safely removed and forgotten. Who needs another IE? We have one IE already.
> Furthermore as written in the previous comment, profile manager can be started
> with the --no-remote parameter.
Yes it can. Then you cannot open a second link from an external application. Very annoying.
Comment 43•16 years ago
|
||
(In reply to comment #40)
> Whoever knows how to invoke the profile manager, can cope
> with this bug without major annoyance.
The problem exactly is that I do not know how to invoke the profile manager. There is no way to do so. FF just ignores -P option if one instance is running. I.e. that is not a stupid cosmetics bug.
Comment 44•16 years ago
|
||
(In reply to comment #41)
> Take a look to the suggestion I filed in Bug 441422.
No remote means no OS integration. You cannot handle external links then. This will just add more inconstancy with the documentation. The feature should work just as documented -- if I've requested profile manager, I should get it. That simple.
Comment 45•16 years ago
|
||
If you read better Bug 441422, you see I proposed to run multiple profiles __wihtout__ --no-remote.
My suggestion was wontfixed. Have you see one of my comments with some swearwords?
Comment 46•16 years ago
|
||
(In reply to comment #45)
> If you read better Bug 441422, you see I proposed to run multiple profiles
> __wihtout__ --no-remote.
> My suggestion was wontfixed. Have you see one of my comments with some
> swearwords?
OK, you are right. So isn't it the same with this bug then? Still your problem with _testing_ can probably be solved with an additional --no-remote option. This does not solve a _normal use_ of FF by two different people on the same PC, however.
Comment 47•16 years ago
|
||
It's not the same at all, please read carefully comment 0
Comment 48•16 years ago
|
||
Broken for me on Linux (Gentoo) with 3.0.1. Not only will -ProfileManager fail to open the profile manager if an instance is running, it will silently ignore a profile you specify explicitly with -P <profile>.
In other words if an instance "default" is running and I run "firefox -P other", it will open a new window with profile "default". Insideous.
This worked fine with 2.0.0.16.
Comment 49•16 years ago
|
||
@JM: You can run multiple profiles only if you add also --no-remote parameter, as already written before.
Summary: "mozilla.exe -profilemanager" just opens a browser window if mozilla is already running → -profilemanager just opens a new window if Firefox is already running ("workaround" at comment 49)
Comment 50•16 years ago
|
||
Thanks Lucas, I understand that. I was just agreeing with other people that the new behavior is a bug and a regression from 2.0.0.16 (for me).
Comment 51•16 years ago
|
||
How about making Firefox to check if
A1) parameter "--profilemanager" is set
A2) there's already any running instance of Firefox
If A1 and A2 then behave as "--no-remote" had been also used. (Currently "--profilemanager" flag is ignored in this case.)
Similarly, check if
B1) parameter "-P" is set
B2) there is NO instance of Firefox running with the same profile name
If B1 and B2 then behave as "--no-remote" had been also used. (Currently "-P" flag is ignored in this case.)
Kind of trying to make "-P" or "--profilemanager" to work as most users expect without fully implementing what bug 441422 requsts.
Comment 52•16 years ago
|
||
(In reply to comment #51)
> How about making Firefox to check if
> A1) parameter "--profilemanager" is set
> A2) there's already any running instance of Firefox
> If A1 and A2 then behave as "--no-remote" had been also used. (Currently
> "--profilemanager" flag is ignored in this case.)
That would have the same drawback -- one cannot start a second copy of the same profile. I.e. the use of --no-remote makes it impossible to open a second external link. One need to copy the link and paste it into FF instead. That is annoying.
Comment 53•16 years ago
|
||
I don't think that's really a problem. If you have two instances of Firefox open (with different profiles) and you click a link in an external app, I think it's fine if the first one "wins".
Comment 54•16 years ago
|
||
(In reply to comment #53)
> I don't think that's really a problem. If you have two instances of Firefox
> open (with different profiles) and you click a link in an external app, I think
> it's fine if the first one "wins".
I do not "think". I do have real problem. That is first. The second problem is -- you do not have two profiles open w/o --no-remote (no way to open it) and you cannot open a second one with a click from external app with --no-remote.
In fact most of the users who comment in this topic do not have two profiles. Otherwise they would know how it really works. I.e. they do not need profile manager at all (or at least not for a purpose it was created for, i.e. to have several users).
Comment 55•16 years ago
|
||
I don't understand comment 54 at all.
Comment 56•16 years ago
|
||
(In reply to comment #55)
> I don't understand comment 54 at all.
Let's put it simple: in a proposed fix --no-remote would be silently used. With --no-remote a new window will be open instead of a new tab in existing one. One cannot load a second copy of the same profile, because it's locked. I.e. instead of a win of some copy there will be an error message about locked profile.
Comment 57•16 years ago
|
||
I can't understand why you need to run two instances for the same profile
Comment 58•16 years ago
|
||
(In reply to comment #57)
> I can't understand why you need to run two instances for the same profile
If I click on external link it will run a new instance of FF in case of --no-remote. I do not need two instances (and cannot get them working). That's why --no-remote is not a solution.
Comment 59•16 years ago
|
||
(In reply to comment #58)
@Stanislav Mekhanoshin: see Bug 441035
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
Comment 60•16 years ago
|
||
Why INCOMPLETE ?
What is missing ?
The bug is still there in v3.0.10.(WinXP)
Starting PM brings up a new FF window.
Comment 61•16 years ago
|
||
I think in the haste to do bug 491354 some bugs were marked incomplete just to close them. but this bug is really WONTFIX based on prior art of bug 362355 and bug 308076
Resolution: INCOMPLETE → WONTFIX
Whiteboard: workaround comment 49
Comment 62•12 years ago
|
||
Comment 63•12 years ago
|
||
I have developed a patch for this which causes -profilemanager to imply -no-remote. Further, while here, I added a two-line chunk which causes -p <profile> to only contact a remote also running in that profile, if any, and fail otherwise. The bulk of the patch is actually spent fixing a bug in CheckArg for the rare case when it is not removing arguments.
Updated•12 years ago
|
Status: RESOLVED → REOPENED
Component: Cmd-line Features → Startup and Profile System
Product: Core Graveyard → Toolkit
Resolution: WONTFIX → ---
Updated•12 years ago
|
Attachment #713799 -
Flags: review?(robert.bugzilla)
Attachment #713799 -
Flags: feedback?(benjamin)
Comment 66•12 years ago
|
||
Comment on attachment 713799 [details] [diff] [review]
Proposed patch; commentary forthcoming
>Fix https://bugzilla.mozilla.org/show_bug.cgi?id=99828 by making -profilemanager imply -no-remote:
I won't r+ this change and I can't imagine making -profilemanager imply -no-remote will ever be acceptable since there are use cases where it shouldn't.
bsmedberg knows this code much better than I
Attachment #713799 -
Flags: review?(robert.bugzilla) → review-
Comment 67•12 years ago
|
||
What are those use cases?
Comment 68•12 years ago
|
||
Running a different profile than the default one and wanting os integration.
Comment 69•12 years ago
|
||
Are you saying that -no-remote influences both whether we reuse a running process, and whether "OS integration" features work? Maybe we should fix that!
Comment 70•12 years ago
|
||
(In reply to Jesse Ruderman from comment #69)
> Are you saying that -no-remote influences both whether we reuse a running
> process, and whether "OS integration" features work? Maybe we should fix
> that!
It does and always has though it does much less now that we no longer use DDE on Windows. You should let bsmedberg weigh in on this since he knows this code and why it was implemented in these ways.
Comment 71•12 years ago
|
||
I guess that's roughly the subject of bug 441422 and bug 382477?
Comment 72•12 years ago
|
||
If the -profilemanger implying -no-remote part of the patch is objectionable, skip it; the other two hunks are much more important to me, FWIW.
Comment 73•12 years ago
|
||
Comment on attachment 713799 [details] [diff] [review]
Proposed patch; commentary forthcoming
CheckArg is so unreadable now, any change there needs some kind of comment.
In any case, I do not want to support the other pieces of this bug. Profiles are stored as directory paths, not named, and so through restarts etc we won't preserve profile names and people will not get the behavior they expect. I don't want to support the code and tests that would be necessary to actually get correct named-profile behavior. That's why this bug was WONTFIXed in the first place, and I will continue to confirm that decision.
Attachment #713799 -
Flags: feedback?(benjamin) → feedback-
Updated•12 years ago
|
Status: REOPENED → RESOLVED
Closed: 16 years ago → 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•