Closed Bug 1838109 Opened 2 years ago Closed 2 years ago

OpenPGP key change expiration dialog size and layout issues

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 115
defect

Tracking

(thunderbird115+ fixed)

RESOLVED FIXED
116 Branch
Tracking Status
thunderbird115 + fixed

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

Attachments

(3 files, 1 obsolete file)

Attached image expiry-before.png

Buttons misplaced out of screen, and there's a a huge empty area on the right.
The months selector will also not properly show values, if opened a few times.

For testing: in the OpenPGP key manager, open a key you own. Click "Change Expiration Date"

There were multiple layout issues, dialog size issues pushing buttons out of the screen,
and some problem with the dropdown not actually showing the values.

In addition, the time calculations were somewhat inaccurate.

Converted the dialog to HTML, and using more accurate calculations + show time in a more readable fashion: up to 24 months as months, then as years.
There were some limitations on how to change expiry to something shorter than you had, but I don't see much reason for that - and previously it
could also be worked around by setting not expiring, and then setting a shorter date. I think there are reasons someone may want to shorten the
expiry time - whether that will take effect "at large" is not something we can guarantee.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attached image expiry-after.png

Fix font size in the dialog.
Size it properly - some buttons were off screen especially when opening from account settings.

Found lots of dead css.

Comment on attachment 9338763 [details]
Bug 1838109 - OpenPGP key details dialog font size and layout fix. r=#thunderbird-front-end-reviewers,kaie

Revision D180757 was moved to bug 1793708. Setting attachment 9338763 [details] to obsolete.

Attachment #9338763 - Attachment is obsolete: true
Attachment #9338758 - Attachment description: Bug 1838109 - OpenPGP key change expiration dialog size and layout issues. r=#thunderbird-front-end-reviewers,kaie → Bug 1838109 - OpenPGP key change expiration dialog size and layout issues. r=freaktechnik,kaie

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3be47d0dd710
OpenPGP key change expiration dialog size and layout issues. r=freaktechnik

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

Comment on attachment 9338758 [details]
Bug 1838109 - OpenPGP key change expiration dialog size and layout issues. r=freaktechnik,kaie

[Approval Request Comment]
Regression caused by (bug #): unclear
User impact if declined: UI issues
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): pretty safe

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

Comment on attachment 9338758 [details]
Bug 1838109 - OpenPGP key change expiration dialog size and layout issues. r=freaktechnik,kaie

[Triage Comment]
Approved for beta

Attachment #9338758 - Flags: approval-comm-beta? → approval-comm-beta+

(In reply to Magnus Melin [:mkmelin] from comment #1)

using more accurate calculations + show time in a more readable fashion: up to 24 months as months, then as years.

Thank you!

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

Attachment

General

Created:
Updated:
Size: