RocketChat / RocketChat/Rocket.Chat

[BUG] HEIC picture preview not working in Desktop App / Browser

Open
#23,638 55 comments 23 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
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.
image

Images uploaded before upgrade works fine

Steps to reproduce:
  1. Post HEIC image
  2. 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
Clipboard - November 5, 2021 11_35 AM

Chrome says this:
Clipboard - 5  listopad 2021 11_38

Don't know what's wrong with the app but it's electron -> Don't think there's smth special.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.