Skip to content
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

[MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux #3214

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

devinbinnie
Copy link
Member

Summary

After fixing #3201, I introduced a bug where the app would not restore its window when booting a second instance, due to the removal of MainWindow.show(), which was removed since it interfered with the normal app boot process from cold. I also noticed that from cold, Linux would ignore deep links.

This PR fixes both of the above issues.

Ticket Link

https://mattermost.atlassian.net/browse/MM-61864

Fix issue where the app will not restore when opened again from cold
Fix issue where deep linking from cold didn't work on Linux

… from cold, fix issue where deep linking from cold didn't work on Linux
@devinbinnie devinbinnie added 2: Dev Review Requires review by a core committer CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Nov 19, 2024
@devinbinnie devinbinnie added this to the v5.10.0 milestone Nov 19, 2024
src/main/app/initialize.ts Outdated Show resolved Hide resolved
@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Nov 19, 2024
@devinbinnie devinbinnie merged commit fad05fd into master Nov 19, 2024
20 checks passed
@devinbinnie devinbinnie deleted the MM-61864 branch November 19, 2024 21:38
@mattermost-build
Copy link
Contributor

Cherry pick is scheduled.

mattermost-build pushed a commit that referenced this pull request Nov 19, 2024
… from cold, fix issue where deep linking from cold didn't work on Linux (#3214)

* [MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux

* Update src/main/app/initialize.ts

Co-authored-by: Maria A Nunez <[email protected]>

---------

Co-authored-by: Maria A Nunez <[email protected]>
(cherry picked from commit fad05fd)
@mattermost-build mattermost-build added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Nov 19, 2024
devinbinnie added a commit that referenced this pull request Nov 19, 2024
… from cold, fix issue where deep linking from cold didn't work on Linux (#3214) (#3215)

* [MM-61864] Fix issue where the app will not restore when opened again from cold, fix issue where deep linking from cold didn't work on Linux

* Update src/main/app/initialize.ts

Co-authored-by: Maria A Nunez <[email protected]>

---------

Co-authored-by: Maria A Nunez <[email protected]>
(cherry picked from commit fad05fd)

Co-authored-by: Devin Binnie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants