Open Bug 844660 Opened 11 years ago Updated 2 months ago

Opening a window from the JumpList can open it in the wrong instance of Firefox if using multiple profiles

Categories

(Firefox :: Shell Integration, defect)

20 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mrloyal1410, Unassigned)

References

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.12 Safari/537.31

Steps to reproduce:

I'm using Windows 7 x64.
Mozilla Firefox 20 which has Per-window Private Browsing new feature.
I did run Firefox with many profiles with parameter: -p -no-remote. It result in 2 windows of Firefox separately.
I open new Private Browsing Windows by right click from Task Bar.


Actual results:

The new Private Browsing Windows went together and appeared in the wrong profile.


Expected results:

The new Private Browsing Windows must go with the right profile.
Component: Untriaged → Private Browsing
Hmm, I guess we could make the jump list actions also pass a profile argument. I would expect this to affect any of the actions, not just the private browsing one.
Component: Private Browsing → Shell Integration
How well does the New Window menu entry behave with regards to this?
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #2)
> How well does the New Window menu entry behave with regards to this?

Since Firefox has multiple profile, The new Private Browsing Windows appeared in the window with wrong profile.
Assume the command line to start Firefox:
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p "test" -no-remote
When start a new private window by right click Firefox icon on Taskbar - New private window, the command line to start a new private window should be:
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p "test" -no-remote -private-window
Instead of:
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -private-window
(In reply to comment #3)
> (In reply to :Ehsan Akhgari (needinfo? me!) from comment #2)
> > How well does the New Window menu entry behave with regards to this?
> 
> Since Firefox has multiple profile, The new Private Browsing Windows appeared
> in the window with wrong profile.

My question was about regular windows, not private windows.`
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #5)
> (In reply to comment #3)
> > (In reply to :Ehsan Akhgari (needinfo? me!) from comment #2)
> > > How well does the New Window menu entry behave with regards to this?
> > 
> > Since Firefox has multiple profile, The new Private Browsing Windows appeared
> > in the window with wrong profile.
> 
> My question was about regular windows, not private windows.`

I have just tested some cases to narrow down the issue:

Case 1 - there is only 1 installation of Firefox on PC with multiple profiles
Running Firefox with multiple profiles at the same time. Everything is ok!
The new window and the new private window are working well. They are appeared with the last instance is used.
There is only 1 process of Firefox in Task Manager.

----------------------------------------------------------------------------------

Case 2 - there are 2 installation of Firefox on PC which use different profile
Running both 2 instance of Firefox which use different profile at the same time.
There are 2 processed of Firefox in Task Manager.

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"            1
"D:\Mozilla Firefox\firefox.exe" -p "test" -no-remote           2

Open a new window or a new private window from the jump list of 2nd instance of Firefox. The new window and a new window or a new private window are appeared with the 1st instance of Firefox.

Note: All instance of Firefox are updated to latest version 20 as today release. And none of them is default browser.
OK, so like I suspected this is a bug in our handling of multiple profiles, and is not specific to private windows.  Changing the summary accordingly.
Summary: Per-window Private Browsing in Multiple Profiles → Opening a window from the JumpList can open it in the wrong instance of Firefox if using multiple profiles
Bug 942938 may be related to this.
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 4 duplicates.
:Amir, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahabibi)

The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.

Flags: needinfo?(ahabibi)
Attachment #9383147 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: