Can't open a copied project in Mac OS Beta Catalina

If a project has been copied using Finder and renamed, it can not be opened using the Open ... to open a project folder.

However, the original folder if opening a known project will be opened.

16 comments
Comment actions Permalink

haven't ever faced issues opening copied project folders (I do this quite often)

The only issue is that the project name doesn't change when you copy it this way, just the folder name changes. But this shouldn't be a problem. Anyway, i'd suggest shutting down the IDE, deleting thee .idea folder from your copied project and then opening its root folder in Webstorm via File | Open

0
Comment actions Permalink

I am having the same issue since moving to the Catalina beta. My ability to open files has definitely become more restrictive, as you say only if it's known or creating from new.

0
Comment actions Permalink

Please provide exact steps to recreate the issue plus your idea.log (Help | Show Log in Finder).

Note: please don't paste the log here, upload it to some file server and share a link

0
Comment actions Permalink

You can not use the Open menu item in the Welcome to Web Storm dialogue or if a project is already open, the top menu File -> Open... menu item does not work to open a different project, if the project does not appear in the list of known projects.

If you try using the File -> New -> Project which opens the New Project dialogue. If you try to specify a new project location using the file browser icon on the right of the Location text box, you can browse but the selected path is not returned to the Location text box. The workaround is to enter the path manually in the text box.

To duplicate a project requires you to

  1. Create a new project with the name of the project that you want to have.
  2. Close the project that was just created.
  3. Using Finder to go to the source project folder.
  4. Ensure that all hidden files and folders are visible.
  5. copy all the folders and files in the project folder to the newly created project folder, replacing all the files.

Now you open the duplicated project in the Welcome to Web Storm dialogue since it appears in the list of projects.

 

 

 

0
Comment actions Permalink

The .idea log can be found here.

 

0
Comment actions Permalink

No errors in log that look related

>You can not use the Open menu item in the Welcome to Web Storm dialogue or if a project is already open, the top menu File -> Open... menu item does not work to open a different project

Please can you elaborate on this? What do you mean saying that it doesn't work? menu action is not available? Or it's available, but the file chooser is not opened once you select it? Or?

0
Comment actions Permalink

In the Welcome to WebStorm dialogue, there are two project visible:

and in the Finder for my project folder:

I have duplicated the SignServer project.

If I try to open the folder Sign Server copy, using the Open File browser:

The above dialog closes and the project is not opened and control is returned to the Welcome to WebStorm dialogue:

What system are you testing it on?

My main development system:

This has been confirmed by another user writing on this thread.

0
Comment actions Permalink

OK, and how is it related to Open action not working?

0
Comment actions Permalink

Let's do the same for the File Open while a project is open

and the File open dialogue with the project SignServer copy selected:

After pressing the Open button the dialogue closes and does not open the selected project. Same behaviour as with the Welcome to WebStorm dialogue.

 

3
Comment actions Permalink

Please try adding -Dide.mac.file.chooser.native=false in Help | Edit Custom VM Options and restart WebStorm. Does it make any difference?

Here is a related issue on YouTrack:

https://youtrack.jetbrains.com/issue/IDEA-219205

6
Comment actions Permalink

I've been having similar problems: Unable to open any existing WebStorm project. But I could create a new project and open and close that. So I created a new project, copied all the files from the old project into it, and was able continue working from that.  

Things I tried that were no help:  deleting .idea folders, moving project to my home directory, making sure Webstorm had full disk access in security preferences, reinstalling Webstorm, Reinstalling license, Deleting Library/Application Support/<anything jetbrains>; same for ~/Library/Application Support and preferences folders.   No errors in any logs that I could find. Trying to open a project just does nothing at all. No error, no crash. Just nothing.

Running a 2019 Mac mini with Catalina beta 5.

*** the -Dide.mac.file.chooser.native=false DOES fix the  problem. ( though I never cared for that dialog box )

 

1
Comment actions Permalink

@elena poroelove

You deserve a medal. Adding this -Dide.mac.file.chooser.native=false the custom VM options solved a lot of file selection problems.

Our problem was selecting the mappings in the deployment tab what didn't work

Regards jerome

1
Comment actions Permalink

Had this issue as well, using `-Dide.mac.file.chooser.native=false` as a workaround. Thanks!

2
Comment actions Permalink

Same issue with PHPStorm....

0
Comment actions Permalink

Same issue started in PHPStorm after a recent update of Catalina

0
Comment actions Permalink

It seems that new directory access permission should be granted, which is asked when using jetbrains custom directory chooser/picker but not when using native one.

0

Please sign in to leave a comment.