-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Launching Mailpile's terminal hangs GUI-o-Mac-Tic #9
Comments
Implementing the terminal opening is non trivial due to its large statespace The number of state which is the terminal can be in at any one point. Will fix on saturday. |
Thanks! |
The good news is that I managed, harly, to figure out what is wrong. The issue is due to gui-o-mac-tic's use of a possibly bad AppleScript. Namely in that gui-o-mac-tic uses this AppleScript to send commands to Terminal.app. The issue can be reproduced with a pure AppleScript (without gui-o-mac-tic):
the Script Editor.app will "freeze" and hovering the cursor over it will animate a spinball. If at this point you click on the Terminal.app in the Dock then doing so will launch an empty Terminal Window, and a new window containing the "echo Hello World" which was executed by the AppleScript. How to proceed towards a solution: |
Thanks for looking into this and reporting back. |
So, this is a weird bug, but it is real; I've seen it many times and the behaviour is always the same. I am not sure whether to blame the MacOS Terminal, or GUI-o-Mac-Tic, but here's a description...
Steps to reproduce:
The gui-o-mac-tic will now hang and nothing will happen. Hovering over the Status Window or the icon in the bar at the top will produce a spinning beach-ball.
Now, opening a new Terminal window using the Terminal's dock icon will cause two Terminals to open, one new and blank, the other containing the Mailpile CLI. The GUI becomes responsive again.
This only happens when I've just logged in, once I have un-stuck the GUI once, it doesn't seem to get stuck again, even if I Quit one or both of Mailpile and the Terminal.
Can you comment on this, @peturingi ? It's really weird.
Tested on MacOS High Sierra (10.13.3), using the 2018-11-13-2 dmg from here: https://www.mailpile.is/download/mac/ (warning: that DMG is broken in other ways, do not use for real mail)
The text was updated successfully, but these errors were encountered: