Closed
Bug 337868
Opened 18 years ago
Closed 17 years ago
Implement result view for toolbar for dynamic updating
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
People
(Reporter: brettw, Assigned: enndeakin)
References
Details
Attachments
(1 file, 1 obsolete file)
16.38 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
The new HistoryResultView API allows the toolbar to be dynamically changed. Currently, the entire toolbar is rebuilt when anything on the toolbar changes, which can be really slow. Bug 337855 is doing the same thing for the bookmarks menu.
Comment 1•17 years ago
|
||
This is a work in progress patch for incrementally updating the toolbar. I'd like to get some feedback on whether I'm on the right track before digging in to fix the trickier bits. Note: currently onstartupdatebatch/onendupdatebatch is still getting called way too often, meaning that the changes here won't yet make much difference, but commenting out those functions will get you basic incremental updating.
Assignee: nobody → jminta
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•17 years ago
|
||
jminta, is this patch still being worked on? What still needs to be fixed?
Comment 3•17 years ago
|
||
Neil, The patch doesn't actually implement the result-view interface. Some of the changes to the internal function would probably be useful in doing that though. At this point my schedule looks pretty crappy for the next month, so I don't see getting to this in the near future. Anyone should feel free to jump in here.
Assignee | ||
Comment 4•17 years ago
|
||
Assignee: jminta → enndeakin
Attachment #258165 -
Attachment is obsolete: true
Comment 5•17 years ago
|
||
(In reply to comment #4) > Created an attachment (id=262682) [details] > implement toolbar updating > hi neil, is this a wip patch, or ready for review?
Assignee | ||
Comment 6•17 years ago
|
||
It can be reviewed, but I based it on your menu updating patch in bug 337855 which you asked mano about confirming the approach, so I had planned on waiting until then.
Comment 7•17 years ago
|
||
(In reply to comment #6) > It can be reviewed, but I based it on your menu updating patch in bug 337855 > which you asked mano about confirming the approach, so I had planned on waiting > until then. > > ok, thanks neil. mano said this approach is fine. can you ask him to review this, as he's spent much time in this code.
Assignee | ||
Updated•17 years ago
|
Attachment #262682 -
Flags: review?(mano)
Comment 8•17 years ago
|
||
Comment on attachment 262682 [details] [diff] [review] implement toolbar updating Nice, r=mano. Please file a bug on optimizing itemChanged though, it shouldn't need to re-create the DOM node.
Attachment #262682 -
Flags: review?(mano) → review+
Assignee | ||
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 9•17 years ago
|
||
Warning: reference to undefined property this._anno Source file: chrome://browser/content/places/toolbar.xml Line: 222 - this._anno.getAnnotationString(containerURI, "livemark/siteURI"); + PlacesUtils._annotations.getAnnotationString(containerURI, "livemark/siteURI");
Comment 10•17 years ago
|
||
after this bug landed _viewer.itemChanged only called after the tool bar button clicked (i.e. the container opened) once to test this try to change the title before you click the bookmark button on the toolbar > the title on the toolbar don't changed. now click on the bookmark button once and try again to change the title.
Comment 11•17 years ago
|
||
> to test this try to change the title before you click the bookmark button on
> the toolbar the title on the toolbar don't changed.
onemen.one, can you clarify the steps to reproduce this problem? i'm having problems reproducing what you are describing.
Comment 12•17 years ago
|
||
> Please file a bug on optimizing itemChanged though, it shouldn't > need to re-create the DOM node. neil logged bug #379591
Comment 13•17 years ago
|
||
(In reply to comment #11) > > to test this try to change the title before you click the bookmark button on > > the toolbar the title on the toolbar don't changed. > > onemen.one, can you clarify the steps to reproduce this problem? i'm having > problems reproducing what you are describing. > 1. open Firefox. 2. make sure your Bookmarks Toolbar is visible. 3. open Bookmarks Manager. 4. in Bookmarks Manager change the title for folder or livemark item. result: the item title changed in the Bookmarks Manager but didn't changed in the Bookmarks Toolbar. if you do step 4 after you'v open the folder from Bookmarks Toolbar its work well.
Comment 14•17 years ago
|
||
onemen.one, thanks for the steps. i was trying this with bookmark items, and not folders or livemarks. now I understand and I am able to reproduce this issue. I've spun this issue off to bug #380205.
Blocks: 380205
Comment 15•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•