Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popups not working under Wayland #9045

Open
1 task done
tobih7 opened this issue May 5, 2024 · 3 comments
Open
1 task done

Popups not working under Wayland #9045

tobih7 opened this issue May 5, 2024 · 3 comments

Comments

@tobih7
Copy link

tobih7 commented May 5, 2024

Steps To Reproduce

  1. Run Chromium-based browser on Wayland, instead of X11 (--ozone-platform=wayland)
  2. Try to open any Popup, for example:
  • The main popup from the extension menu on the top left
  • Clicking on "Unlock" when trying to autofill while the extension is still locked
  • Trying to log in with passkeys
  • Generally everything that requires a popup does not work

Expected Result

A popup should appear

Actual Result

No popup appears

Screenshots or Videos

No response

Additional Context

In the console of background.html this always appears:
Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.

When trying to log in with passkeys this also appears, but I don't know whether this is relevant:
[Fido2Client] Aborted by user: TypeError: Cannot read properties of undefined (reading 'id')

I know this may not be an issue with the Bitwarden browser extension, but rather with chromium or wayland in general, but I'm really not sure.

Operating System

Linux

Operating System Version

Fedora 40 (Up-to-date)

Web Browser

Brave

Browser Version

1.65.126 Chromium: 124.0.6367.118

Build Version

2024.4.1

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@tobih7
Copy link
Author

tobih7 commented May 5, 2024

I also just realized that the WebSocket is not properly connecting under Wayland.

@sammbw
Copy link

sammbw commented May 6, 2024

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

@LookedPath
Copy link

I am also experiencing this on PopOS 22.04 with Chrome on Wayland.
The error displayed in the developer console is:
Unchecked runtime.lastError: Invalid value for bounds. Bounds must be at least 50% within visible screen space.

I can reproduce this issue every single time Bitwarden needs to open a pop-up of any kind for instance when clicking on the "Unlock account" option in the autocomplete dropdown and when it tries to handle Fido2 authentications.
Is there any other info we can provide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants