Closed Bug 1665191 Opened 4 years ago Closed 3 years ago

Account names not fully visible, needlessly truncated: account settings' account list is too narrow

Categories

(Thunderbird :: Account Manager, enhancement)

enhancement

Tracking

(thunderbird_esr91 verified, thunderbird93 verified)

VERIFIED FIXED
94 Branch
Tracking Status
thunderbird_esr91 --- verified
thunderbird93 --- verified

People

(Reporter: thomas8, Assigned: Paenglab)

Details

Attachments

(4 files, 2 obsolete files)

See screenshot.

Any accounts with a real-life full email address with company domain as account name, anything longer than johndoe@example.com, gets truncated in the accounts list of account settings, but there's loads of space left, right and centre. This can be quite inconvenient for managing multiple accounts because finding the right one can become a guessing game.

Possible improvements:

  • Shrink that whitespace on the left side of accounts list (a fraction would do)
  • increase default width of accounts list
  • I think a splitter would make sense, we can add min-width to the settings panel on the right; maybe max-width on the list to not be more than 30% of window width.
  • There's more whitespace on the right side of settings and most screens are wide these days, so whichever way of giving the account list more width should work.
  • Please increase the width of the account name input box!

Richard, anything we can do to improve this along the improvements proposed in my comment 0? Needlessly truncated account names in account manager's main list aren't nice, even error-prone when you have similar account names.

Flags: needinfo?(richard.marti)

(In reply to Thomas D. (:thomas8) from comment #0)

Possible improvements:

  • Shrink that whitespace on the left side of accounts list (a fraction would do)
    The content max width was set to 800px to be inline with the prefs.
  • increase default width of accounts list
    On Daily this is now dynamic.
  • Please increase the width of the account name input box!
    This can be done easily.

Alessandro, what do you think about the content width?

Flags: needinfo?(richard.marti) → needinfo?(alessandro)

We fixed the majority of this problems on daily with the new treelist custom element, like Richard said.

I think a splitter would make sense

We can consider implementing a splitter as I think it will offer a fix for any possible scenario, but we shouldn't implement a XUL splitter since we're working very hard to remove all XUL elements, and the new account manager list was replaced with the new element.
We should wait for this after bug 1729386 lands.

Alessandro, what do you think about the content width?

We shouldn't increase it as the settings are kept in a narrow column for obvious readability reasons.
Letting all that content spread across the full screen will make things pretty hard to read.

Flags: needinfo?(alessandro)

(In reply to Richard Marti (:Paenglab) from comment #2)

Richard, please add empty lines after every quote, especially when the quote has bullets. Your reply got mangled with my quotes.

(In reply to Thomas D. (:thomas8) from comment #0)

Possible improvements:

  • Shrink that whitespace on the left side of accounts list (a fraction would do)

The content max width was set to 800px to be inline with the prefs.

I was talking about shrinking the whitespace margin on the left side of accounts list, which is unnecessarily big (which is a disadvantage on small screens or TB shown half-screen).

  • increase default width of accounts list

On Daily this is now dynamic.

Without a sanity check :-/ So if I happen to have one longer account name, the entire UI gets exploded. Hmm....
We should also uplift something to 91 asap, this is quite a nuisance.
A splitter is really needed. Splitter custom element (bug 1729386) is great, but not ready. Imho we shouldn't make our users suffer longer with this - even a XUL splitter will do if that speeds up the fix, I'd think that's something like 3 lines of code, no?

  • Please increase the width of the account name input box!

This can be done easily.

Do you want to do it here?

(In reply to Thomas D. (:thomas8) from comment #4)

A splitter is really needed. Splitter custom element (bug 1729386) is great, but not ready. Imho we shouldn't make our users suffer longer with this - even a XUL splitter will do if that speeds up the fix, I'd think that's something like 3 lines of code, no?

Any such ships sailed a long time ago. A fix couldn't even be beta tested anymore, and overall focus should now be on the next release rather than tiny issues in 91.

Attached patch 1665191-account-field.patch (obsolete) — Splinter Review

Made the server name field flexing and made that all sub pages show the same max width. The encryption, IM and SMTP pages where a bit wider than the others because the padding didn't apply at the same places.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9242495 - Flags: review?(alessandro)
Comment on attachment 9242495 [details] [diff] [review]
1665191-account-field.patch

Review of attachment 9242495 [details] [diff] [review]:
-----------------------------------------------------------------

Nice fix, with a little nit addressed.
Also, please update the commit message to add "...in the Account manager tab" at the end.

::: mail/themes/shared/mail/accountManage.css
@@ +19,4 @@
>  #containerBox {
>    max-width: 800px;
> +  padding-block: 40px;
> +  padding-inline: 24px 28px;

This also needs width: 100%; as some sections seem to ignore the `flex="1"` attribute, and they look narrower than others.
Not sure why.
Attachment #9242495 - Flags: review?(alessandro) → review+

I agree with Magnus in comment 5, and the fixes done by Richard are very minor but good.
We can focus on something more "drastic" for the next ESR as 91 currently offer better UI and usability in this area compared to 78, so a splitter is not needed for now.

Attached patch 1665191-account-field.patch (obsolete) — Splinter Review

Added the width: 100;. This now also needed to make the server name text field flexing more to fit the width.

Attachment #9242495 - Attachment is obsolete: true
Attachment #9242529 - Flags: review+
Target Milestone: --- → 94 Branch

Forgot a qrefresh.

Attachment #9242529 - Attachment is obsolete: true
Attachment #9242538 - Flags: review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/bfd1d0ce1a92
Make the Account name field wider in the Account manager tab. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

[Approval Request Comment]
User impact if declined: smaller text fields that don't always show the full content
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): should be low

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

[Approval Request Comment]
User impact if declined: smaller text fields that don't always show the full content
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): should be low. The SelectedItem wasn't used now.

Attachment #9242838 - Flags: approval-comm-esr91?

Comment on attachment 9242837 [details] [diff] [review]
1665191-account-field-beta.patch

[Triage Comment]
Approved for beta

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

Comment on attachment 9242838 [details] [diff] [review]
1665191-account-field-ESR.patch

[Triage Comment]
Approved for esr91

Attachment #9242838 - Flags: approval-comm-esr91? → approval-comm-esr91+

Verified in my test of the 91.2 release candidate on Windows 10.

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

Attachment

General

Created:
Updated:
Size: