Double-clicking a file from finder doesn't open it in Wing when the editor is already active
Using macOS Catalina and Wing Pro, I have the following issue:
When Wing is NOT active and I double-click a .py file somewhere, Wing starts and opens that file.
Whenever Wing is already active, double-clicking a .py file does switch to the Wing window (changes focus to it), but it does not open the file. So any subsequent source files, I have to open from the file menu in Wing. It doesn't matter how many files I have open in Wing at that time (even with all files closed it doesn't work).
Completely removed Wing and all settings files, re-installed and tried again. No joy. This one is pretty recent and I have to say... not a fan.
Comments
I suspect this is Catalina breakage. What version of Wing do you have?
I'm experiencing the same thing. Everything was working great but then I got a new MacBook and migrated my files to it. The new MacBook is running Catalina, and I made sure to uninstall and then reinstall the very latest version of WIng IDE 101 7.1.3.0. If Wing is not currently running, then double clicking on a Python file will start up Wing and open the file. But then if I double click on a second file the Wing app comes to the foreground of the desktop, but the file doesn't open!
I am also having this issue, is there any possible fix beyond "Catalina Breakage"? I'm using version 5.1.12-1
Catalina also broke my anaconda install, and now Wing also can't select the correct python app for a custom python executable
I think a broken Anaconda caused by installing Catalina can be fixed by removing Anaconda and installing it again. Unfortunately we still don't have a fix for the Catalina file opening issue. The problems with .app packaging on Catalina are definitely quite odd. I keep hoping Apple will fix it since we have not found a work-around, but it's probably something very specific to perhaps shipping a Qt app or something like that. The other issues we were able to solve required bizarre solutions like hiding certain files in a .zip, apparently to "outsmart" Gatekeeper. We will continue to try to solve this, however, although any fix would only be in Wing 7. Sorry about this!
For my workflow, this really is very annoying. If it's not something you can fix, I can respect that. But boy, this is annoying.
You might try dragging files onto the editor window as a workaround
That actually is a decent workaround for my workflow. Thanks! One question keeps nagging me though: If this is Catalina breakage, why is Wing the only program I have this issue with? All others just work fine. Just to be clear: I have experienced this with every update since Dec 20 '19.
Another observation: When I try this in PyCharm... it just works. Is this really a Catalina issue?
It's because Wing starts with a shell script and Catalina doesn't like that. We're replacing that with an executable in our next release with installers and that will solve it.
It is July 13th now. I uninstalled Wing and removed all settings again. Re-installed and tried it again because you said it would require a re-install. But alas, it still is not fixed. Do you have an ETA on an actual fix? Having said that, I may have uninstalled it wrong. I deleted the App (MacOS) and deleted the Wing Pro settings directory in `/library/application support
Sorry for the delay on this. We're testing the release that will fix this (version 7.2.3) now and hopefully it'll be out this week.
I can now confirm that V7.2.3.0 fixes the issue. This is very very nice to be able to use again. Thanks!