Closed Bug 1695790 Opened 4 years ago Closed 4 years ago

Reduce motion of the new attachments notification based on the toolkit.cosmeticAnimations.enabled pref

Categories

(Thunderbird :: Message Compose Window, enhancement)

enhancement

Tracking

(thunderbird_esr78 wontfix, thunderbird87 wontfix)

RESOLVED FIXED
88 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird87 --- wontfix

People

(Reporter: aleca, Assigned: Paenglab)

References

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

The new counter animation to highlight a successful attachment is nice, but it might be annoying and damaging for users that set the pref toolkit.cosmeticAnimations.enabled to false.

Keywords: access

I don't think we should use toolkit.cosmeticAnimations.enabled as this seems to be deprecated, see Bug 1640501 and his meta bug 1478597.

Better would be to use the media query for prefers-reduced-motion.

Something like this?

Assignee: alessandro → richard.marti
Status: NEW → ASSIGNED
Attachment #9206378 - Flags: review?(alessandro)
Comment on attachment 9206378 [details] [diff] [review] 1695790-disable-new-attachment-animation.patch Review of attachment 9206378 [details] [diff] [review]: ----------------------------------------------------------------- This is great, thanks for taking care of it. ::: mail/themes/shared/mail/messengercompose.css @@ +264,5 @@ > margin-inline-end: -29px; > opacity: 0; > } > > +@media (prefers-reduced-motion: no-preference) { Can we also add here this little snippet? #attachmentToggle { transition: transform 200ms ease; } A tiny animation for the rotating twisty, what do you think?
Attachment #9206378 - Flags: review?(alessandro) → review+

Added the #attachmentToggle animation.

Attachment #9206378 - Attachment is obsolete: true
Attachment #9206427 - Flags: review+
Target Milestone: --- → 88 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d2549cb67cb8
Don't show the add attachment animation when prefers-reduced-motion is set. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: