void-linux / void-linux/void-packages

Telegram Freeze when sending PDF.

Open
#53,731 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.12.6_3 x86_64 GenuineIntel notuptodate rFFF

Package(s) Affected

telegram-desktop-5.9.0_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Sending PDFs files like other files.

Actual behaviour

I use Telegram daily and can send any file except pdf files. When I send files like tar, jpeg, zip, etc., they are sent without any issues. However, when I try to send a pdf file, Telegram freezes, and the only way to close it is by using the pkill command in the terminal.

I attempted some troubleshooting to identify or describe the issue but couldn’t find anything conclusive. Below is the output from the terminal when I open Telegram. Although I don’t think it’s directly related, I’m including it here for reference:

[E] pw.loop [loop.c:69 pw_loop_new()] 0x7ff2f6576de0: can't make support.system handle: No such file or directory
[ALSOFT] (EE) Failed to create PipeWire event thread loop (errno: 2)
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter

I put video to show the issue.

https://github.com/user-attachments/assets/f72b0726-c658-4979-b9b6-40c8fb17611c

Steps to reproduce

1- Open rofi by keyboard shortcut.
2- Choose telegram-desktop.
3- Choose contact, channel, or group.
4- Pressing attachment icon to choose pdf file.
5- Telegram Freeze.

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

Start by reproducing the freeze through rofi, telegram-desktop, a contact or group, the attachment icon, and a PDF file, comparing it with tar, JPEG, or ZIP files. Use the provided video and terminal output as references; done means PDF files can be selected and sent without Telegram freezing.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.