Closed
Bug 1476212
Opened 7 years ago
Closed 7 years ago
Notify SPI_SETCLIENTAREAANIMATION changes to all descendant documents
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Updated•7 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•7 years ago
|
||
I've started setting Windows environment. (Not finished yet, I've been seeing 'Getting Windows ready Don't turn off your computer' message for an hour..)
Assignee: nobody → hikezoe
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•7 years ago
|
||
Now I think I understand why calling NotifyThemeChanged() in the try in bug 1365045 comment 34 doesn't propagate the change into subframes. The reason is we use in MediaFeatureValuesChanged instead of MediaFeatureValuesChangedAllDocuments nsPresContext::RefreshSystemMetrics(). I wonder there is no system metrics affecting in subframes?
| Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8994743 [details]
Bug 1476212 - Notify the system setting change corresponding to prefers-reduced-motion.
https://reviewboard.mozilla.org/r/259268/#review266778
::: widget/windows/nsWindow.cpp:5320
(Diff revision 1)
> {
> if (wParam == SPI_SETKEYBOARDDELAY) {
> // CaretBlinkTime is cached in nsLookAndFeel
> NotifyThemeChanged();
> break;
> + } else if (wParam == SPI_SETCLIENTAREAANIMATION) {
Lets move this up with the SPI_SETKEYBOARDDELAY check, don't see why we need the extra else if block.
Attachment #8994743 -
Flags: review?(jmathies) → review+
| Assignee | ||
Comment 5•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8994743 [details]
Bug 1476212 - Notify the system setting change corresponding to prefers-reduced-motion.
https://reviewboard.mozilla.org/r/259268/#review266812
::: widget/windows/nsWindow.cpp:5320
(Diff revision 1)
> {
> if (wParam == SPI_SETKEYBOARDDELAY) {
> // CaretBlinkTime is cached in nsLookAndFeel
> NotifyThemeChanged();
> break;
> + } else if (wParam == SPI_SETCLIENTAREAANIMATION) {
Oh right, indeed. Thanks for the review!
| Comment hidden (mozreview-request) |
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c108e6f927d1
Notify the system setting change corresponding to prefers-reduced-motion. r=jimm
Comment 8•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•