RocketChat / RocketChat/Rocket.Chat
[BUG] HEIC picture preview not working in Desktop App / Browser
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
After upgrade server to debian 11 and mongodb 4.2 there's issue with HEIC images.
I can't load HEIC image in browser or in electron desktop app. On android / 🍎 phone it works.

Images uploaded before upgrade works fine
Steps to reproduce:
- Post HEIC image
- Try to view it in browser or desktop app
Expected behavior:
HEIC loaded
Actual behavior:
HEIC not loaded, even after clicking to retry
Server Setup Information:
- Version of Rocket.Chat Server: 3.18.2
- Operating System: Debian 11
- Deployment Method: tar
- Number of Running Instances: 1 and 3 (two workspaces with same behavior)
- DB Replicaset Oplog: yes
- NodeJS Version: 12.22.1
- MongoDB Version: 4.2.17
Client Setup Information
- Desktop App or Browser Version: any desktop browser
- Operating System: Windows, Linux, Mac
Additional context
N/A
Relevant logs:
No RC logs here.
Firefox says NS_BINDING_ABORTED

Chrome says this:

Don't know what's wrong with the app but it's electron -> Don't think there's smth special.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are identified in the report. Reproduce the HEIC preview failure in a browser and the Electron desktop app using the listed server setup, then trace the image-loading path; done means HEIC images uploaded after the upgrade load reliably in both clients, including after retry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, electron, mongodb, node.js
- Domain
- backend, desktop, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100