Closed Bug 625407 Opened 14 years ago Closed 13 years ago

[Extension] Slow bookmarking with 1.6.1 enabled

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tracy, Assigned: rnewman)

References

Details

(Keywords: regression)

As reported in the forum bookmarking via the star UI is slow with 1.6.1 enabled.  Confirmed on Mac 3.6.13 with 1.6.1 and same on XP

STR:
1) Have Fx sync 1.6.1 enabled (it doesn't even have to be connected)
2) Open any page that is not bookmarked already (if it is remove it)
3) Click the white star in the awesomebar

Tested results:
The star flashes to colored, immediately goes white for 3-5 second then changes to colored, finally make the page bookmarked.  While the star UI is white, there is no response from it.

expected results:
The Star UI doesn't flash and go white, but simply updates to colored immediately, indicating the page is bookmarked.

This is a regression from 1.5.1, it works fine there.  It does not occur on trunk or beta.
Tracy, how many bookmarks did you test with? (And what folder hierarchy?) Interested to see if this is a volume-related issue.
I am not sure how many I have 400-500, it is my robust everyday use profile. But I can confirm not seeing it with a fresh/default profile.

I keep most bookmarks in the unsorted folder plus a few dozen in folders on the toolbar and oh and a bunch more have collected in folders in the bookmarks menu. That last set mostly from imports or syncing up with various locales
So this only occurs on Firefox 3.5/3.6, not with Minefield?
I didn't try to 1.6.1 install on minefield.
(In reply to comment #4)
> I didn't try to 1.6.1 install on minefield.

Please don't. It's not meant to be installed there. My question was: does this problem only occur on Firefox 3.5/3.6 + Sync 1.6.1 whereas 3.5/3.6 + 1.5.x as well as Minefield with built-in Sync are fine?
(In reply to comment #5)
> My question was: does this
> problem only occur on Firefox 3.5/3.6 + Sync 1.6.1 whereas 3.5/3.6 + 1.5.x as
> well as Minefield with built-in Sync are fine?

That is correct.
I'm going to try to repro this.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
With a clean profile, there's an instantaneous flicker of the star when you click it. Brief, but it's there.

By adding progressively more bookmarks to Unsorted Bookmarks, up to 155 items, I was able to gradually increase the duration of the flicker.

My guess, without yet diving deeply, is that recomputing the children anno when you add a bookmark takes longer and longer as the number of children increases. On 3.x it appears that doing so is a blocking operation for the browser; the flicker is presumably because the callback has not returned yet.
Pretty sure that's it. Philipp is about to land a change that eliminates the children annotation, which might solve this problem. Will check as soon as that happens.
Depends on: 623418
Tracy, could you verify whether this still occurs in 1.6.2?
User reported that this is fixed in 1.6.2.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
veridied with 1.6.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.