Atom fails to open files when clicked (Catalina)

Atom is behaving weirdly:

  • If I type atom filename in terminal, it works ok
  • If I open atom first, then choose a file to open, it works ok
  • But if I simply click on a file, Atom starts up and hanges there - but the file doesn’t show. Only the top menu (I’m on Mac)

Tried:

  • Disabling all packages
  • Clearing cache
  • Clearing window state
  • Deleting the entire .atom directory

Nothing helps. Any advice?

MacOS Catalina 10.15.7
Macbook Pro 2018
Same problem for all files - .yaml, .js, .py, etc - both new and previously opened.