Keep progress popups from floating over other apps' windows

The progress popup was opened with alwaysontop, which is system-wide,
so a long-running popup (e.g., full-text indexing) stayed on top of
other apps' windows after switching away from Zotero. Open it as a
dependent window instead, which keeps it above only the Zotero window.
This commit is contained in:
Dan Stillman 2026-07-17 12:41:34 -04:00
parent d739fed03e
commit 30b5bf4bb9

View file

@ -128,7 +128,7 @@ Zotero.ProgressWindow = function (options = {}) {
if (_window) {
_progressWindow = _window.openDialog("chrome://zotero/content/progressWindow.xhtml",
"", "chrome,dialog=no,titlebar=no,alwaysontop=yes");
"", "chrome,dialog=no,titlebar=no,dependent=yes");
_window.addEventListener('close', () => {
this.close();
});