When I selected "Google" from the Locate... drop-down, I got this message:
ASSERT: *** Search: called nsISearchEngine::addParam on a read-only engine!
Stack Trace:
0:ENSURE_WARN(false,called nsISearchEngine::addParam on a read-only
engine!,2147500037)
1:SRCH_ENG_addParam(pmid,,text/html)
2:addParam(pmid,,text/html)
3:(Google,[object Object],[object Object])
4:onLocateClick([object XULCommandEvent])
5:oncommand([object XULCommandEvent])
The search proceeded normally nonetheless. As a polish issue, you
could probably get rid of the "Toggle" button in the Locate preference
pane, since it is simply replicating the checkbox column's function.
I'll keep playing with this and see what else I can offer. In general,
it seems to work, and the patch applied cleanly to my SVN checkout of
the trunk.
- Avram
Very exciting stuff! I'm delighted to see this code in action and have a little feedback.
I get the same error and results as Avram, running the latest Zotero trunk patched on Firefox 3.6.12. I'm sure Dan will have more helpful comments regarding the new Locate preferences and other things, but one issue I noticed is that the minus (-) button on the pane's right doesn't seem to do what one would expect. It only disables engines, which seems to duplicate what one can do via the toggle button. Should this button remove engines, or maybe the button itself should be removed?
It looks like the original "Library Lookup" and "Wayback Machine" engines have been removed. Do we need to rework those as standard Firefox search engines to reimplement them?
Best regards,
Sean
> --
> You received this message because you are subscribed to the Google Groups "zotero-dev" group.
> To post to this group, send email to zoter...@googlegroups.com.
> To unsubscribe from this group, send email to zotero-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/zotero-dev?hl=en.
>
For reference, this is Issue 716 in Trac
(https://www.zotero.org/trac/ticket/716). I went ahead and added the
patch to that ticket.
If you have Trac access, you may want to assign that issue to
yourself. Still, it's probably better to keep discussion of the patch
here on zotero-dev, since few people will receive bugmail for the
issue.
- Avram
2010/11/1 Sean Takats <sta...@gmu.edu>:
We still need some feedback from Dan on UI integration and whatnot;
between this and the multilingual branch, the preferences are getting
pretty cramped.
Avram
2010/11/20 mike <saidth...@gmail.com>:
I haven't had a chance to review the patch yet�I'll try to get to that
soon�but I thought we agreed that customization for this would be
handled as with Firefox search engines, where you access the management
pane from the bottom of the drop-down. Is that not the case for this?
(Apologies if I've missed some discussion of this.)
The preferences are full enough (and there will be enough future demands
for space there) that having this in its own window should be
sufficient. There's no real need to access it any other way.
- Dan