Closed Bug 1651472 Opened 4 years ago Closed 4 years ago

Polish contacts sidebar AB selector focus ring (double/duplicate border), rectify AB context menu button layout

Categories

(Thunderbird :: Theme, defect)

defect

Tracking

(thunderbird_esr78 fixed, thunderbird79 fixed)

RESOLVED FIXED
Thunderbird 80.0
Tracking Status
thunderbird_esr78 --- fixed
thunderbird79 --- fixed

People

(Reporter: thomas8, Assigned: Paenglab)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1643159 +++

Seen on Win10 / Daily 80.0a1 (2020-07-07) (64-bit)
Haven't checked if Beta is affected.

Contacts side bar seems to be a moving target. Some odd layout details need polishing again (see attached screenshot).

  • AB selector focus ring is bigger than the text box, resulting in double border when focused. Please shrink the focus ring to match the non-focused size of the dropdown selector. Grow-on-focus is quite odd when clearly not intentional.
  • AB context menu button (≡) has an unwanted border when not focused, and the entire button seems to have changed in dimensions and now looks disproportionate (too slim, too high).

Also (probably as a result of the increase in context menu button height), 'Address Book' selector label is now too far away from its dropdown box.

No longer blocks: 1647479

The abContextMenuButton issues are fixed in bug 1650791.

I'm assuming 78 is affected. If that is not the case, please remove tb78=affected

Severity: -- → S4
Keywords: regression

(In reply to Wayne Mery (:wsmwk) from comment #3)

I'm assuming 78 is affected. If that is not the case, please remove tb78=affected

I have just checked 78.0b4 (32-bit) and it is minimally affected:

  • Upon focusing, the height of the AB selector increases, i.e. the focus ring makes the input grow bigger (which is odd).
  • Double border not seen, but one px white inside offset which looks wrong.
  • The AB context menu button looks regular.

This should fix both issues: the spacing and on Windows the focus on menulists. I changed from outline to border. Somehow the outline wasn't painted over the border on menulists under Windows.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9163823 - Flags: review?(alessandro)
Comment on attachment 9163823 [details] [diff] [review]
1651472-AbPickerHeader-spacing.patch

redirecting this review to Richard as I'm slightly overwhelmed at the moment, sorry 😅️
Attachment #9163823 - Flags: review?(alessandro) → review?(richard.marti)
Comment on attachment 9163823 [details] [diff] [review]
1651472-AbPickerHeader-spacing.patch

I can't review my own patch.

Asking Thomas for feedback on Windows.
Attachment #9163823 - Flags: review?(richard.marti)
Attachment #9163823 - Flags: review?(alessandro)
Attachment #9163823 - Flags: feedback?(bugzilla2007)

Oh my God, so sorry, I don't know how but I saw the patch coming from Thomas.
I'll see if I can review it later.

Comment on attachment 9163823 [details] [diff] [review]
1651472-AbPickerHeader-spacing.patch

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

This looks good.
One addition I'd like to make is to add the highlight colour for the outline on `#abContextMenuButton:-moz-focusring`, and the related macos variation.
Right now the dashed outline is super black when the focus moves on top of that button, which is inconsistent with the outline colour we're using for the close buttons of the addressing rows.
Attachment #9163823 - Flags: review?(alessandro)
Attachment #9163823 - Flags: review+
Attachment #9163823 - Flags: feedback?(bugzilla2007)
Attachment #9163823 - Flags: feedback?

Removing the outline on normal buttons also removed the correct outline colour for the abContextMenuButton.

Thomas, this will land soon on c-c and you can check it there.

Attachment #9163823 - Attachment is obsolete: true
Attachment #9163823 - Flags: feedback?
Attachment #9164017 - Flags: review+
Target Milestone: --- → Thunderbird 80.0
Comment on attachment 9164017 [details] [diff] [review]
1651472-AbPickerHeader-spacing.patch

[Approval Request Comment]
Regression caused by (bug #): One of my themeable dialog bugs
User impact if declined: too narrow button under Windows
Testing completed (on c-c, etc.): soon on c-c
Risk to taking this patch (and alternatives if risky): low
Attachment #9164017 - Flags: approval-comm-esr78?
Attachment #9164017 - Flags: approval-comm-beta?

Pushed by richard.marti@gmail.com:
https://hg.mozilla.org/comm-central/rev/5862e0f05332
Fix the spacing in AbPickerHeader. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Comment on attachment 9164017 [details] [diff] [review]
1651472-AbPickerHeader-spacing.patch

Approved for beta
Attachment #9164017 - Flags: approval-comm-beta? → approval-comm-beta+
Comment on attachment 9164017 [details] [diff] [review]
1651472-AbPickerHeader-spacing.patch

Approved for esr78
Attachment #9164017 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: