Open Bug 1768856 Opened 2 years ago Updated 8 months ago

Firefox prompts two master password dialogs during startup

Categories

(Toolkit :: Password Manager, defect, P2)

Firefox 100
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jim, Assigned: dlee)

References

Details

Attachments

(4 files)

Attached image FF Home Settings.JPG

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

Start Firefox it loads to (Firefox Home (Default))
Firefox requests the Primary password.
Enter the primary password and depress <ENTER> key.
Firefox requests the Primary password again.
Depress <ENTER> key again.
Firefox Primary password request goes away.
No additional problems until the Password is requested again and error duplicates.

Actual results:

Similar to close issue Bug 1721084. When I start Firefox it loads to Firefox Home (Default) and when the I enter the Primary password, I have to press the Enter key a second time to clear it from the screen.

Expected results:

The Primary password request should end the first time the <ENTER> key was depressed.

Attached you will find my home screen settings.

Summary: Similar to close issue Bug 1721084. When I start Firefox it loads to Firefox Home (Default) and when the I enter the Primary password, I have to press the Enter key a second time to clear it from the screen. → Similar to closed issue Bug 1721084. When I start Firefox it loads to Firefox Home (Default) and when I enter the Primary password, I have to press the Enter key a second time to clear it from the screen.

The Bugbug bot thinks this bug should belong to the 'Firefox::Preferences' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Preferences
Component: Preferences → Password Manager
Product: Firefox → Toolkit

jlfliberty, thanks for filing this. A few clarifying questions:

  • Do you have Sync enabled?
  • When you start up Firefox, do you have any pinned tabs when this issue occurs?

:pbz, this does feel similar to Bug 1721084 but I'm not sure what would be causing the issue now. Do you happen to have any ideas?

Flags: needinfo?(pbz)
Flags: needinfo?(jim)
Attached image FireFox bug.JPG

Attached for response on 05/19/2022

Do you have Sync enabled?

---- Yes, Sync is enabled.

When you start up Firefox, do you have any pinned tabs when this issue occurs?

---- No sure if this attached screen shot would be called a pinned tab but if you see the (♪www.BEATIFULinstr...) on the same line that starts with (Search Engines) and it is a tab then the answer is yes.

