Closed Bug 1691129 Opened 3 years ago Closed 3 years ago

Task list: Priority icon (!) in column header horizontally misaligned with priority icons in the list

Categories

(Calendar :: Calendar Frontend, defect, P3)

Thunderbird 78

Tracking

(thunderbird_esr78+ verified, thunderbird86+ verified)

VERIFIED FIXED
87 Branch
Tracking Status
thunderbird_esr78 + verified
thunderbird86 + verified

People

(Reporter: tzhu07, Assigned: Paenglab)

Details

Attachments

(5 files)

Attached image icons-alignment.png —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36

Steps to reproduce:

Simply have the Today Pane open on the right side, with the list of tasks in view. Look at the priority icons (e.g. exclamation mark, arrows, etc).

Actual results:

The icons are not horizontally aligned. There's about a 2-3 pixel shift between the exclamation icon in the header, and the icons listed below for each task entry.

Expected results:

I expect the priority icons to be horizontally aligned with no pixel shift.

Wfm on Win10, 78.7.0 (64-bit), but reported against Mac I believe...

tzhu07, can you confirm your OS and the exact TB version on which you have seen this?

Also, "Click here to add a new task" is in a non-default position, below the list. Are you using addons?

Does this little issue occur after ≡ > Help > Restart with Add-ons Disabled…?

Flags: needinfo?(tzhu07)
Summary: Task list contains priority icons that are horizontally misaligned → Task list: Priority icon in list header horizontally misaligned with priority icons in the list
Severity: -- → S4
Summary: Task list: Priority icon in list header horizontally misaligned with priority icons in the list → Task list: Priority icon (!) in list header horizontally misaligned with priority icons in the list

My OS is Windows 10, version 20H2, build 19042.746.

Exact TB version is 78.7.1 (32-bit).

I'm not using any addons that would affect the layout. My screenshot is taken from the Today Pane, which is a minified version of the task list. Restarting with addons disabled doesn't fix the issue.

Your screenshot is taken from the Tasks tab, so if you want to compare apples to apples, the issue still exists on my end. See my screenshot "still-misaligned".

Flags: needinfo?(tzhu07)
Attached image still-misaligned.png —

I can confirm this, it happens also on Linux.
The wrong alignment is related to the icon used in the column header.
Richard, would you be able to take care of this?

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(richard.marti)
Priority: -- → P3
Summary: Task list: Priority icon (!) in list header horizontally misaligned with priority icons in the list → Task list: Priority icon (!) in column header horizontally misaligned with priority icons in the list
Component: Untriaged → Calendar Frontend
Product: Thunderbird → Calendar
Version: 78 → Thunderbird 78

This fixes it for me. Linux is a bit special as the different Linux themes can style the column header differently. On Ubuntu it's for me aligned correctly.

Additionally I found that the main tree attachment icon on Linux wasn't correctly aligned. Now it should be.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(richard.marti)
Attachment #9201601 - Flags: review?(alessandro)
Comment on attachment 9201601 [details] [diff] [review]
1691129-align-priority-icon.patch

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

Looks good, thanks
Attachment #9201601 - Flags: review?(alessandro) → review+
Target Milestone: --- → 87 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/81f6f1389cf3
Align the priority column header icon with the icon in the tree. r=aleca

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

Comment on attachment 9201601 [details] [diff] [review]
1691129-align-priority-icon.patch

[Approval Request Comment]
User impact if declined: Not well aligned tree column header icon
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9201601 - Flags: approval-comm-esr78?
Attachment #9201601 - Flags: approval-comm-beta?

Comment on attachment 9201601 [details] [diff] [review]
1691129-align-priority-icon.patch

[Triage Comment]
Approved for beta

Attachment #9201601 - Flags: approval-comm-beta? → approval-comm-beta+
Attached image still-offset.png —

Not fixed in TB 86.0b3 on Win10.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

It appears to have fixed itself after a restart.
TB 86.0b3 on Windows 10

Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED

Comment on attachment 9201601 [details] [diff] [review]
1691129-align-priority-icon.patch

[Triage Comment]
Approved for esr78

Attachment #9201601 - Flags: approval-comm-esr78? → approval-comm-esr78+

Works for me in my tests of the 78.8.0 release candidate on Fedora 33 Workstation and Windows 10.

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

Attachment

General

Creator:
Created:
Updated:
Size: