The OpenPGP key details dialog doesn't properly adjust its size after enabling elements
Categories
(MailNews Core :: Security: OpenPGP, defect, P1)
Tracking
(thunderbird_esr78 fixed, thunderbird80 fixed)
People
(Reporter: KaiE, Assigned: aleca)
References
Details
(Keywords: ux-efficiency)
Attachments
(1 file)
|
5.03 KB,
patch
|
KaiE
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
mail/extensions/openpgp/content/ui/keyDetailsDlg.xhtml
mail/extensions/openpgp/content/ui/keyDetailsDlg.js
The dialog has optional elements, such as a list of alternative IDs.
I regularly saw the dialog opening wits its lower area cut off, and the OK button not being visible.
How can we properly resize its contents?
I'd appreciate help or a patch, thanks in advance.
If you need a test key with alternative user IDs, you may use mine:
https://kuix.de/pgpkey.txt
| Reporter | ||
Comment 1•5 years ago
|
||
Alessandro, this might an important issue.
Do you have an idea how to fix it?
| Reporter | ||
Comment 2•5 years ago
|
||
I see my key isn't the best to reproduce it. But you could use the following, which has multiple IDs:
CBCD8F030588653EEDD7E2659B7DD433F254904A
(Use OpenPGP key manager, keyserver, discover online, and past this fingerprint.)
| Assignee | ||
Comment 3•5 years ago
|
||
The dialog should resize to accommodate all the elements, and if the sum of the elements is taller than the available window, a scrollbar should appear.
I'll take a look at this, thanks for providing the test keys.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
This takes care of properly resizing the dialog when the data changes.
I also updated the style of that section to make it look consistent and more digestible.
| Reporter | ||
Comment 5•5 years ago
|
||
Comment on attachment 9168898 [details] [diff] [review]
1643343-openpgp-dialog.diff
Thank you, works great!
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/865f2cebb8f1
Fix the OpenPGP Key details dialog not resizing to fit all available elements. r=KaiE DONTBUILD
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Comment 7•5 years ago
|
||
Comment on attachment 9168898 [details] [diff] [review]
1643343-openpgp-dialog.diff
OpenPGP UI correctness, no risk
Comment 8•5 years ago
|
||
Comment on attachment 9168898 [details] [diff] [review]
1643343-openpgp-dialog.diff
[Triage Comment]
Approved for beta
Approved for esr78
Comment 9•5 years ago
|
||
| bugherder uplift | ||
Thunderbird 80.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/2a43d108123d
| Reporter | ||
Comment 10•5 years ago
|
||
Description
•