Closed Bug 843263 Opened 12 years ago Closed 12 years ago

Lag when switching homescreen pages (pin app pages in memory)

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 842218

People

(Reporter: cjones, Unassigned)

Details

STR (1) Go to clock page in homescreen (2) Swipe to the right to the first page with app icons There's a noticeable lag as gecko paints the first page of app icons. We can use some hackery to force gecko to think all the pages are visible and keep them pinned. mwu, ISTR you saying you had a patch for this. Do I remember correctly?
Flags: needinfo?(mwu)
I had a patch but it's gone now. However, the hack was pretty simple - in apps/homescreen/js/grid.js, I changed all instances of togglePagesVisibility(start, end); to togglePagesVisibility(start - 1, end + 1); so we always show the next and previous pages. The problem is the next and previous pages default to being positioned on the current page, so they all pile on top of each other until you move them out of the way.
Flags: needinfo?(mwu)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.