nextcloud / nextcloud/talk-desktop

Clicking on notifications does not work in Windows Squirrel build

Open
#1,175 2 comments 3 reactions 1 assignee View on GitHub

@ShGKme is already working on this.

Since Mar 18, 2025.

bug
Dominant language
JavaScript
Stars
525
Forks
85
Avg merge
8h 5m
Merged PRs (30d)
35

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install the Windows Squirrel build (1.1.5, latest main, or from winget) on Windows 11 24H2 or 23H2.
  2. Click on an incoming chat notification.
Expected behaviour

App window is supposed to be shown.

Actual behaviour

Nothing happens

Diagnosis and logs

In the Wix (MSI) build, this issue does not appear. Clicking on notifications works as expected.

Up to this, this sounds like the classic setAppUserModelId thing. But this is accounted for in the code, and I can see no issue with it:
https://github.com/nextcloud/talk-desktop/blob/7b6f252c79eef79151d25a7060a6ebd75689d5b4/src/main.js#L50

Now here comes the weird stuff:
As soon as I change this id to anything (really anything) else, it starts working. The notifications don't show an icon anymore, and title is wrong, but clicking works and the app window opens. Example:

if (isSquirrel) {
	// Squirrel.Windows sets the AppUserModelId in the following way
	app.setAppUserModelId('com.squirrel.NextcloudTalkXYZ.NextcloudTalkXYZ')
} else {

Is anybody able to shed some light on this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.