Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File performer and title aren't shown #28467

Open
zelark opened this issue Sep 27, 2024 · 5 comments
Open

File performer and title aren't shown #28467

zelark opened this issue Sep 27, 2024 · 5 comments
Labels

Comments

@zelark
Copy link

zelark commented Sep 27, 2024

Steps to reproduce

I've already uploaded a file via tg bot api. Its file_id is CQACAgIAAxkDAAIT92b2YSn8R5fUAWHBCx_TSBTTLAQ4AAJWSwACbl2xSzuiZLEVXOa5NQQ.

Full info about the file:

{:duration 1688,
 :file_id "CQACAgIAAxkDAAIT92b2YSn8R5fUAWHBCx_TSBTTLAQ4AAJWSwACbl2xSzuiZLEVXOa5NQQ",
 :file_name "softy_The_Day_I_Passed_lofi_hip_hop_relaxing_beats_pzxY5.m4a",
 :file_size 27292654,
 :file_unique_id "AgADVksAAm5dsUs",
 :mime_type "audio/mp4",
 :performer "Lofi Girl - Chill Beats",
 :title "softy - The Day I Passed ☕️ [lofi hip hop/relaxing beats]"}

So you can resend it by file_id to reproduce the bug.

Expected behaviour

File performer and title are shown as it is in the latest iOS client (my current version 11.1.1).
A screenshot from it
image

Actual behaviour

File performer and title aren't shown
Screenshot 2024-09-27 at 10 40 37

Operating system

macOS Catalina v.10.15.7

Version of Telegram Desktop

5.5.5

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

@zelark zelark added the bug label Sep 27, 2024
@zelark
Copy link
Author

zelark commented Sep 27, 2024

I guess a cause is an emoji in the name, but meantime it is perfectly shown in the caption
image

@zelark
Copy link
Author

zelark commented Sep 27, 2024

Meanwhile in the web.telegram.org it looks ok for me

image

I tried to change font in TG Desktop, but it didn't helped.

@zelark
Copy link
Author

zelark commented Sep 27, 2024

In native Telegram client for macOS everything is fine
image

image

@john-preston
Copy link
Member

Yeah, strangely macos qt has a problem with showing some texts with emoji, if not done through my custom text rendering. I'm not using it for file filenames because it doesn't support eliding long strings with ellipsis "..." in the middle of the string (instead of the end), and that's what I want for filenames. It should be supported at some point, but I don't have a ETA :(

@zelark
Copy link
Author

zelark commented Oct 3, 2024

Thanks. Checked that on Sonomna 14.3.1 there is the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants