Add/Edit Citation dialog not in front
When I add or edit a citation using the OpenOffice plugin, the Add/Edit Citation dialog appears behind the OpenOffice window; I have to click on the corresponding item in the GNOME panel to move the dialog to the front so I can use it. I'm using Zotero 1.0.7 with Firefox 3 on Linux. This problem appeared a few versions ago, but I can't remember exactly when.
https://help.ubuntu.com/community/Zotero#Window management for the OOo extension
I've always needed to use the kind of window rules described in the instructions linked above, or at least, I made rules and then never bothered to turn them off.
BTW, if you're using Metacity rather than Compiz and want to try the devilspie method, I can post the configuration file I used to use. I've been using Compiz for a while now, and when I tried my old devilspie rules recently, they didn't work right for some reason. That's why they aren't in the wiki. But if you like, you could take them as a starting point.
So, if you are using visual effects, then you are using Compiz. Technically, you are using Metacity too. However, when visual effects are enabled, Compiz is responsible for window management, not Metacity. Or better, Metacity is integrated into Compiz.
Anyway, in the event that you'd like to use the workaround I proposed while using visual effects, you'd need the rules for Compiz, if you're using Ubuntu. If you're not, maybe it works differently in the distro you are using.
I can't say anything about whether this is a bug or not, of course. That's up to the developers, and I hope that posting a workaround wouldn't keep them from responding to the situation.
Anyway, there's a workaround if you like. I'll let the Zotero developers take it from here.
However, it's caused a new problem. Now, when I have a normal Firefox browser also open, underneath the OpenOffice window, clicking on the Zotero Add Citation button not only brings up the Add/Edit Citation dialog, it additionally brings up the Firefox window over the top of OpenOffice. Has anyone else had this problem, and if so, is there a way of fixing it?
In the latest 1.0 dev build, I've restored the use of a popup on Linux. I've also added an integration.realWindow hidden pref (in about:config) to force the use of a real window for those who've used a workaround (or who have monitors large enough to be able to position the window off to the side).
If you're using the 1.0 dev builds, let me know if you run into any problems with this change.
Unfortunately, using a popup on Linux renders the window inaccessible. The real window on Linux also appears not to remember its position (as it does on OS X). A future version of Zotero may offer a better solution, but in the meantime the Visual Effects workaround above (which I haven't tried) may be the best option.
http://forums.zotero.org/discussion/4854/handling-legislationstatutes-outside-the-us/?Focus=20963#Comment_20963
#install devilspie
sudo aptitude install devilspie
#create an devilspie directory in your home folder
mkdir ~/.devilspie
#create a devilspie window profile for Add/Edit citation (use the editor of your choice)
gedit ~/.devilspie/addedit.ds
#in the editor window paste
(if
(and
(is (application_name) "Add/Edit Citation")
(is (window_name) "Add/Edit Citation")
)
(begin
(center)
(above)
)
)
save the file and you should be done.