[Bug]: Middle mouse clicking an image and canceling the tab causes application crash
Author: joakimwennergrenCreated Sep 28, 2026Updated Sep 28, 2026
LabelsBug Report/Open
Before you file a bug report
- I have checked the issue tracker and have not found an issue that matches the one I'm filing.
- This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
- This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.uservoice.com/forums/306457-general/.
- This issue reproduces on one of the currently supported server versions.
- I have read the contribution guidelines and the Mattermost Handbook Contribution Guidelines.
Mattermost Server Version
11.8.2
Operating System
Windows 11
Steps to reproduce
- Click an image with left mouse button to enlarge it.
- Middle mouse click the image and wait for a new tab to open.
- Cancel the tab before the new tab has finished loading.
- Application will crash
Expected behavior
I expect the application not to crash when i abort the new tab.
Observed behavior
See steps to reproduce.
Log Output
Application: Mattermost 6.2.2
Platform: Windows_NT 10.0.26100 x64
TypeError: Cannot read properties of undefined (reading 'isDestroyed')
at U.isDestroyed (C:\Program Files\Mattermost\resources\app.asar\index.js:2:498187)
at U.loadRetry (C:\Program Files\Mattermost\resources\app.asar\index.js:2:499260)
at C:\Program Files\Mattermost\resources\app.asar\index.js:2:495762Additional Information
Desktop app version 6.2.2
No response
Source: mattermost/mattermost