Open Bug 445866 Opened 13 years ago Updated 4 years ago

Master Password prompt dialog appearing in wrong place on screen

Categories

(Core :: Security: PSM, defect, P3)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: camarolt1nos, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [psm-backlog] [passwords:master-password])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

If using an addon, for example, Weave, that needs access to the users passwords in the Password Manager it needs the user to enter their Master Password.  Thus, making the password prompt appear in the upper right-hand corner of the screen instead of the center of the screen.  Although, when required to restart Firefox because of an addon update after the restart the password prompt appears in the center of the screen.

Reproducible: Always

Steps to Reproduce:
1. Have a browser syncing addon, Weave, in this case
2. Start FF
3. Password prompt appears in the upper right-hand corner of the screen
Actual Results:  
Password prompt appeared in the upper right-hand corner of the screen.

Expected Results:  
Password prompt should appear in the center of the screen.
I forgot to add this also happens in Windows Vista.
Y'all should have an edit in the bug submission just in case someone forgets to add something.  Oh, I made a mistake its the upper left-hand side of the screen that it appears and not the upper right-hand side of the screen.
Product: Firefox → Toolkit
This is generally caused by triggering a master password prompt before the main window has been built; the dialog ends up being shown at 0x0.
Assignee: nobody → kaie
Component: Password Manager → Security: UI
Product: Toolkit → Core
QA Contact: password.manager → ui
Mass change owner of unconfirmed "Core:Security UI/PSM/SMime" bugs to nobody.
Search for kaie-20100607-unconfirmed-nobody
Assignee: kaie → nobody
Same behavior with Windows 7 and XMarks. Hassle me.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 674483
Whoops - that bug is actually a different issue. Here's what's probably going on:

(In reply to David Keeler [:keeler] (use needinfo?) from bug 1288615comment 2)
...
> The issue is that when NSS asks for a password, PSM doesn't know what window
> ultimately caused this to happen, so it opens up a dialog that doesn't have
> a parent, and it appears wherever the OS' window system says it should go.
> We could probably fix all cases of this, but really what we should do is
> have PSM cancel the request in a way that gets back to the originating cause
> so it can tell the front end to ask the user for a password and then retry
> the operation.
Status: RESOLVED → REOPENED
Component: Security: UI → Security: PSM
Ever confirmed: true
Priority: -- → P3
Resolution: DUPLICATE → ---
Whiteboard: [psm-backlog]
Whiteboard: [psm-backlog] → [psm-backlog] [passwords:master-password]
You need to log in before you can comment on or make changes to this bug.