Conversation
Require URI-capable Open/Open With handlers only when GIO has no local path. GVfs FUSE mounts are non-native and still have a path, so %f/%F apps and a configured path default can open them. Trash stays URI-only. Refs lgse#688
wmfeht
force-pushed
the
cursor/fix-688-open-with-fuse-path-001f
branch
from
September 10, 2026 22:43
beb90a2 to
479f5b1
Compare
github-actions
Bot
force-pushed
the
main
branch
17 times, most recently
from
September 20, 2026 05:00
51fba50 to
b415eb6
Compare
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.
Description
Open and Open With treated every non-native GIO file as URI-only after lgse#578. That is correct for Trash (
path()isNone) but too strict for GVfs FUSE mounts (sftp://,smb://) that still have a local path under/run/user/$UID/gvfs/.Handler listing, the MIME default (
must_support_uris), and path-only launch now key offfile.path().is_none()instead of!file.is_native(), so%f/%Fapps and a configured path default work when GIO provides a FUSE path. Trash stays URI-only.Visual evidence
N/A — handler filtering and default lookup, no visual chrome change.
How to test
gio infoshows alocal path:under/run/user/…/gvfs/whileis_nativeis false.text/plaindefault withExec=… %Fand an optional%Uhandler.trash:///has no path).Expected result: FUSE-backed files list and launch path-capable apps, including the configured
%Fdefault. Trash still lists only URI-capable handlers (%u/%U).Related issue
Closes lgse#688