Bug 489678 - Telegram fails to redraw damaged screen regions
Summary: Telegram fails to redraw damaged screen regions
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.27.11
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 14:10 UTC by Lev
Modified: 2024-07-03 21:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lev 2024-07-03 14:10:42 UTC
SUMMARY

Latest Telegram desktop client (5.2+) doesn't update damaged screen regions on kwin-wayland. The bug was reported to Telegram developers and their reply was:

This means your compositor has a bugged implementation of damage tracking with fractional scaling. I don't think disabling fractional scaling support or partial damage support just because old distros have bugs is a good idea so I think you should either switch to a distro with latest Plasma or report the bug to kwin package via your distro bugtracker.

https://github.com/telegramdesktop/tdesktop/issues/28113#issuecomment-2203232661

STEPS TO REPRODUCE
1.  Run latest Telegram desktop in Wayland session.
2.  Scroll a chat or open any menu.

OBSERVED RESULT

Parts of Telegram window are not updated.

EXPECTED RESULT

Program window should be updated according to user interaction.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Comment 1 Nate Graham 2024-07-03 21:00:10 UTC
>  I think you should either switch to a distro with latest Plasma
Yep, good advice. :) Fractional scaling support on Wayland has hugely improve since 5.27.