Closed Bug 664911 Opened 15 years ago Closed 8 years ago

redrawing nested bookmark folders is very slow

Categories

(Toolkit :: Places, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: niektory, Unassigned)

Details

(Keywords: perf, Whiteboard: [2012 Fall Equinox])

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20110608 Firefox/4.0.1 SeaMonkey/2.1 Build Identifier: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20110608 Firefox/4.0.1 SeaMonkey/2.1 All operations requiring redrawing of the bookmark list (scrolling, resizing the window, hovering over the bookmarks in the Sidebar etc.) become much slower the deeper the bookmarks are nested in the displayed tree. It happens in both the Bookmarks Manager and the Sidebar. You can work around the issue in the Bookmarks Manager by viewing just a part of the tree. The Sidebar, however, always shows the whole tree. Reproducible: Always Steps to Reproduce: 1. Open the Bookmarks Manager. 2. Create a deeply nested bookmark folder (Folder1 containing Folder2 containing Folder3 and so on). 3. Add a lot of bookmarks to the deepest folder. This can be quickly done by copy&pasting multiple bookmarks. 4. Select the folder you added the bookmarks to in the left pane tree. Try scrolling the bookmark list on the right side of the window. 5. Select All Bookmarks in the left pane tree and expand the tree on the right using the [+] icons. Try scrolling the list again. Actual Results: Scrolling the list in step 5 causes long delays while in step 4 it's fluid. Expected Results: Step 5 should be as fluid as step 4.
Version: unspecified → SeaMonkey 2.1 Branch
Is this still reproducible with current SeaMonkey versions?
Whiteboard: closeme WFM 2012-05-01
(In reply to Phoenix from comment #1) > Is this still reproducible with current SeaMonkey versions? Yep, still there in Mozilla/5.0 (Windows NT 5.2; WOW64; rv:11.0) Gecko/20120312 Firefox/11.0 SeaMonkey/2.8 Attached some profile data, I don't know if it's useful.
Can you also check latest nightly version from http://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/latest-comm-central-trunk/seamonkey-2.11a1.en-US.win32.zip ? Just unpack it to separate folder and run
Same in the nightly: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:14.0) Gecko/20120404 Firefox/14.0a1 SeaMonkey/2.11a1 I also noticed it's only slow at the top of the bookmark list - the further I scroll the faster it gets.
Version: SeaMonkey 2.1 Branch → Trunk
niektory?
Whiteboard: closeme WFM 2012-05-01 → closeme WFM 2012-05-15
Sorry for the delay. I've tried the steps, the problem persists. I should also say that the bug was introduced in SM 2.1, SM 2.0 worked great.
Ok, last idea, go to about:config, set gfx.direct2d.disabled and layers.acceleration.disabled to false and see does performance improves
They were false by default. Setting them to true didn't change anything.
same issues are present in Firefox too!! maybe SM just took it from there? my university students do lot of research and end up well over 1k book marks(yes 1k) all in nested format(even upto 21 sub-folders) FF & SM get too slow
(In reply to magnumarchonbasileus from comment #11) > same issues are present in Firefox too!! > maybe SM just took it from there? > > my university students do lot of research and end up well over 1k book > marks(yes 1k) all in nested format(even upto 21 sub-folders) > FF & SM get too slow Forgot to mention Linux is the OS they work on
> same issues are present in Firefox too!! > maybe SM just took it from there? We use the same bookmarks backend (we call it "Places") so having the same issues as Firefox is not unexpected. Try installing this extension in to Firefox: https://addons.mozilla.org/addon/vacuum-places-improved/ And vacuuming the "Places" database (history/bookmarks).
Whiteboard: closeme WFM 2012-05-15
niektory, does something change with current SeaMonkey versions? Also, can you check is problem reproducible for you in Firefox too? Create new profile for it and put places.sqlite from SeaMonkey profile there
Whiteboard: [2012 Fall Equinox]
No change in SM 2.15a1 nightly, still slow. I checked Firefox 15.0.1 and the problem did not occur there, works nice and fast.
Can you share your places.sqlite file?
Attached places.sqlite
Okay, I manage to reproduce this in both Firefox and SeaMonkey, attaching data from Gecko Profiling Add-on, according to it 33% of time is spended in ntdll.dll (KiFastSystemCallRet) Steps to reproduce problem: 1) Put attached places.sqlite file into profile folder 2) Start browser, open Bookmarks manager, navigate to last folder and select all bookmarks Expected results: Bookmarks selected instantly Actual results: Browser hangs for a couple of seconds fully consuming one cpu core Additional information: SeaMonkey prompt to stop script processing in components/nsTaggingService.js:277 and components/nsTaggingService.js:312
Status: UNCONFIRMED → NEW
Component: Bookmarks & History → Places
Ever confirmed: true
Product: SeaMonkey → Toolkit
Keywords: perf
Priority: -- → P5
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: