RocketChat / RocketChat/Rocket.Chat

snap image - opening dialog does not have proper font #21381

Open
#21,382 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

snap image - opening dialog does not have proper font. Letters are displayed as rectangles. I don't experience the same problem with Signal snap app.

Steps to reproduce:

Install snap:
rocketchat-desktop 3.0.1 196 latest/stable rocketchat✓ -
Run snap
Open dialog to send file, i get fonts with rectangles everywhere. I run Signal app snap and everything works there.

Expected behavior:

opening dialogs has proper font

Actual behavior:

opening dialogs do not have font
image

Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

I don't know. Your client application does not say what is running on the server.

Client Setup Information

snap
rocketchat-desktop 3.0.1 196 latest/stable rocketchat✓ -

Additional context

openSuse tumbleweed
KDE

Relevant logs:

This does not work - To collect logs from your browser press Ctrl/Cmd + Shift + j. Errors appear in red.
image

from dev tools console:
rootWindow.js:1481 [bugsnag] Error: Invalid configuration

  • appVersion should be a string, got null
    at generateConfigErrorMessage (rootWindow.js:1699)
    at Client._configure (rootWindow.js:1481)
    at new Client (rootWindow.js:1388)
    at Object.createClient (rootWindow.js:3032)
    at Object.start (rootWindow.js:3051)
    at setupBugsnag (rootWindow.js:3687)
    at rootWindow.js:3700
    at Generator.next ()
    at fulfilled (/snap/rocketchat-des…/tslib/tslib.js:111)
    DevTools failed to load SourceMap: Could not load content for file:///snap/rocketchat-desktop/196/resources/app.asar/app/rootWindow.js.map:
    DevTools failed to load SourceMap: Could not load content for file:///snap/rocketchat-desktop/196/resources/app.asar/node_modules/@rocket.chat/fuselage/dist/fuselage.development.js.map:
    DevTools failed to load SourceMap: Could not load content for file:///snap/rocketchat-desktop/196/resources/app.asar/node_modules/@rocket.chat/fuselage-hooks/dist/index.js.map:

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

Reproduce the font-rendering problem with Rocket.Chat Desktop 3.0.1 installed as a snap on openSUSE Tumbleweed with KDE, then review the reported rootWindow.js console output. Done means the file-dialog opening interface displays readable fonts instead of rectangles in the snap client.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.