# Desktop App: Windows desktop notification causing client to freeze

**URL:** https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038
**Category:** Troubleshooting
**Created:** [March 14, 2017, 5:19pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038 "2017-03-14T17:19:22Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![pete\_blake](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@pete\_blake](https://forum.mattermost.com/u/pete_blake)
#### Post date: [March 14, 2017, 5:19pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/1 "2017-03-14T17:19:22Z")

</div>

Hi

We have a number of users with desktop clients (Windows 10). A couple of clients hang when desktop notifications show. As a workaround we have had to disable desktop notififcations but it’s not ideal.

Cheers  
Pete

---

<div class="post-metadata">

### Author: ![Fischmuetze](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@Fischmuetze](https://forum.mattermost.com/u/Fischmuetze)
#### Post date: [March 15, 2017, 1:43pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/2 "2017-03-15T13:43:55Z")

</div>

Same here … no idea currently by which thing it is caused since some of our Windows 10 machines haven’t that problem (all full updated)

---

<div class="post-metadata">

### Author: ![Fabrice-Deshayes-aka](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/fabrice-deshayes-aka/32/1179_2.png) [@Fabrice-Deshayes-aka](https://forum.mattermost.com/u/Fabrice-Deshayes-aka)
#### Post date: [March 17, 2017, 1:34pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/3 "2017-03-17T13:34:41Z")

</div>

same problem here too… very annoying…

---

<div class="post-metadata">

### Author: ![yuya-oc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/yuya-oc/32/614_2.png) [@yuya-oc](https://forum.mattermost.com/u/yuya-oc)
#### Post date: [March 17, 2017, 3:29pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/4 "2017-03-17T15:29:15Z")

</div>

Hi, thanks for feedback.

Unfortunately I have never seen this problem though, is there something common in the machines? For example, situation, window state, etc.  
And I worry about some situations I haven’t tested.

- The app has been running long time.
- There are many new messages per unit of time.

Or, does developer tools window (Ctrl+Shift+I) show any logs when receiving new messages? (The message should start with `[SERVER_NAME]`. Others are ignorable in almost cases)

---

<div class="post-metadata">

### Author: ![Deukhoofd](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/deukhoofd/32/1180_2.png) [@Deukhoofd](https://forum.mattermost.com/u/Deukhoofd)
#### Post date: [March 17, 2017, 7:42pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/5 "2017-03-17T19:42:33Z")

</div>

Having the same issue here. App has not been running for a long time (an hour or so), there don’t need to be many new messages (it froze for me after the first new message), and the log doesn’t show any new messages after it freezes.

---

<div class="post-metadata">

### Author: ![pete\_blake](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@pete\_blake](https://forum.mattermost.com/u/pete_blake)
#### Post date: [March 21, 2017, 4:06pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/6 "2017-03-21T16:06:24Z")

</div>

One of the machines that has a client freezing is brand new with very little installed on to it. On that Client I can reliably recreate the issue.

The other client displays the problem intermittently.

---

<div class="post-metadata">

### Author: ![yuya-oc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/yuya-oc/32/614_2.png) [@yuya-oc](https://forum.mattermost.com/u/yuya-oc)
#### Post date: [March 22, 2017, 4:44pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/7 "2017-03-22T16:44:05Z")

</div>

If there is a certain way to reproduce the problem, I can research that…

When the problem appears, does the whole of a client completely freeze? Or is the window alive but does the inside of window freeze?

---

<div class="post-metadata">

### Author: ![pete\_blake](https://avatars.discourse-cdn.com/v4/letter/p/54ee81/32.png) [@pete\_blake](https://forum.mattermost.com/u/pete_blake)
#### Post date: [March 22, 2017, 5:08pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/8 "2017-03-22T17:08:23Z")

</div>

Everything inside the window freezes and the window cannot be moved.

---

<div class="post-metadata">

### Author: ![Darkman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/darkman/32/1420_2.png) [@Darkman](https://forum.mattermost.com/u/Darkman)
#### Post date: [July 23, 2017, 5:04pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/9 "2017-07-23T17:04:39Z")

</div>

I also have the same issue, desktop client freezes with every notification, requiring me to kill the process in task manager.

@yuya-oc I’m able to perform any debuging/troubleshooting/running tools that you think might be helpful in getting more information about the issue.

General info:  
Windows 10 Pro 64bit (10.0.15063)  
Desktop App 3.7.0

---

<div class="post-metadata">

### Author: ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)
#### Post date: [July 23, 2017, 5:21pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/10 "2017-07-23T17:21:38Z")

</div>

Hi @Darkman @Deukhoofd @Fischmuetze @pete_blake @Fabrice-Deshayes-aka

Can you help with the following questions? That would be really helpful for our investigation:

1. Can you download one of these test builds? They have some performance improvements, and we’re hoping it would resolve the freezing issues you guys have been experiencing.

- 32-bit installer: […/win32.exe](https://295-67276967-gh.circle-artifacts.com/0/tmp/circle-artifacts.S9cSn15/mattermost-setup-3.7.0-win32.exe)
- 64-bit installer: […/win64.exe](https://295-67276967-gh.circle-artifacts.com/0/tmp/circle-artifacts.S9cSn15/mattermost-setup-3.7.0-win64.exe)

Do you still see the issue on the above build?

Note that they haven’t been code-signed, but are “safe” (built by our desktop team)

1. If 1) doesn’t help, can you turn off desktop notifications from Account Settings \> Notifications \> Send Desktop Notifications? Once turned off, do you still see the freezing issues?

Many thanks for anyone who tries these two steps. All feedback is appreciated to help fix the issue.

---

<div class="post-metadata">

### Author: ![Darkman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/darkman/32/1420_2.png) [@Darkman](https://forum.mattermost.com/u/Darkman)
#### Post date: [July 23, 2017, 5:30pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/11 "2017-07-23T17:30:40Z")

</div>

@jasonblais This test build fixes the issue for me. Do you know how long it will be until these improvements will be on stable/release?

Thanks for your work and everyone else’s work on a great project.

---

<div class="post-metadata">

### Author: ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)
#### Post date: [July 23, 2017, 6:09pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/12 "2017-07-23T18:09:56Z")

</div>

Awesome, that’s great news @Darkman! FYI @yuya-oc

If anyone else would like to try, that would be helpful. It was tricky to find the root cause as it wasn’t reproducing for us.

We weren’t planning to release a new version until a little later, but we might do a minor version release (Desktop App v3.7.1) for this bug fix.

---

<div class="post-metadata">

### Author: ![yuya-oc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/yuya-oc/32/614_2.png) [@yuya-oc](https://forum.mattermost.com/u/yuya-oc)
#### Post date: [July 24, 2017, 12:29pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/13 "2017-07-24T12:29:27Z")

</div>

Thanks @Darkman, I’m glad to hear that!

@jasonblais To make sure, I want one more tester at least. But probably the test build would work well. If it’s really okay, I think we can backport the fix against to v3.7 branch.

---

<div class="post-metadata">

### Author: ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)
#### Post date: [July 24, 2017, 12:51pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/14 "2017-07-24T12:51:56Z")

</div>

Yeah let’s wait to hear from at least one other person since we couldn’t reliably reproduce.

We have a customer testing it as well, and they said they’ll let us know.

---

<div class="post-metadata">

### Author: ![GhostofGoes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ghostofgoes/32/1570_2.png) [@GhostofGoes](https://forum.mattermost.com/u/GhostofGoes)
#### Post date: [September 11, 2017, 7:07pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/15 "2017-09-11T19:07:31Z")

</div>

I’m encountering this issue as well. It will occur if a desktop notification appears, regardless of whether the window is focused, minimized, or closed. Upon occurrence, I have to force kill all Mattermost processes using task manager. Process will re-occur upon restart of Mattermost if another notification appears.

I have no tried rebooting or reinstalling, and am not planning to.  
Workaround is disabling desktop notifications for each server I use, as there is no global option in the app AFAIK.

System: Windows 10 Enterprise x64 build 14393  
Mattermost: 3.7.0

---

<div class="post-metadata">

### Author: ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)
#### Post date: [September 11, 2017, 8:35pm UTC](https://forum.mattermost.com/t/desktop-app-windows-desktop-notification-causing-client-to-freeze/3038/16 "2017-09-11T20:35:06Z")

</div>

@Darkman @GhostofGoes and others on this thread: we released a new version of the desktop app (3.7.1), which contains a bug fix for the freezing issue you experienced.

You can download the latest version here: [about.mattermost.com/downloads/](http://about.mattermost.com/downloads/)

If you still have the same in v3.7.1, let us know.
