Closed Bug 1419172 Opened 7 years ago Closed 7 years ago

attachment icon in compose window flickers on selection

Categories

(Thunderbird :: Message Compose Window, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 59.0

People

(Reporter: aceman, Assigned: Paenglab)

References

Details

(Keywords: polish)

Attachments

(1 file)

When there are attachments in the <attachmentlist> of the compose window and I click any of them, its icon visibly flickers and the icon gets a 'greyed out' effect to simulate selection, as also the attachment name gets selection highlight.
The flickering (as if icon gets removed and then redrawn) is ugly.
Blocks: 1419174
Attached patch Bug1419172.patchSplinter Review
This should fix the flickering when selecting7deselecting the attachmentitem. This patch also fixes bug 1419174 and bug 1419177.

On my system I haven't seen the flickering with this patch.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8930628 - Flags: review?(acelists)
Comment on attachment 8930628 [details] [diff] [review]
Bug1419172.patch

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

Thanks!
So Linux and Windows were missing the width & height attributes?

Why does only Linux need the imageFilters.svg#selected filter? I see it does a slightly lighter shade (grey out) than when the item is focused.
Do other platforms keep the icon greyed out in a different way?

The icon still flickers on first selection in compose window session, probably to load the filter in the svg. But on subsequent selections on any attachments there is no more flicker.
Attachment #8930628 - Flags: review?(acelists) → review+
The other platforms don't change the icons, the whole line, and not only the text, is selected.
Keywords: checkin-needed
Blocks: 1419177
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/2c76835b3e17
Stop the attachment icon's flickering when selecting/deselecting. r=aceman
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 59.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: