Closed Bug 1768153 Opened 2 years ago Closed 2 years ago

OpenPGP Key Asssistant, radio button in resolve view looks wrong

Categories

(MailNews Core :: Security: OpenPGP, defect)

defect

Tracking

(thunderbird_esr91 unaffected, thunderbird101 affected)

RESOLVED MOVED
102 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird101 --- affected

People

(Reporter: KaiE, Assigned: mkmelin)

References

Details

Attachments

(1 obsolete file)

The key assistant for bug 1627956 and bug 1767592 has a resolve view with radio buttons for chosing one of several candidates.

The intention is that the user must make an explicit decision which one should be chosen.
Therefore the dialog opens up with NO key selected initially.

This kind of works on Linux, but is broken on macOS.

On Linux, initially all unselected radio buttons are shown with a "minus" icon. Once any radio buttons is selected, the other ones go into the unselected state. This seems acceptable.

On macOS, the same icon is used for both selected and "none selected".

This means, on macOS, you initially have the impression at all radio buttons are selected, and there's no visual difference.

Is the radio button broken on macOS ? Where is the code responsible for this apperance?
Is that the code in mozilla/toolkit/content/widgets?
I briefly looked at that code - but I couldn't find relevant code.
I also couldn't find the minus icon that is shown for all-unselected. Maybe if someone could that find icon, we could try to find the related code.

If this seems like an unacceptable appearance, we could consider to use a checkbox instead - and have our own code to deselect the other checkbox, when one checkbox is clicked.

Help is wanted.

See Also: → 1767592, 1627956

I think it's the same problem, just manifesting itself slightly differently on each platform.

Summary: OpenPGP Key Asssistant, radio button in resolve view broken on macOS → OpenPGP Key Asssistant, radio button in resolve view looks wrong
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED

please uplift to beta

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0a632e08e321
OpenPGP Key Asssistant, radio button in resolve view looks wrong. r=kaie

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch

Comment on attachment 9276643 [details]
Bug 1768153 - OpenPGP Key Asssistant, radio button in resolve view looks wrong. r=kaie

[Approval Request Comment]
User impact if declined: Acceptance radio button wrong looking/non functional
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): not risky

Attachment #9276643 - Flags: approval-comm-beta?

Comment on attachment 9276643 [details]
Bug 1768153 - OpenPGP Key Asssistant, radio button in resolve view looks wrong. r=kaie

[Triage Comment]
Approved for beta

Attachment #9276643 - Flags: approval-comm-beta? → approval-comm-beta+
Regressions: 1769605

Based on bug 1769605, we should back this out from beta.

Flags: needinfo?(rob)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Flags: needinfo?(rob)
Resolution: --- → FIXED
Attachment #9276643 - Flags: approval-comm-beta+

Can we backout this also from trunk?
I'll take care of the styling of the key assitant in bug 1769605, but it'll take a few days.

Flags: needinfo?(rob)
Flags: needinfo?(geoff)
Flags: needinfo?(rob)
Flags: needinfo?(geoff)
No longer regressions: 1769605
Attachment #9276643 - Attachment is obsolete: true
Resolution: FIXED → MOVED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: