mgmeyers / obsidian-zotero-integration

Insert and import citations, bibliographies, notes, and PDF annotations from Zotero into Obsidian.
GNU General Public License v3.0
1.09k stars 55 forks source link

[BUG] Zotero 7 Beta: Citation Picker appears BEHIND Obsidian #348

Open ReaderGuy42 opened 8 months ago

ReaderGuy42 commented 8 months ago

I've gone back to Zotero 6 to make sure and it doesn't happen there, but in the current Zotero 7 Beta, if I try opening the Citation Picker, it opens behind the Obsidian window. With Zotero 6 it opens in front of Obsidian, as one would expect.

Thanks :)

FeralFlora commented 8 months ago

This is a duplicate of https://github.com/mgmeyers/obsidian-zotero-integration/issues/4, https://github.com/mgmeyers/obsidian-zotero-integration/issues/40, https://github.com/mgmeyers/obsidian-zotero-integration/issues/229, and https://github.com/mgmeyers/obsidian-zotero-integration/issues/280.

Luckily, there is a fix available for this issue, in the Config editor in Zotero. See this: https://github.com/mgmeyers/obsidian-zotero-integration/issues/4#issuecomment-1566690780

Most likely, you made that change in Zotero 6.

ZeyuSun commented 3 months ago

This does not fully solve the problem. The searchbar comes to the foreground but is out of focus, so I can't directly type. Many people reported the same issue: https://github.com/mgmeyers/obsidian-zotero-integration/issues/280#issuecomment-2165422340

interconnectedMe commented 1 month ago

This is a duplicate of #4, #40, #229, and #280.

Luckily, there is a fix available for this issue, in the Config editor in Zotero. See this: #4 (comment)

Most likely, you made that change in Zotero 6.

4 Comment does not fix for me unfortunately.

If I set extensions.zotero.integration.keepAddCitationDialogRaised to false, all I get is: "Awaiting item selection from Zotero..." (I have to alt-tab to get the Quick Format Citation window)

If I set extensions.zotero.integration.keepAddCitationDialogRaised to true, I get the Quick Format Citation window on top of everything else, but no cursor flashing in the text field, and it is not there why I Alt-Tab, so I have to manually click it with my mouse.

I thought the expected behaviour was just to be able to start typing to search zotero?

Is there something I'm missing?

Windows 10, Zotero 7, Obsidian 1.6.7 (installer 1.4.16, says it's up to date!) Also use Obsidian and Zotero on Windows 10 laptop, and KDE Neon. Can't recall if I have the same issues right now.

Rgds, Darren

px39n commented 3 weeks ago

Same

MathiasSven commented 3 weeks ago

Luckily, there is a fix available for this issue, in the Config editor in Zotero.

As interconnectedMe pointed out, this is not a solution. But from what I could dig from the code, this problem is entirely in the Zotero side. This Obsidian plugin just calls an API that opens that window, but the window is owned by Zotero.

MathiasSven commented 3 weeks ago

Relevant issue: Citation dialog not in foreground