Skip to content
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

Opening files when the app is open, fails. #2004

Open
ShaneBeee opened this issue Dec 22, 2024 · 4 comments
Open

Opening files when the app is open, fails. #2004

ShaneBeee opened this issue Dec 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ShaneBeee
Copy link

Describe the bug

When the app is open, if I attempt to open a file, it says:
The document "X" could not be opened. Phoenix code cannot open files in the "YAML" format
But if I close the app, Im able to open YAML files:
Screenshot 2024-12-21 at 5 05 33 PM

Example shown with a yaml file open in the background.
Screenshot 2024-12-21 at 5 06 13 PM

Reproduction

  1. Open a yaml file
  2. try open another yaml file
  3. see error

Expected behavior

No error, and the app should open the file.

OS, Browser and Phoenix versions

OS = macOS 15.2
Browser = Safari
App Version = Version 3.10.0 (20241125.055842)

logs or debug stack trace if any

No response

Additional context

No response

@ShaneBeee ShaneBeee added the bug Something isn't working label Dec 22, 2024
@abose abose transferred this issue from phcode-dev/phoenix-desktop Dec 23, 2024
@abose
Copy link
Member

abose commented Dec 23, 2024

I am unable to repro this issue, Does it open if the file is dragged and dropped into phcode?
is this an M1/intel mac?

@ShaneBeee
Copy link
Author

If I drag and drop it appears to work.
Only time it doesn't work is if I go to finder and attempt to open another file.
I use this mostly for yaml but it seems to do it with any format.

I have a 2020 M1 MacBook Pro.

Here is a video showing the issue.

Screen.Recording.2024-12-23.at.10.32.03.AM.mov

@abose
Copy link
Member

abose commented Dec 24, 2024

Thanks for the details. I have heard of this issue in the wild once or twice before. but trying to repro it in any ofthe dev machines have been so far unsuccessful. BTW is the app installed inthe applications folder? If not downlaod a fresh dmg and try to paste it in the applications folder and try again.

@ShaneBeee
Copy link
Author

BTW is the app installed in the applications folder?

Yes

If not download a fresh dmg and try to paste it in the applications folder and try again.

I decided to give this a whirl, and had no luck.
I deleted the app, re-downloaded, re-installed, and it does the same thing.

It's not the end of the world, at least drag/drop and/or close/re-open works.
The error just gave me a chuckle ("even tho you have a yaml file open, we cant open a yaml file")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants