Scrollbar and button style issue in OpenPGP dialog (localized build, DE)
Categories
(MailNews Core :: Security: OpenPGP, defect)
Tracking
(thunderbird114 affected, thunderbird115 affected)
People
(Reporter: soeren.hentzschel, Assigned: Paenglab)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
STR:
- Make sure that you have OpenPGP configured and that you're using a language with longer words than English, for example German. English builds are not affected.
- Open a signed message.
- Press the OpenPGP button in the message header.
Actual:
The button text is much longer than the button itself and the panel can be scrolled.
Expected:
No scrollbar and no style issue with the button.
Unfortunately mozregression does not support localized Thunderbird builds and I didn't use OpenPGP before so I don't know if it's a regression. Tested in Thunderbird Daily 114.0a1 (2023-05-07) on macOS 13.3.1.
Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Another bug with similar symptoms, labels bigger than their button, is bug Bug 1833978.
Alex, should we try to eliminate this in some systematic way to catch all instances? While it's not harmful, it does make us look pretty odd, and having to scroll an info panel for reading its text is also pretty painful, even if it's not everyone's scenario.
Flexbox?
Elizabeth fixed bug 1831790, another dialog too small!
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D178581
Updated•1 year ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/2924d70a9983
Make the messageSecurityPanel a bit wider so it would work better in all locales. r=mkmelin
Reporter | ||
Comment 4•1 year ago
•
|
||
Not fixed in Thunderbird Daily 115.0a1 (2023-05-23) on macOS, German Build. Yes, the dialog is wider now, but the button text is still larger than the button itself and there is still a scrollbar.
It doesn't look like a reliable fix to give a fixed width to the dialog. Did you test all languages? What if a translation changes in the future? Or if you decide to increase the padding of dialogs - will this specific dialog be tested again in all languages? So I guess the actual cause should be fixed instead, otherwise this issue can re-appear at any time and without some kind of UI test you won't notice it until someone reports it.
Reporter | ||
Comment 5•1 year ago
|
||
Assignee | ||
Comment 6•1 year ago
|
||
For Mac it would need a width of 41rem to show the button correctly. But there could be other locales that need even more space. Should we change this button to a link that can wrap?
Comment 7•1 year ago
|
||
No, we should make that container flex-wrap: wrap
so if the content doesn't fit elements can stack naturally.
Assignee | ||
Comment 8•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c3d8a8673e5d
Let the security key container wrap when too long. r=freaktechnik
Description
•