Skip to content

Raise the desktop window when a notification is clicked [WPB-28731] - #9757

Merged
thisisamir98 merged 1 commit into
devfrom
fix/WPB-28731-show-window-on-notification-click
Oct 7, 2026
Merged

thisisamir98 merged 1 commit into
devfrom
fix/WPB-28731-show-window-on-notification-click

Conversation

@thisisamir98

@thisisamir98 thisisamir98 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
TaskWPB-28731 [Web] Send a system notification 10 minutes before a meeting starts

Summary

  • A notification click now shows the desktop window even when Wire is already open behind another app.
  • On macOS the app is activated as well, because focusing the window alone leaves it in the background.
  • Each signed-in account still gets its own notification. This only changes what a click does.

Test plan

  • With Wire open behind another app, click a meeting reminder and confirm Wire comes to the front.
  • With two accounts signed in, click each account's notification and confirm the app opens on that account.
  • With the window minimized, click a notification and confirm it restores.
  • yarn electron-mocha --require .babel-register.js electron/src/window/activatePrimaryWindow.test.main.ts --no-sandbox

A click only called focus() when the window was already open. On macOS that leaves the app behind the current window. Always show the window, and on macOS activate the app.
@thisisamir98
thisisamir98 added this pull request to the merge queue Oct 7, 2026
Merged via the queue into dev with commit fa541fe Oct 7, 2026
9 checks passed
@thisisamir98
thisisamir98 deleted the fix/WPB-28731-show-window-on-notification-click branch October 7, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants