zotero://select URLs don't always select
(Using Zotero 2.1.1 / Firefox 3.6.16 / Mac OS X 10.6.6. Tested with a blank profile with no add-ons but Zotero installed, using some test items in a local library.)
There appear to be two bugs here; I'm reporting them together as they're apparently so closely related. Behaviour depends on the two different settings for "Preferences->General->User Interface->Load Zotero in:".
The first one is less of a problem. If I set that preference to "In pane mode", close any Zotero chrome (so there's no pane/tab) and restart Firefox, then open a new tab with Apple-T and paste a Zotero select URL (zotero://select/items/0_5ZIPIBEF) then the Zotero pane opens but the item isn't highlighted/selected ("No items selected"). If I then close the pane and close the tab, and again open a new tab and paste the URL, then the pane pops up as it should and the item is selected (and continues to work across further repeats of this). So it appears select URLs fail in pane mode the first time, but work after that even if the pane is closed when the URL is accessed. I would expect it to work the first time as well.
If I set that preference to "Separate tab", close Zotero (so there's no pane/tab) and restart Firefox, then open a new tab with Apple-T and paste a Zotero select URL then a second tab opens for Zotero but the item isn't highlighted/selected ("No items selected"). Closing the Zotero tab and select URL tab and repeating still results in "No items selected". If I leave the Zotero tab open, go back to the URL tab and hit Enter again, nothing /appears/ to happen (perhaps the Zotero tab should gain focus!) but if I manually switch to the Zotero tab then the item is correctly highlighted. I would expect accessing a select URL to work whether or not the Zotero tab is already open, and I'd also expect it to either focus the Zotero tab or (perhaps better) load Zotero in the tab I've accessed the select URL in.
There appear to be two bugs here; I'm reporting them together as they're apparently so closely related. Behaviour depends on the two different settings for "Preferences->General->User Interface->Load Zotero in:".
The first one is less of a problem. If I set that preference to "In pane mode", close any Zotero chrome (so there's no pane/tab) and restart Firefox, then open a new tab with Apple-T and paste a Zotero select URL (zotero://select/items/0_5ZIPIBEF) then the Zotero pane opens but the item isn't highlighted/selected ("No items selected"). If I then close the pane and close the tab, and again open a new tab and paste the URL, then the pane pops up as it should and the item is selected (and continues to work across further repeats of this). So it appears select URLs fail in pane mode the first time, but work after that even if the pane is closed when the URL is accessed. I would expect it to work the first time as well.
If I set that preference to "Separate tab", close Zotero (so there's no pane/tab) and restart Firefox, then open a new tab with Apple-T and paste a Zotero select URL then a second tab opens for Zotero but the item isn't highlighted/selected ("No items selected"). Closing the Zotero tab and select URL tab and repeating still results in "No items selected". If I leave the Zotero tab open, go back to the URL tab and hit Enter again, nothing /appears/ to happen (perhaps the Zotero tab should gain focus!) but if I manually switch to the Zotero tab then the item is correctly highlighted. I would expect accessing a select URL to work whether or not the Zotero tab is already open, and I'd also expect it to either focus the Zotero tab or (perhaps better) load Zotero in the tab I've accessed the select URL in.
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.