Repository navigation
Float Bitwarden passkey prompts across Chromium profiles - #15790
claytonfaria wants to merge 2 commits into
Conversation
[Low impact] The PR appears safe to merge, with no new actionable issues found. SummaryMakes Chromium extension prompts float and center without forcing their size.
Reviews (2) · Last reviewed commit: "Exclude Bitwarden prompts from Chromium ..." · Reviewed by Greptile |
|
Thanks for the detailed write-up. This fix overlaps two older open pull requests, #8341 and #14514. Both already match the extension window for every profile, so this one is waiting on the maintainer rather than going ahead on its own. What was checked, by reading only (nothing was run on a worker, because a fix that will not be the one merged isn't worth a test VM): the diff at 7a67d5b against
Second opinion: Codex Medium was given all three pull requests without my conclusion and also chose #14514. Its reasons were the same narrower match and the title collision, plus a 480-pixel width cap in #8341 that cuts off Bitwarden's 600-pixel setting. Its independence isn't guaranteed. If you can capture |
Bitwarden's passkey selector opened tiled in Chromium on Omarchy with Hyprland 0.56.2. Adding floating and centering rules locally fixed the selector, confirmed by the affected user.
The extension rule currently names only
chrome-nngceckbapebfimnlniiiahkandclblb-Default. Match other Chromium profiles as well, and add a narrowly titled fallback for prompts exposed under Chromium's normal class. The fallback inbrowser.luaremoves the Chromium tiling tag after browser tagging, so the generic browser rule cannot retile it. Float and center extension prompts directly so they retain their requested size rather than inheriting the generic 875×600 floating-window size. Screen-share protection remains enabled.Related work:
Validation:
./test/shell.d/hyprland-bitwarden-prompts-test.shpasses: covers Default/Profile 1/Profile 2, Chromium title variants, and negative controls for ordinary browser windows and unrelated apps/extensions. It also checks centering, screen-share protection, and absence of forced sizing.bash test/shell.d/hyprland-default-config-test.shandgit diff --checkpass.hyprctl reloadandhyprctl configerrorsreport no errors with the equivalent local rules../test/allcompleted: the upstream run reported 20/451 shell test files failing; the candidate run reported 32/452 failing. Both CLI suites passed. The runs overlapped on this desktop, so timing and shared-state failures are not an isolated regression comparison. Environment-dependent checks were skipped. The focused Bitwarden/config checks pass, but the full suite is not green and the additional failures have not been resolved.Review follow-up (7a67d5b): the regression test now loads both modules in production order and checks tag and float/tile interactions. Removing the new tag exception makes the test fail. Live Hyprland probes reproduced the original tiling conflict and confirmed the fix floats the Bitwarden probe while an ordinary Chromium control stays tiled. Temporary rules were removed and config errors are empty. Greptile reviewed the update with 5/5 confidence and no new actionable issues. The follow-up full candidate suite reported 16/323 shell test files failing; the sequential baseline run was stopped at the author's request after the clean review, so no clean baseline comparison is claimed.