Skip to content

[BUG] Welcome screen getting auto-focus on a new connection when opening popup #1368

@raducristianpopa

Description

@raducristianpopa

Steps to reproduce

  1. Ensure you have a clean wallet address with no public keys associated
  2. Connect your wallet address to the extension
  3. Approve the grant
  4. User is redirected to the welcome screen
  5. Focus another tab
  6. Open the Web Monetization Extension
  7. When opening the extension the Welcome screen tab is focused

Expected result

The extension should not auto-focus the welcome screen tab when opening the extension's popup.

Actual result

The extension focuses the welcome screen tab when opening the extension's popup, if the welcome screen tab is not closed.

I also noted that this only happens when the auto key addition functionality is running and there are no public keys registered. After successfully connecting the wallet, disconnecting it only from the extension side (public key was not removed on the wallet side) and connecting again, the issue is not present.

Screenshots or videos

Screen.Recording.2026-05-04.at.2.21.19.PM.mov

Additional context

Most users shouldn't really run into this issue. I actually discovered this by accident, because I forgot to close welcome screen tab.

Operating system

macOS

Operating system version

Tahoe 26.4.1 (25E253)

Browsers

Firefox

Browser version

Developer Edition 151.0b5 (aarch64)

Extension version

1.2.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions