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

Fix file associations on Windows + opening project bug #11030

Merged
merged 6 commits into from
Sep 11, 2024

Conversation

farmaazon
Copy link
Contributor

@farmaazon farmaazon commented Sep 10, 2024

Pull Request Description

  • Fixes #10983 The ext field was not set according to the documentation in rust
  • Also discovered a regression in opening project by passing argument/clicking the file: we store the file location as file:// URL, but without caution, it made a havoc with windows paths.

Important Notes

  • Need to confirm that everything works on macOS (installation with file associations + opening project when process is running and when not)

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • [ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • [ ] Unit tests have been written where possible.

@farmaazon farmaazon added --bug Type: bug --regression Important: regression g-electron GUI: electron application specific labels Sep 10, 2024
@farmaazon farmaazon self-assigned this Sep 10, 2024
@vitvakatu
Copy link
Contributor

Working on MacOS:

  • Opening .enso-project files while running/not running the app
  • Opening .enso files while running/not running the app

Although I might note a small detail: it is impossible to open multiple projects simultaneously when clicking files in Finder – the latest project always takes precedence and the previous one will be closed. It is the issue on develop as well, though, so not to block this PR.

Copy link
Contributor

@somebody1234 somebody1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR ✅

@somebody1234
Copy link
Contributor

@vitvakatu i think being able to only open a single project is intentional, but tbh I'm not 100% sure it is intended behavior for the local backend. @jdunkerley can you confirm or deny?

@jdunkerley
Copy link
Member

Yes currently we only support opening one project at a time. We will improve that later.

@farmaazon farmaazon added CI: Ready to merge This PR is eligible for automatic merge labels Sep 11, 2024
@mergify mergify bot merged commit 497da82 into develop Sep 11, 2024
38 checks passed
@mergify mergify bot deleted the wip/farmazon/fix-file-assoc branch September 11, 2024 10:44
jdunkerley pushed a commit that referenced this pull request Sep 11, 2024
* Fixes [#10983](#10983) The `ext` field was not set according to the documentation in rust
* Also discovered a regression in opening project by passing argument/clicking the file: we store the file location as `file://` URL, but without caution, it made a havoc with windows paths.

# Important Notes
- [x] **Need to confirm that everything works on macOS** (installation with file associations + opening project when process is running and when not)

(cherry picked from commit 497da82)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug --regression Important: regression CI: Ready to merge This PR is eligible for automatic merge g-electron GUI: electron application specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WIndows Installer not registering the file types
5 participants