Desktop: On Windows, Desktop notification duration settings in Control Panel not honoured since v3.7.1

Created on 10 Sep 2017  路  6Comments  路  Source: mattermost/desktop

I confirm (by marking "x" in the [ ] below):


Summary
On Windows, Desktop notification duration settings in Control Panel not honoured since version 3.7.1.

Steps to reproduce
On Windows:

  1. [Control Panel] -> [Ease of Access] -> [Make it easier to focus on tasks] -> [Adjust time limits and flashing visuals]
  2. Change the duration to 30 sec for instance. (Any duration greater than 5 sec)
  3. Receive a message on Mattermost desktop app (specifically version 3.7.1)
  • Operating System
    Windows 7
  • Mattermost Desktop App version
    3.7.1.
  • Mattermost Server version
    4.2.0 or any version.

Expected behavior
Desktop notification balloon stays open for more than 5 sec.

Observed behavior
Desktop notification balloon stays open only for 5 sec regardless of the Control Panel settings.

Possible fixes
I am not sure but I assume that this issue is related to the upgrade from 3.7.0 to 3.7.1.
(Maybe related to Electron upgrade to 1.6.10)
I've looked into the source code but failed to find the right place to fix.
I have disability and 5 sec is too short for me to click on the balloon. It would be amazing if this issue can be solved.
Thanks for all your effort to make this app amazing.
Best.

Electron Windows

Most helpful comment

All 6 comments

I haven't known the setting, thanks!

Since v3.7.1, we changed notifications from system tray balloon to Electron's one in order to solve #67.

Notification is implemented at brightray. I feel here is the place to set its duration. And the duration seems to be stored as HKEY_CURRENT_USER楼Control Panel楼Accessibility楼MessageDuration in registry. So we might be able to reflect it by creating a PR against to Electron.

I tested this and I didn't see this issue (desktop notification balloon stays open for more than 5 sec).

I also tested this (Win10) and it's working as expected for me.

ok on Win10, and not ok on Win7(4 sec).

  • Mattermost desktop app 4.0.0

Closed by #711

Was this page helpful?
0 / 5 - 0 ratings