Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.14k stars 299 forks source link

"Open Remote Directory" causes lockup when using *.local domains #3914

Open GitDogg opened 3 years ago

GitDogg commented 3 years ago

Short Summary

When attempting to use the "Open Remote Directory" feature while a server with host address *.local is configured (via Settings->Servers), the program locks up, shows beachball cursor on Mac.

After force-quitting, the Komodo Edit will not re-open: it loads the UI, and then shows a beachball. To recover, the Library/Application Support files must be deleted: rm -Rf ~/Library/Application\ Support/Komodo*

Steps to Reproduce

  1. Settings->Server, configure a new server with a *.local hostname. I used type=SCP.
  2. In the left-hand file nav, click on the gear icon in the top left, then Open Remote Directory

Expected results

  1. The Server & Directory selector window should open.
  2. You should be able to open a remote folder.

Actual results

  1. Server & Directory selector window opens
  2. The application locks up, shows a beachball icon, and requires force-quit to close.

Platform Information

Komodo Edit 12, Version 12.0.1, build 18441 *Operating System: macOS Big Sur 11.1 (20C69)

th3coop commented 3 years ago

It sounds like the .local address isn't reachable from the computer you're on and Komodo hangs while it's trying to connect. Yes it should be async. There is a ticket for that but it won't change any time soon unfortunately. You could try reducing the timeout in the server setting. I'm not sure why would hang on a subsequent opening of the application if you weren't able to actually select a remote directory.

Is the *.local address accessible for testing?