-
Notifications
You must be signed in to change notification settings - Fork 849
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
macOS client in the Dock spawns a new copy after restart #705
Comments
@tsilcher Did you see the issue previously, or is it something new with the new version (v4.0.0)? |
This was the same behavior on version 3.x for macOS. |
@tsilcher Thanks! @yuya-oc If we bundled the Mac app as a .dmg (#588), would it fix the issue? Since then the Mattermost app would always be considered as an "Application" by Mac. I think right now it's not always considered as such, unless the user deliberately moves the file to the Applications folder. |
Looking a bit deeper I noticed that it is indeed spawning a new instance from a temporary path besides the actual path inside
|
@jasonblais Possibly .dmg might fix the issue. I have found issues which are similar to ours.
In the issue, a workaround is posted: electron/electron#9293 (comment) |
Does that workaround help you @tsilcher? |
It does not work for me. It seems to be a problem with the Electron framework. |
Yeah, seems to be a bug with Electron. I see a note in electron/electron#9293 that |
Jira ticket for tracking: https://mattermost.atlassian.net/browse/MM-14169. |
Should be fixed in v4.2. Please comment if not and we can reopen |
I confirm (by marking "x" in the [ ] below: [x]):
https://mattermost.atlassian.net/browse/MM-14169
Summary
Steps to reproduce
Please include:
Expected behavior
After adding the Mattermost client to the Dock it should open the same app (bouncing icon like every macOS app, default behavior)
Observed behavior
After adding the Mattermost client to the Dock it open a new copy of the app displaying two Mattermost icons in the Dock.
Please include relevant error messages and/or screenshots:
The text was updated successfully, but these errors were encountered: