Closed Bug 1189103 Opened 10 years ago Closed 10 years ago

Remove the svg shadow on the icons while we figure out a better solution

Categories

(Firefox OS Graveyard :: Gaia::System::Task Manager, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S4 (07Aug)

People

(Reporter: etienne, Assigned: etienne)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

Sam recently did some profiling and this shadow is costly. Very costly. I think we should go ahead and simply remove it while we work toward a good enough task manager. Once we have good performance we'll investigate adding it back with a canvas. But I feel pretty strongly that the first step here is to get the performance under control.
Blocks: 1186931
Attachment #8640767 - Flags: ui-review?(fdjabri)
Attachment #8640767 - Flags: review?(sfoster)
Comment on attachment 8640767 [details] [review] [gaia] etiennesegonzac:bug-1189103 > mozilla-b2g:master Thinking about this, I'm worried that we'll back ourselves into a corner if we just remove the shadows at this point. As it stands, this patch creates a false baseline. Unless we redesign, we do need the shadows and we'll have to add them back - presumably using canvas. At that point we'll need to justify the performance regression that will cause (hopefully substantially less than the SVG approach). So either we should provide an alternative implementation in this bug, or file a blocking bug to put them back and meantime instrument the code so we can make informed UX decisions regarding the real cost of this vs. future implementations. We should also link in before & after profiles that capture the problem and demonstrate the saving this change brings to inform UX' decision.
Attachment #8640767 - Flags: review?(sfoster)
This may become a non-issue with the task manager redesign - let's see what the visual directions are from Eric. I would say responsiveness would trump the visual appearance - but I'm happy evaluate the performance of taking an alternative approach to the implementation, should we need to do so.
Comment on attachment 8640767 [details] [review] [gaia] etiennesegonzac:bug-1189103 > mozilla-b2g:master Thanks Francis. In this light, I'd like to push for this patch again :)
Attachment #8640767 - Flags: review?(sfoster)
(In reply to Etienne Segonzac (:etienne) from comment #4) > Comment on attachment 8640767 [details] [review] > [gaia] etiennesegonzac:bug-1189103 > mozilla-b2g:master > > Thanks Francis. > In this light, I'd like to push for this patch again :) To be clearer: regardless of the new visual direction I think we should make the current task manager as fast as possible for 2.5.
Comment on attachment 8640767 [details] [review] [gaia] etiennesegonzac:bug-1189103 > mozilla-b2g:master Yep, agreed. Also note that if we adopt the web component for displaying icons (currently in use for the new homescreen and being implemented in appchrome as we speak) that implements all the icon decoration through use of a canvas, so we'll be covered there.
Attachment #8640767 - Flags: review?(sfoster) → review+
Assignee: nobody → etienne
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [systemsfe]
Target Milestone: --- → FxOS-S4 (07Aug)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: