Open Bug 1409825 Opened 7 years ago Updated 2 years ago

Disable chrome animations when running in Power Saving mode on Windows.

Categories

(Firefox :: General, enhancement, P3)

Unspecified
Windows
enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix

People

(Reporter: bugzilla, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [reserve-photon-animation])

UI animations are very choppy when Windows is set to power saving mode. For a good example, expand the awesomebar.

I think it would be prudent to disable chrome animations for the duration that power saving mode is set.

Win32 provides both an API to query for the mode, as well as notifications when the mode changes. We can add that support to Widget as necessary.
Depends on: 1409869
Whiteboard: [photon-animation] [triage]
Priority: -- → P3
Whiteboard: [photon-animation] [triage] → [reserve-photon-animation]
Aaron, are you talking about https://msdn.microsoft.com/en-us/library/windows/desktop/aa373232(v=vs.85).aspx, the RegisterPowerSettingNotification function and associated GUID_POWER_SAVING_STATUS ?
Flags: needinfo?(aklotz)
If we are able to get a notification of some sort or check a property through JS, this will be fairly easy to do on the frontend since many of our animations are now guarded by a preference check for toolkit.cosmeticAnimations.enabled. We could simply add to the conditions wherever we do that check.
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #1)
> Aaron, are you talking about
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa373232(v=vs.85).
> aspx, the RegisterPowerSettingNotification function and associated
> GUID_POWER_SAVING_STATUS ?

Yeah. I have filed bug 1409869 to get that done on the platform side.
Flags: needinfo?(aklotz)
Depends on: 1352069
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.