Jim(In reply to Tim Giles [:tgiles] from comment #2)

jlfliberty, thanks for filing this. A few clarifying questions:

  • Do you have Sync enabled?
  • When you start up Firefox, do you have any pinned tabs when this issue occurs?

:pbz, this does feel similar to Bug 1721084 but I'm not sure what would be causing the issue now. Do you happen to have any ideas?


Do you have Sync enabled?

---- Yes, Sync is enabled.

When you start up Firefox, do you have any pinned tabs when this issue occurs?

---- No sure if this attached screen shot would be called a pinned tab but if you see the (♪www.BEATIFULinstr...) on the same line that starts with (Search Engines) and it is a tab then the answer is yes.

I am going to top of list to attach screen shot named FireFox bug.JPG.

I see no other place to attach to this response.

Jim

Flags: needinfo?(jim)
Summary: Similar to closed issue Bug 1721084. When I start Firefox it loads to Firefox Home (Default) and when I enter the Primary password, I have to press the Enter key a second time to clear it from the screen. → Firefox prompts two master password dialogs during startup

So we have a couple of bugs filed regarding the double prompt (Bug 1769409, Bug 1768763).
I think this might be related to the new SYNC behavior (See Bug 1769095 Comment 14 for details) because all the bugs mention that this issue happens after 100.
And from the description of the bug, to reproduce this issue, we don't have to start Firefox with a page with username/password, so I think the "second" prompt is not triggered by the password manager's autofill feature.

Is it possible we run SYNC startup twice in some cases after Bug 1769095? which might trigger the double prompts.

This bug doesn't seem to be related to Bug 1721084, cancel needinfo to :pbz

Flags: needinfo?(pbz)
Attached file Firefox Bug.pdf

I do not have sync already running when I receive this error starting Firefox.
I retested by rebooting my Laptop and loading Firefox, I still receive the second password prompt.

I am including two screen shots in one PDF.

  1. Initial screen Firefox loads up.

  2. Task Manager sorted by name so you can verify Firefox is not running when I first load it.

Severity: -- → S3
Priority: -- → P2
See Also: → 1768763
Assignee: nobody → dlee

Lets use this bug to fix double Primary Password prompts and bug 1769095 to improve the need of Sync to prompt for Primary Password.

See Also: → 1772842

This is definitely still a problem with 103.0.1 in either Linux or Windows.

In my case it could be extensions partly to blame, or it could be the number of pinned tabs I have, because pinned tabs always auto-load immediately, whereas others only load when focused. Thus I have 10+ tabs all loading at startup in my main window (never mind all the non-pinned tabs in other windows which aren't going to be an issue until focused).

The worst thing is that you can start typing in the master password in the first prompt only to have keyboard input focus yanked over to the new prompt(s). I often end up with the first 5-10 characters in the first prompt and the rest in another before I realise what's happening.

In essence the whole "input master password" system needs a lock on it so only one prompt ever appears, with any additional need causing the existing prompt to ... well I hesitate to say refocus because what if you're busy in an entirely different application when that happens? You don't want focus yanking out of that either ! The important change would be to only ever have one Master Password prompt exist, and if any Firefox window is currently focused re-focus that existing prompt if there are additional triggers for such.

I also have Sync enabled, but note that it's not always a double prompt for me, sometimes it's three or more. I do also have some extensions, like "Icinga Multistatus" that might be triggering a prompt.

I don't have Sync enabled, but also get multiple prompts. Subjectively it got worse with 104.
I have four pined Tabs with two of them using client side SSL certificates. I believe this certificate authentication also triggers an additional prompt.

Some days it is really hard to bare this problem. After pushing FF Sync the master password is even more important IMHO. So please fix this.

And after this nightmare bug 1541911 wants another input FF already knows. There are more productive ways to start the day.

Very important information to make this BUG somewhat less frustrating.
This is something that Mozilla support should have explained to everyone to begin with. There is no excuse that this is not explained in the first response to the problem of entering the password twice. I’m sure I’m not the only one that was entering the password three, four, five times plus frustrated with the aggravation.
One day I finally noticed that the Password box flashed during password entry.
I experimented and once the password box displayed, I waited to see the password entry location flash/blink before continuing.
After the flash/blink, I entered the correct password and pressed enter or clicked on <OK>. I then pressed enter or clicked on <OK> a second time and the password was accepted and things proceeded smoothly.
This not so obvious discovery saved great frustration and anger with Firefox.
I still requires a second enter or click on <OK> but at least its now understood and eliminates wasted pounding on the keyboard attempting to get into Firefox password and other management.

(In reply to Athanasius from comment #12)

I also have Sync enabled, but note that it's not always a double prompt for me, sometimes it's three or more. I do also have some extensions, like "Icinga Multistatus" that might be triggering a prompt.

Partial Solution to frustration.
This is something that Mozilla support should have explained to everyone to begin with. There is no excuse that this is not explained in the first response to the problem of entering the password twice. I’m sure I’m not the only one that was entering the password three, four, five times plus frustrated with the aggravation.
One day I finally noticed that the Password box flashed during password entry.
I experimented and once the password box displayed, I waited to see the password entry location flash/blink before continuing.
After the flash/blink, I entered the correct password and pressed enter or clicked on <OK>. I then pressed enter or clicked on <OK> a second time and the password was accepted and things proceeded smoothly.
This not so obvious discovery saved great frustration and anger with Firefox.
I still requires a second enter or click on <OK> but at least its now understood and eliminates wasted pounding on the keyboard attempting to get into Firefox password and other management.

See Also: → 177175
See Also: → 674483
See Also: → 1149505
See Also: → 1400204

(In reply to jlfliberty from comment #15)

After the flash/blink, I entered the correct password and pressed enter or clicked on <OK>. I then pressed enter or clicked on <OK> a second time and the password was accepted and things proceeded smoothly.

I suspect that in your setup you are 'only' getting one additional password prompt. You hitting <OK> the second time is merely clearing the first (as the second prompt was rendered directly over the first) prompt. Having entered the password in that second prompt it didn't matter that you didn't actually enter it in the first one.

This bug is still frustrating me twice a day (login on Linux initially, then again on Windows later on). If I'm VERY quick in Windows I can enter the passphrase before any additional prompts show up. I cannot do that on Linux (the FF profile has many fewer windows and tabs, so startup is quicker). Instead I must wait for all the prompts to appear, then enter the passphrase in one then close the others. Attempting to enter it in the first one will (always on Linux, sometimes on Windows if I'm not fast enough) cause the passphrase to get spread across multiple prompts as each new one insists it must have keyboard focus.

Firefox developers who are monitoring this issue (there's at least one, RIGHT?) - what do you need in order to move forwards with addressing this bug/mis-feature? If you've still not managed to replicate this then I might invest some time in putting together a minimal firefox profile that consistently demonstrates it (which will likely entail creating some dummy accounts on third-party services used by pertinent extensions).

Athanasius,

Sorry, I do not have the time right now and did explain what was happening in past posts. I'm sure anyone using my default setup which uses the shortcuts option when loaded which are shortcuts to sites that require passwords. From what I understand this is the issue when using password manager.
I posted this today because I received a email concerning the bug and had found out a key element that had been missed by me.
That element was noticing I had to wait for the password entry box to blink/flash before proceeding.
Before that, I would immediately begin typing in the password and it would get fried before hitting <ENTER> causing me to retype it up to many times depending on my speed of retyping it.
Mozilla making this clear from the start is important for people to know in order to live with the obvious problem of double entry, not turning it into who knows how many entries required.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: