About & Preferences windows don't appear (on Mac) when there's a master password and security.prompt_for_master_password_on_startup is set to true
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
People
(Reporter: calum.mackay, Assigned: KaiE)
References
(Regression)
Details
(Keywords: leave-open, regression)
Attachments
(1 file)
1.20 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
The "About" box no longer appears, when selected from main menu.
OK in Daily 0127, problem appeared in Daily 0128.
MacOS 10.14.6
It's a minor pain: current version can be got from Help -> Troubleshooting
update on demand is lost; need to wait for update prompt to appear
Reporter | ||
Comment 1•5 years ago
|
||
forgot to add: nothing at all in Console when selecting About from menu.
Reporter | ||
Comment 2•5 years ago
|
||
sorry, belatedly noticed that Preferences doesn't appear either.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Khushil, do you see this?
Comment 4•5 years ago
|
||
It's working on TB 74.0a1 on MacOS 10.14.2. (Last Patch from Wed 29th Jan)
What is Daily 0128?
Comment 5•5 years ago
|
||
I'd say 28. January. On my Mac it still works. I saw also reports of this issue with TB 68.
Comment 6•5 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #5)
I'd say 28. January. On my Mac it still works. I saw also reports of this issue with TB 68.
I am using 10.13 SDK for development. Do you think it can be related to 10.14 SDKs?
Comment 7•5 years ago
|
||
I don't think it's a SDK issue as the official Daily works for me too. And they use if I'm right a older SDK.
Reporter | ||
Comment 8•5 years ago
|
||
That's odd. I'm using the official Daily builds too.
I can reliably reproduce it with every Daily from 0128 on, including today's 0205.
Equally reliably, going back to Daily 0127 restores normal behaviour.
This is on MacOS 10.14.6
[No doubt it's a coincidence, but the other noticeable UI change in Daily 0128 (my first "bad" build) is that the master password prompt comes up alone, on startup, and the main windows do not appear until the pw has been entered. With 0127 and before (for years), the main windows (I use two) come up first, then the master pw box comes up later. Probably a coincidence, but it caught my eye in that first "bad" (for me) build]
Anything I can do, to try and narrow this down?
Comment 9•5 years ago
|
||
Good catch Calum, when I enable the master password I can confirm your issue.
Khushil, can you look at why the main menu doesn't work after the master password dialog is used? If I remember correctly is Kai on Linux. But I n-i him anyway.
Reporter | ||
Comment 10•5 years ago
|
||
thanks Richard; glad I mentioned it :)
Comment 11•5 years ago
|
||
Yes, I also confirm. After setting up the master password, it doesn't work.
Reporter | ||
Comment 12•5 years ago
|
||
confirmed; adding this resolves this problem in Daily 0205
$ grep master user.js
user_pref("security.prompt_for_master_password_on_startup", false);
Reporter | ||
Comment 13•5 years ago
|
||
I should add, despite the regression, I'm delighted with Kai's master password prompt on startup; multiple prompts have been a pain for me for years. thanks Kai :)
Updated•5 years ago
|
Assignee | ||
Comment 14•5 years ago
|
||
I just tried Nightly 2020-02-05 on Linux.
I can use menu "help/about daily" successfully.
Enabling the master password doesn't have an effect for me, I can open the about dialog and preferences window with and without master password on Linux.
I can try on Mac.
Assignee | ||
Comment 15•5 years ago
|
||
I can reproduce the issue on MacOS. And it isn't possible to quit Daily using the menu command.
So apparently bringing up the master password prompt confuses the windowing system on Mac. We might need to do it at a different point of time. This needs investigation.
Anyway, we shouldn't break users of nightly. I suggest we disable the pref until we have a chance to identify the cause and a better fix.
Assignee | ||
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Comment 18•5 years ago
|
||
Ok. I've now tested Windows, which seems to work. So your suggestion to disable mac only is good.
I've noticed a different issue, without MP set and nightly, I occasionally get a mail server login failure on startup. Cannot reproduce reliably. I don't yet know if this is related to the new NSS startup code.
Comment 19•5 years ago
|
||
Comment 20•4 years ago
|
||
Khushil, can you confirm this is still an issue on mac?
Comment 21•4 years ago
•
|
||
(In reply to Magnus Melin [:mkmelin] from comment #20)
Khushil, can you confirm this is still an issue on mac?
It is working on Daily 79.0a1. So the issue is solved.
Comment 22•4 years ago
|
||
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/230eadb7ddd6
Disable master password startup pref on MacOS to fix a regression. r=mkmelin
DONTBUILD
The issue is reproducible without this patch.
Reporter | ||
Comment 23•4 years ago
|
||
I recently noticed that the master password prompt appeared at startup, again, despite the pref security.prompt_for_master_password_on_startup now defaulting to false; the problem reported here no longer occurs in that state, i.e. with the pref default of false, even though the master password is now prompted for at startup, which seems odd.
However, if I manually set that pref true, in user.js, the problem reported here returns; current Daily 20200609.
Comment 24•4 years ago
|
||
(In reply to Calum Mackay from comment #23)
I recently noticed that the master password prompt appeared at startup, again, despite the pref security.prompt_for_master_password_on_startup now defaulting to false; the problem reported here no longer occurs in that state, i.e. with the pref default of false, even though the master password is now prompted for at startup, which seems odd.
However, if I manually set that pref true, in user.js, the problem reported here returns; current Daily 20200609.
Yes. I am also observing the same.
Comment 25•4 years ago
|
||
Is this issue still relevant after Kai's most recent patch(es)? Should be available on the following:
- current daily build
- 78 candidate build - https://archive.mozilla.org/pub/thunderbird/candidates/78.3.0-candidates/build1/
- beta 81.0b4
Comment 26•4 years ago
|
||
I don't think I have seen the issue before, but also working for me with 78.3.0; macos 10.14.6; MP on;
Comment 27•4 years ago
|
||
(In reply to Calum Mackay from comment #23)
I recently noticed that the master password prompt appeared at startup, again, despite the pref security.prompt_for_master_password_on_startup now defaulting to false; the problem reported here no longer occurs in that state, i.e. with the pref default of false, even though the master password is now prompted for at startup, which seems odd.
However, if I manually set that pref true, in user.js, the problem reported here returns; current Daily 20200609.
I am able to reproduce it with these steps.
Assignee | ||
Comment 28•4 years ago
•
|
||
Wayne, yes the issue still applies.
Bug 1610390 implemented a fix for Windows and Linux.
The fix doesn't work on macOS. That's why we kept the pref at disabled, which means "don't use the code from bug 1610390 on macOS".
This means -> no solution for macOS yet.
To report some progress, I've recently tried to look into it. A hidden window is created on macOS, and in order to allow the prompt to work, we need to bring up the hidden window earlier. But even with that, it doesn't completely work on macOS, because a second prompt is brought up (while spinning the even loop while prompting for the password). So a more sophisticated fix will be necessary for macOS.
[Edit, clarify no solution for "macOS" yet]
Assignee | ||
Comment 29•4 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #25)
Is this issue still relevant after Kai's most recent patch(es)?
Yes
Should be available on the following:
- current daily build
- 78 candidate build - https://archive.mozilla.org/pub/thunderbird/candidates/78.3.0-candidates/build1/
- beta 81.0b4
No. Those other recent fixes are irrelevant for this issue, as I explain above in comment 28. That recent work fixed another scenario which made it even worse (on all platforms).
Reporter | ||
Comment 30•4 years ago
|
||
thanks Kai!
Comment 31•4 years ago
|
||
bug1667592 |
Not sure if bug 1668470 is related. These menu items not working on Mac if app window closed (not quit).
Assignee | ||
Comment 33•3 years ago
|
||
Adding Markus to this bug, who I just learned is an expert for the macOS windowing system. Maybe you could eventually help us to better understand what might be causing this window misbehavior.
Reporter | ||
Comment 35•2 years ago
|
||
I'm delighted to report that it no longer reproduces :)
i.e. setting:
user_pref("security.prompt_for_master_password_on_startup", true);
no longer breaks About or Prefs.
And enabling that pref does fix the multiple prompt issue, too, which is marvellous.
thanks!
Comment 36•2 years ago
|
||
Thanks for the update
Assignee | ||
Comment 37•2 years ago
|
||
Calum, on which macOS version did you test?
I confirm it also works for me with TB 102 and this pref on macOS 12.4
The last time I had tried it was on macOS 11.x - I would like to know if this is also fixed with TB 102 on macOS 11.x - can we find someone who is able to test that?
Assignee | ||
Comment 38•2 years ago
|
||
Good news.
I got access to an older mac stuck at with macOS 10.12.x.
With Thunderbird 102 on macOS 10.x, this bug is fixed, too!
This makes it very likely that it works on macOS 11, too, and the fix was indeed somewhere in the new Thunderbird release.
I suggest that we enable the startup pref for macOS in an update to 102.x, I'll file a separate bug for that.
Reporter | ||
Comment 39•2 years ago
|
||
sorry Kai!
(In reply to Kai Engert (:KaiE:) from comment #37)
Calum, on which macOS version did you test?
I forgot to add that: 104.0a1 (2022-07-07) (64-bit); MacOS 12.4
Description
•