Open Bug 1823181 Opened 3 years ago Updated 2 years ago

UI elements inside OpenPGP dialogs are inconsistently wrapped, truncated, and some dialogs not resizable

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 112
defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: u187t568z, Assigned: blakami)

References

(Blocks 1 open bug)

Details

(Whiteboard: [snnot3p])

Attachments

(10 files)

Steps to reproduce:

There are two ways to add OpenPGP keys to an account. Try both in the Account Settings: I'm going to call the flows A, B, and C

Flow - A

  1. Click on End-To-End Encryption in the left pane
  2. Click on the Add Key... (button)
  3. Select Import an existing OpenPGP Key radio button and click Continue button
  4. Click on Select File to Import... button
  5. Select OpenPGP file through the file browser and click continue button and
  6. Enter the password to import

Flow - B

  1. Click on End-To-End Encryption in the left pane
  2. Click on OpenPGP Key Manager button
  3. Click on the File menu → Import Secret Key(s) from file
  4. Click on the Select File to Import button
  5. Select a file through the file browser and click continue button and
  6. Enter the Password to import

Observe the way the dialog boxes display text and key information including buttons.

Flow - C

  1. When you already have a key imported...
  2. Click on Add Key... button
  3. Select Create a new OpenPGP Key radio button and press Continue button

Observe how the entire next modal suddenly becomes tall with a lot of whitespace below disproportionate to the content inside.

Actual results:

  1. The dialog boxes wrap text badly : sometimes wrapping badly, sometimes not wrapping at all
  2. Buttons are truncated
  3. Windows / modals are sometimes sized badly and resize works breadth-wise but not height-wise
  4. Previous modals influence the size of subsequent modals. (For example when going through the flows A and B above when keys are already present)

Expected results:

Modals should be sized correctly with consistent design between different options including text flow and button positions.

Attached image create_key_tall.png
Attached image long_for_no_reason.png
Attached image truncated_button.png
Attached image more_examples.png
Attached image more_examples2.png

Probably flexbox emulation affected them. (xref bug 1821304)

See Also: → 1823205

I also observed in the key edit workflow that the button styles were inconsistent also - as seen in the screenshot.

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

Probably flexbox emulation affected them. (xref bug 1821304)

Probably. Let's hook it up there for inspection.

Blocks: 1821304
Severity: -- → S3
Summary: UI elements inside OpenPGP dialog boxes are inconsistently wrapped → UI elements inside OpenPGP dialogs are inconsistently wrapped, truncated, and some dialogs not resizable
Whiteboard: [snnot]
Whiteboard: [snnot] → [snnot3p]

I have performed additional testing and can confirm that the reported bug can be reproduced in my environment. Indeed the modals are not adjusting to the size while navigating between menus.

I am using Ubuntu 23.04 and Thunderbird 115, but it also happens in the Daily version 121.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Created new functions to help determine the size of the dialog boxes for the key wizard. This was useful so the dialog boxes resize to their minimum height and properly fit the content. Made changes to the tests (added new tests to see if these changes were correct). Additionally, there are small additions to the xhtml and css files (IDs and styles).

Assignee: nobody → blakami
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: