#38814·mattermost

[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

Mattermost Server Version

11.8.2

Operating System

Windows 11

Steps to reproduce

  1. Click an image with left mouse button to enlarge it.
  2. Middle mouse click the image and wait for a new tab to open.
  3. Cancel the tab before the new tab has finished loading.
  4. Application will crash
Image Image

Expected behavior

I expect the application not to crash when i abort the new tab.

Observed behavior

See steps to reproduce.

Log Output

bash
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:495762

Additional Information

Desktop app version 6.2.2

No response