Repository navigation
perf: use GIO instead of xdg-mime for app.getApplicationNameForProtocol() - #51628
Merged
dsanders11 merged 1 commit intoMay 15, 2026
Merged
dsanders11 merged 1 commit into
dsanders11 merged 1 commit into
Conversation
…tocol()` (#51251) perf: use GIO instead of xdg-mime for app.getApplicationNameForProtocol() The Linux impl of app.getApplicationNameForProtocol() now uses `g_app_info_get_default_for_uri_scheme()` + `g_app_info_get_display_name()` instead of spawning a call to the `xdg-mime` shell command. Clean up the related tests: remove the xdg-mime mock.
6 tasks done
ckerr
marked this pull request as draft
May 14, 2026 22:01
ckerr
marked this pull request as ready for review
May 15, 2026 02:12
xdg-mime for `app.getApplicationNameForPro…xdg-mime for app.getApplicationNameForProrocol()
xdg-mime for app.getApplicationNameForProrocol()xdg-mime for app.getApplicationNameForProtocol()
dsanders11
approved these changes
May 15, 2026
|
Release Notes Persisted
|
dsanders11
deleted the
perf/faster-app.getApplicationNameForProtocol-on-linux--42-x-y
branch
May 15, 2026 23:30
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.
Manually backport #51251 to 42-x-y. See that PR for details.
Notes: Improved performance of
app.getApplicationNameForProtocol()on Linux.