Closed
Bug 1036929
Opened 10 years ago
Closed 6 years ago
Panel animations are slower on Mac than they are on Windows
Categories
(Toolkit :: UI Widgets, defect, P4)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: phlsa, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qx] )
When I compare the panel animations in Nightly on Mac and on any of my Windows VMs, the Mac version is noticeably less smooth, even though Windows is slowed down by running inside a VM. I wonder if we can achieve the same performance on Mac as we have on Windows.
Comment 1•10 years ago
|
||
The panel shadow can probably be blamed for this, at least partly. On Mac we don't hardware accelerate panels (windows of type "popup") because their shadow is shaped around the panel content, and if we use OpenGL to render the window contents we lose the dynamic shaping ability. But this is only the case if the window server draws the shadow - if we instead set -moz-window-shadow:none; and drew our own shadow (with box-shadow, for example), we could enable hardware acceleration for the panel and the animation should be much smoother.
Reporter | ||
Comment 2•10 years ago
|
||
This has gotten quite a bit worse with Yosemite. Now the animations aren't just slower, the panel shadow appears first without any animation and then the panel expands. Plus, there's often a »blink« at the end of the transition where the panel disappears for a split second (but not the shadow) and then reappears. Markus, how do you see the chances of this getting attention? Apple is usually pretty fast in converting their user base to new OS versions.
Flags: needinfo?(mstange)
Whiteboard: [qx]
Comment 3•9 years ago
|
||
Yeah, it really does look hideous on Yosemite. I'll check what happens if we do our own drop shadow drawing and use GL acceleration for the panels, when I have time.
Assignee: nobody → mstange
Flags: needinfo?(mstange)
Comment 4•9 years ago
|
||
(Marking it as assigned, so that I can filter on unassigned bugs a little easier. ;)
Status: NEW → ASSIGNED
Reporter | ||
Comment 5•9 years ago
|
||
Hm, this got even worse in the last few Nightlies. I now only get about 2-3 frames of animation for panel opening. Sometimes there's no animation at all. Older versions of Firefox are slightly smoother. Markus, how is this doing priority-wise at the moment?
Flags: needinfo?(mstange)
Updated•8 years ago
|
Priority: -- → P4
Comment 7•8 years ago
|
||
Screencasts from bug 1252224: - attachment 8725764 [details] - attachment 8724895 [details]
Updated•8 years ago
|
Assignee: mstange → jaws
Flags: needinfo?(mstange)
Updated•7 years ago
|
Assignee: jaws → nobody
Status: ASSIGNED → NEW
Reporter | ||
Updated•7 years ago
|
Blocks: photon-perf-menus
Updated•6 years ago
|
Whiteboard: [qx] → [qx] [fxperf]
Reporter | ||
Comment 9•6 years ago
|
||
Nope! It seems to be fixed now!
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(philipp)
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Whiteboard: [qx] [fxperf] → [qx]
You need to log in
before you can comment on or make changes to this bug.
Description
•