Fix: Fixed an issue where activating the app by URI sometimes caused a crash#18746
Open
Lamparter wants to merge 2 commits into
Open
Fix: Fixed an issue where activating the app by URI sometimes caused a crash#18746Lamparter wants to merge 2 commits into
Lamparter wants to merge 2 commits into
Conversation
Lamparter
marked this pull request as ready for review
July 19, 2026 21:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolved / Related Issues
Steps used to test these changes
Activating the app with an 'open path' argument now results in the correct activation sequence (this means that pinning items now works correctly again, and does not silently fail)
Method 1
files-dev.exe "C:\Windows\Web\4K\Wallpaper\Windows\img0_1920x1200.jpg"(for example)Method 2
files-dev:?cmd=-Cmdless%20C%3A%5CWindows%5CWeb%5C4K%5CWallpaper%5CWindows%5Cimg0_1920x1200.jpgActivating the app via an invalid URI protocol no longer crashes the app
files-dev:testorfiles-dev://Activating the app by protocol / command line now correctly brings it to the foreground
files-dev:, or optionally an executable command, e.g.files.exe