Sorry Topic is a bit old.

I think that including folders in bookmark search API makes sense.
For example, I'm just finishing a little extension that creates loads
rss feeds into a bookmark folder on the bookmark bar to simulate the
feature that is available in firefox and IE8.

To keep track of what folder I'm modifying, I want to search for the
folder title.
It seems to make sense that if people are creating, moving or removing
folders using the bookmark api, they might want to search for folders
too.

Granted, my issue is overcome by having local storage for
extensions... but thats not the point.

I understand that chrome wants to be as nimble as possible, but given
the way bookmarks work and are stored, don't you actually have to
filter folders from the search?  The data structure is the same for
both a folder and a bookmark.  So why not make the API fully
featured?  Isn't one point of such an API that 3rd parties can do
things the original dev's didn't think of?

-Peter

On May 20, 5:54 pm, Aaron Boodman <[email protected]> wrote:
> On Tue, May 19, 2009 at 11:35 AM, jack <[email protected]> wrote:
> > Sorry for this late response. I was piled up in the past days. I did
> > some additional trials. It's quite random and it is hard to get unique
> > results.  But let's handle it one by one. I am attaching a sample
> > toolstrip.html file. For a clean test make sure your bookmark list is
> > empty.
>
> > When the page is loaded it will check the existence of a folder and
> > create it (together w/ an item) if needed. In my test, the item will
> > never be created in the folder. It will be either created in the
> > bookmark bar, or under the root folder, or not at all.
>
> > You can also click on the icon in the toolstrip to manually check the
> > folder. In this case, I got correct result in one machine, but random
> > (as aforementioned) in another machine (note this another machine is
> > using a different language version).
>
> > Also, a folder is never found by chrome.bookmarks.search(). It is easy
> > for you to test it so I didn't include it in the html file.
>
> Hi Jack, I can repro this. The problem is a race at startup. If you
> delay calling the APIs awhile, it would work correctly.
>
> I've created a bug for this, if you're 
> interested:http://code.google.com/p/chromium/issues/detail?id=12353
>
> As for searching for bookmark folders, I'm not sure we want to add it.
> If it wasn't for this weird use case of using the bookmark system as
> storage, I don't know if anybody would ever need that.
>
> Hopefully real storage appears soon, and we can use that instead.
>
> - a

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to