Repository navigation
Conversation
…indow rules setting size to 875 600
There was a problem hiding this comment.
Pull request overview
Fixes Bitwarden extension popup rendering by avoiding the generic 875×600 floating-window rule.
Changes:
- Applies dedicated floating behavior with a 480×650 maximum size.
- Disables blur while preserving screen-share protection.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This PR fixes the toolbar popup (
That name starts with Suggested follow-up in o.window("^(Bitwarden)$", { no_screen_share = true, tag = "+floating-window" })
o.window("chrome-nngceckbapebfimnlniiiahkandclblb.*", { tag = "-floating-window" })
o.window("chrome-nngceckbapebfimnlniiiahkandclblb.*", { tag = "-chromium-based-browser" })
o.window("chrome-nngceckbapebfimnlniiiahkandclblb.*", {
float = true,
no_blur = true,
no_screen_share = true,
size = { 480, 650 },
max_size = { 480, 650 },
})Verified locally on Omarchy 4.0.0 / Hyprland 0.56.2 / Chromium 151: after this rule the |
|
@raybarrera I can't recreate the class you encountered. For me, this PR fixes the popup encountered when accessing bitwarden from a form field. Not from the extension toolbar. I've tested Firefox, Brave, Chrome, and Chromium. The only browser to experience a non floating window for Bitwarden was Brave, which has a similar class except it starts with brave- instead of chrome- |
|
Automated duplication check: this pull request looks similar to #8341, which covers the same Bitwarden float rule. I keep that one open and close this one to consolidate review. If you feel this is the wrong decision, please open the PR again with a note on the difference. |
Windows tagged with +floating-window have a size of "875 600" by default.
This is larger than what the Bitwarden extension requests and causes the popup window to not refresh properly.
The window can be forced to resize by switching windows; however, forcing the max_size and removing the standard +floating-window tag allows the window to render properly.
Fixes #6075