Zotero 7: Preview in attachment info vanished after a moment
Is it intentional that the preview of PDF in the Attachment Info section (i.e., after expanding an item and selecting the attachment) vanishes after a moment (from a few seconds to ~1 min)?
Upgrade Storage
Zotero 7.0.3-beta.2+10d27b8f6 (64-bit)
Windows 10
I see the same on Ubuntu 22.04.3 LTS with Zotero 7.0.3-beta.2
As shown in the screen recording, the steps to reproduce are:
1) Select a PDF file attachment
2) Select its Parent Item
3) Go back to the PDF file attachment
You see the following message appear in the Debug Output at the time the preview disappears:
BlockingObserver: Removed observerFrom what I observe:
A) Going from a parent item to another parent item, or from a child PDF to another child PDF, triggers both:
BlockingObserver: Removed observerBlockingObserver: Added observerB) Switching from a parent item to a child PDF, or from a child PDF to a parent item, only triggers a:
BlockingObserver: Added observerAfter waiting 1 minute, you see:
BlockingObserver: Removed observerThe preview of the child PDF file attachment disappears when the
Removed observerfrom the first switch is triggered. So you just need to wait around 1 minute (as mentioned by @poettli) after the first switch to get theRemoved observerwhich will make the preview disappear.The screen recording is a bit misleading, as the vanishing occurs very quickly. It was probably triggered from a previous switching before the recording.
If I wait more than one minute between steps 2 and 3, I do not see the bug anymore, which supports the analysis made above.
https://s3.amazonaws.com/zotero.org/images/forums/u265723/n5s9zw8qnptgrx414jpu.png
Zotero 7.0.4-beta.1+576e50552 (64-bit)
Windows 10
Thank you.
Zotero 7.0.4-beta.3+5bd5bfa34 (64-bit)
Windows 10