Repository navigation
Conversation
prabhatCH
marked this pull request as ready for review
October 21, 2026 07:04
Contributor
[Medium impact] The PR appears safe to merge; no actionable defect was established. SummaryAdds a scoped
Acknowledged validation limits:
|
This was referenced Oct 22, 2026
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.
Clicking Chrome's native “Make default” can change the HTML association while leaving HTTPS on Chromium.
xdg-settingswrites the ordinary MIME list, reads HTTP back through Omarchy's higher-priorityomarchy-browser.desktophandler, rolls that write back, and exits before setting HTTPS. This reproduces the exact saved configuration from the affected laptop.This adds a scoped
xdg-settingsbridge on the session PATH. When both active web-link handlers are Omarchy's router, browser-default set/get/check operate on the underlying associations. Ordinary link opening still goes through the existing handoff and window-focus path. Other properties and custom link handlers delegate unchanged to/usr/bin/xdg-settings; a customBROWSERoverride remains intact. The bootstrap keeps account wrappers first and works for packaged and dev-linked sessions.Chromium-family flags and Omarchy's Chromium policy no longer hide native default controls. The migration removes the old exact flag and disabled-default key while preserving other flags, symlinks, and policy keys. Existing applications need a new login session to inherit the bridge. Firefox's existing check policy is unchanged; this covers PATH-based
xdg-settingscallers rather than all toolkit APIs.Related: #14441. This addresses the native-setting limitation acknowledged by that PR while retaining its link routing. #6590 covers the earlier session-wide
BROWSERfailure; the new test reproduces this routing failure even withBROWSERunset.Validation
BROWSER, and passthrough behavior through the bridge. Settings are isolated using temporary XDG directories.--headless --no-first-run --make-default-browser, a temporary profile, isolated XDG settings, and a logging helper. It invokesxdg-settings set default-web-browser google-chrome.desktop. With the system helper it changes HTML, rolls HTTP back to Omarchy's router, and leaves HTTPS on Chromium. With this bridge it successfully selects Chrome for all underlying browser associations. The user's live defaults were not changed by the tests.git diff --checkpassed../test/allcompleted with isolated XDG state and graphical checks disabled: CLI passed; shell had 12 failures in 469 files, with 45 files containing skipped checks. All 12 failing files were individually rerun against both the candidate and clean upstream087f73d89with matching checkout helpers and isolated state; each failed in both. This is not a fully green run.Failures reproduced on clean upstream
battery-status,crash-capture,elsewhen-migration,hyprland-workspace-layout,i18n,menu-plugin,migrate-notify,provision-user,screenrecording,screenrecording-wf-audio,sleep-lock,update-restart-kernel.Review and remaining validation
The command-wrapper approach needs maintainer agreement. It leaves the system xdg-utils files untouched, but adds a narrowly scoped compatibility directory to the session PATH. The actual Chrome setter and regression are verified; the visible Settings button and focus behavior have not been exercised end to end in a fresh packaged login/ISO session. The policy migration's privileged install is covered with a stub, not applied to real machine-wide policies here. No desktop rollout is claimed.
Prepared with Codex; the original failure was reported by the laptop owner, and the reproductions and tests above were executed against the named code and installed Chrome binary.