talk-desktop icon indicating copy to clipboard operation
talk-desktop copied to clipboard

How should taskbar icon and badge work

Open dariocigna opened this issue 8 months ago • 9 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • 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.

At the moment the taskbar icon (i'm talking about windows version) is completely unreliable.

this is the actual behaviour and how it should work on my opinion.

  • atm if you close the app with the X it effectively closes it and the taskbar icon disappears-> it should just minimize the app in the taskbar, in this way the icon flashing and badge icon keeps working and notify the incoming messages. Windows toast message is completely useless when you are not in front of the screen and it disappear after few seconds, and many times you miss incoming messages.
  • atm if you are in a talk chat, with talk desktop windows open, and a message is incoming in this chat, you get no badge and no flashing icon (even if the windows is in background and this is the worse part) -> icon flash and badge should always been shown when the windows is background and not focused. in my opinion it should ALWAYS flash and show badge until i effectively read the message.

dariocigna avatar Jun 06 '25 11:06 dariocigna

Are you running 1.2.3 which was released yesterday?

nickvergessen avatar Jun 06 '25 11:06 nickvergessen

yes. By the way, the badge counter implemented in this versione is not working. it always show 1. it's not counting unread messages. I tryied sending many massages with the same user to my user. i can't try with more messages from different users

Diagnosis report

Nextcloud Talk Desktop                                                                               
Version                      v1.2.3                                                                 
Built-in Talk version        v21.1.0                                                                 
Release channel              stable                                                                 
Operating system            Windows_NT 10.0.26100 (Windows 11 Pro)                                 
Executable Path              C:\Users\dario\AppData\Local\NextcloudTalk\app-1.2.3\Nextcloud Talk.exe
Connected to            -                                                                       
Nextcloud server version    31.0.4                                                                 
Nextcloud Talk version      21.1.0                                                                 
notifications app enabled ✅ yes                                                                   
notify_push app enabled    ✅ yes                                                                   

Application config

{
  "launchAtStartup": true,
  "theme": "default",
  "systemTitleBar": true,
  "monochromeTrayIcon": false,
  "zoomFactor": 1,
  "playSoundChat": "respect-dnd",
  "playSoundCall": "respect-dnd",
  "enableCallbox": "respect-dnd",
  "secondarySpeaker": false,
  "secondarySpeakerDevice": null,
  "trustedFingerprints": []
}

dariocigna avatar Jun 06 '25 12:06 dariocigna

By the way, the badge counter implemented in this versione is not working. it always show 1. it's not counting unread messages.

It is working. It counts unread unmuted conversations, not the total number of messages in all the conversations.

Settings to specify what exactly to count (messages/conversations, including muted or not) will be added later.

However, counting unmuted messages is problematic at the moment:

  • No way to count unmuted messages in group chats with mentions only notification level - requires dramatic backend changes
  • Requires accurate and fast read status update for messages

ShGKme avatar Jun 06 '25 12:06 ShGKme

  • atm if you close the app with the X it effectively closes it and the taskbar icon disappears-> it should just minimize the app in the taskbar, in this way the icon flashing and badge icon keeps working and notify the incoming messages. Windows toast message is completely useless when you are not in front of the screen and it disappear after few seconds, and many times you miss incoming messages.

Duplication of:

  • https://github.com/nextcloud/talk-desktop/issues/291
  • https://github.com/nextcloud/talk-desktop/issues/1221

ShGKme avatar Jun 06 '25 12:06 ShGKme

  • atm if you are in a talk chat, with talk desktop windows open, and a message is incoming in this chat, you get no badge and no flashing icon (even if the windows is in background and this is the worse part) -> icon flash and badge should always been shown when the windows is background and not focused. in my opinion it should ALWAYS flash and show badge until i effectively read the message.

Flash icon is triggered when:

  1. The app is hidden (minimized)
  2. There is a new notification

p.1 can be changed to "the app is focused" to cover a case then the app is visible, but a user is working in another application.

p.2 is a bit more tricky. We don't send notifications if a user is active (with a short threshold) in the chat (cc @nickvergessen). It is intentional behavior to not overload with notifications about things the user is supposed to see anyway.

ShGKme avatar Jun 06 '25 13:06 ShGKme

p.1 should be a nice improvement atm i understand p.2 is tricky but it should be partially resolved with p.1

and i still suggest to never close the app on the x button, just minimize it to keep the icon in the taskbar active (maybe it could be an option in settings)

dariocigna avatar Jun 06 '25 13:06 dariocigna

and i still suggest to never close the app on the x button, just minimize it to keep the icon in the taskbar active (maybe it could be an option in settings)

  • Again, it is a duplication of: https://github.com/nextcloud/talk-desktop/issues/1221

ShGKme avatar Jun 06 '25 14:06 ShGKme

It's not a clone imho. That one is Make an option so that closing the app exits rather than minimising to tray.What i suggest is prevent closing the app on x. And minimize to taskbar, i'm not talking of system tray

dariocigna avatar Jun 06 '25 14:06 dariocigna

What i suggest is prevent closing the app on x. And minimize to taskbar, i'm not talking of system tray

This is nothing we should be considering. The operating system is judging those parts.

nickvergessen avatar Jun 06 '25 14:06 nickvergessen