Skip to content

v0.21.2 — Choose… no longer looks like a hang

Choose a tag to compare

@Mangluu Mangluu released this 22 Aug 14:36
· 51 commits to main since this release

Clicking Choose… looked like it froze the window. It did not.

macOS opens a file dialog without giving it focus when the process is not frontmost, and this app is started by a launcher script rather than as a bundled application, so it usually is not. The dialog opened behind whatever you were looking at, and the window stopped redrawing because it was blocked waiting on it. From the outside that is indistinguishable from a hang.

Measured on macOS 26.6: with the dialog open the process sat blocked at zero percent CPU and the frontmost application never became ours. Passing parent= on its own did not fix it. The window is now brought forward first and the dialog is attached to it.

The same treatment for every warning and error box, since one of those opening behind the window is a message nobody can act on.

If you hit this before, you could get out of it by clicking the app's icon in the Dock, which surfaced the hidden dialog.

pip install --upgrade "overleaf-comments-export[gui,pdf]"