Keep updated vs Background export #3264
-
Hello, I read https://retorque.re/zotero-better-bibtex/exporting/auto/index.html but I don't understand the point of “Background export” in the export screen if “Keep updated” is not enabled (I noticed that enabling “Keep updated” activates but makes inaccessible “Background export”). Could you please clarify this for me? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Background export is the friendly name for exports happening on a separate thread. You can think of threads as separate programs running within a program. Normal translators, and BBT in foreground mode, do their work in the same thread as zotero which means that for the duration of any export, zotero freezes entirely because the foreground thread is busy exporting and until that is done, it can't process mouse clicks, keyboard strokes, or update the UI. This is fine if you do small exports, and if you do simple work in the export; these exports are over before you notice any of this happening. But BBTs export is complex, meaning it takes more time than most other translators, and BBT users also tend to export fairly big chunks of their library. With auto export, zotero would freeze on pretty much any change you made if you had a big library set up for auto export. This is the reason foreground auto exports are not allowed. Background exports do the minimum amount of work required on the foreground thread and then hand it off to the background thread where it doesn't bother zotero. The reason foreground exports are still available:
|
Beta Was this translation helpful? Give feedback.
-
Bet you weren't expecting an essay 😄 |
Beta Was this translation helpful? Give feedback.
-
OK for the one-time export. But, AFAICS, “Keep updated” isn't checked by default: |
Beta Was this translation helpful? Give feedback.
Oh sorry - I thought you asked whether background should be on. Automatic export should not be the default use, I don't want people to create automatic exports by accident, so I deliberately uncheck the checkbox after each use.