Closed Bug 1831792 Opened 1 year ago Closed 1 year ago

Scrollbar and button style issue in OpenPGP dialog (localized build, DE)

Categories

(MailNews Core :: Security: OpenPGP, defect)

Thunderbird 114
defect

Tracking

(thunderbird114 affected, thunderbird115 affected)

RESOLVED FIXED
114 Branch
Tracking Status
thunderbird114 --- affected
thunderbird115 --- affected

People

(Reporter: soeren.hentzschel, Assigned: Paenglab)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Attached image screenshot

STR:

  1. 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.
  2. Open a signed message.
  3. 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.

Component: Message Reader UI → Security: OpenPGP
Product: Thunderbird → MailNews Core
Target Milestone: --- → 114 Branch

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!

Flags: needinfo?(alessandro)
See Also: → 1833978
Summary: scrollbar and button style issue in OpenPGP dialog (localized build) → Scrollbar and button style issue in OpenPGP dialog (localized build, DE)
Blocks: 1821304
Flags: needinfo?(alessandro)
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED

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

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

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.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached image screenshot

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?

Flags: needinfo?(alessandro)

No, we should make that container flex-wrap: wrap so if the content doesn't fit elements can stack naturally.

Flags: needinfo?(alessandro)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c3d8a8673e5d
Let the security key container wrap when too long. r=freaktechnik

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: