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

Windows Task Bar icon is not indicating new unread message #28417

Open
mkarg opened this issue Nov 11, 2024 · 1 comment
Open

Windows Task Bar icon is not indicating new unread message #28417

mkarg opened this issue Nov 11, 2024 · 1 comment
Labels
A-Notifications O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@mkarg
Copy link

mkarg commented Nov 11, 2024

Steps to reproduce

  • On Microsoft Windows, start Element Web in browser. The task bar now shows an icon for the just opened browser window.
  • On the Element Web browser window click the "minimize" button, so the window is invisible now, but the task bar shows an icon for the still running but invisible browser window.
  • Ask somebody to send you a Matrix message.
  • Check the task bar icon of the Element Web browser window.

Outcome

What did you expect?

A badge appears on the task bar icon of the Element Web browser window, indicating there is a new unread message.

What happened instead?

No badge appears on the task bar icon of the Element Web browser windows. You will not understand that you received a new message.

Operating system

Windows

Browser information

Chrome, Edge

URL for webapp

private

Application version

1.11.76

Homeserver

local Synapse

Will you send logs?

No

@mkarg mkarg added the T-Defect label Nov 11, 2024
@dosubot dosubot bot added A-Notifications O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist labels Nov 11, 2024
@t3chguy
Copy link
Member

t3chguy commented Nov 11, 2024

There's no standard Web Browser API to draw on the browser icon. There's a Chrome Windows & Chrome macOS specific one https://developer.mozilla.org/en-US/docs/Web/API/Navigator/setAppBadge#browser_compatibility

Empirically though this API does not work unless you are in PWA mode (i.e you install the app)

image

In which case we already call setAppBadge. https://github.com/element-hq/element-web/blob/develop/src/vector/platform/PWAPlatform.ts#L14-L20

@t3chguy t3chguy added the X-Needs-Info This issue is blocked awaiting information from the reporter label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Notifications O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

2 participants