Happens when Save As is used on the only empty new document, and a command line file replaces that document while the dialog is still open.
_Originally posted by @ntrel in https://github.com/geany/geany/issues/3388#issuecomment-1420621069_
github-comments@lists.geany.org