FS#73280 - telegram desktop from version 3.4.3 no longer works with fractional scaling

Attached to Project: Community Packages
Opened by andrew (andrew-ld) - Thursday, 06 January 2022, 19:37 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 17 February 2022, 00:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Jiachen Yang (farseerfc)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
telegram desktop (build released by archlinux) up to the previous version (from 3.4.3) worked properly even with fractional scaling, instead from the latest version (the 3.4.3) you see pixellation and blurring with fractional scaling (175%).

some relevant links:
https://github.com/telegramdesktop/tdesktop/issues/17517
https://github.com/telegramdesktop/tdesktop/pull/17170
https://github.com/telegramdesktop/tdesktop/issues/17173

from the comment https://github.com/telegramdesktop/tdesktop/issues/17173#issuecomment-961973625 we can deduce that the builds with static qt released by telegram seem to work (and actually installing telegram-desktop-bin from aur (3.4.3) seems to work correctly)

desktop environment kde unstable (X.Org)
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 17 February 2022, 00:36 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comments. I think this should rather be fixed upstream or by documenting it on the wiki.
Comment by Gustavo Alvarez (sl1pkn07) - Thursday, 06 January 2022, 23:22 GMT
telegram-desktop-bin has been request to delete here

PRQ#31315[1]

[1] https://lists.archlinux.org/pipermail/aur-requests/2022-January/064932.html
Comment by Antonio Rojas (arojas) - Friday, 07 January 2022, 08:57 GMT
Their binary build works because they are disabling fractional scaling in their bundled Qt. We're obviously not going to do that to accomodate a single misbehaving application, so I don't think there's much that can be done about this packaging wise.
Comment by Ryan (EmberQuill) - Thursday, 13 January 2022, 17:52 GMT
As a workaround, I was able to disable Qt scaling for Telegram by setting QT_SCREEN_SCALE_FACTORS=1 (per https://doc.qt.io/qt-5/highdpi.html#high-dpi-support-in-qt). Then I used the settings in Telegram to set the correct fractional scaling value.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 28 January 2022, 01:18 GMT
I suppose this is one of those things that should rather be in the wiki than in the package. As arojas said, we'd have to break something for most users in order to fix something else for some. Does that seem agreeable and would you add it to the wiki?

Loading...