-
Notifications
You must be signed in to change notification settings - Fork 7.6k
User-created file associations (via Open With) are wrong after updating #4882
Comments
For Windows, @bchintx and I have an idea that might fix this:
For Mac, I'm not sure what the fix would be or if we need one. |
Btw -- for Edge Code, the situation is slightly different:
|
@ryanstewart to discuss with @adrocknaphobia |
This seems important but possibly backlog-level work? |
Nominating for sprint 32 |
@gruehle also pointed out that this would be obviated by in-place upgrades in Brackets. I added a card for this to the icebox: https://trello.com/c/xxabXFIG - it might be worth doing that work in lieu of this. |
Just tried the above steps using Brackets Sprint 30 and 31 on Mac OSX 10.8.5. OSX treats each sprint build as an entirely separate product. As a result, so long as I have 30 installed and set as my default "Always Open With" application, then OSX launches 30 when I dbl-click on an associated file, regardless of whether 31 is installed or not. When I delete 30.app, then dbl-clicking a previously associated file, now launches the previous default application that I had on my machine (in this case it was Dashcode). This happens regardless of whether 31 was installed or not. As a result, I think OSX behaves logically, so long as we consider each Brackets sprint build to be considered as a separate application, with regards to "Open With" file association. However, this could certainly be improved if we move to in-place upgrades as @gruehle @njx and @peterflynn suggest. Doing so should probably allow an upgrade to maintain any existing, already set "Open With" associations -- of course, we'll need to verify that just to be sure that whatever heuristic Finder uses, still works with the upgraded .app files. |
Removing milestone since we will likely be doing in-place upgrades soon. |
Pretty sure this was fixed by the in-place upgrades implemented in Sprint 34. Closing unless we hear otherwise. |
Windows
This can't be tested yet because there is no "Sprint 31" build, but:
Result:
5 - launches old build (Sprint 30)
7 - pops up Open With dialog (no file association set anymore)
Mac
A similar bug might exist on Mac, but my testing there was inconclusive. Launch Services has some sort of heuristic for choosing which .app to launch when multiple apps have the same id. On my machine, setting a file association from an installed .app always causes it to actually launch my dev build instead. So we'd need a clean machine to test on in order to see how this will really work for users.
The text was updated successfully, but these errors were encountered: