FS#75989 - [telegram-desktop] Gnome Shell square frame bug.

Attached to Project: Community Packages
Opened by kek (FarLine99) - Friday, 23 September 2022, 14:12 GMT
Last edited by Toolybird (Toolybird) - Sunday, 09 October 2022, 22:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Jiachen Yang (farseerfc)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
A terrible gray square frame around the Telegram window. The problem occurred with the latest update of the telegram-desktop package to version 4.2.0-1. Everything was fine on the previous version, I checked through the installation from the package archive. Observed only in Gnome Shell. Photo attached.

Additional info:
Version 4.2.0-1

Steps to reproduce:
1. Use Gnome Shell 42.5-1.
2. Use telegram-desktop 4.2.0-1.
3. See weird square frame around window.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 09 October 2022, 22:31 GMT
Reason for closing:  Upstream
Comment by Toolybird (Toolybird) - Friday, 23 September 2022, 21:47 GMT
"terrible" is not what I'd call it. It goes away when window is maximized. I'd guess the glitch is caused by some lib, maybe qt6 related. You should probably report this upstream.
Comment by kek (FarLine99) - Friday, 23 September 2022, 21:52 GMT
Okey, maybe not terrible but bad. Anyway it is problem and Flatpak version with the same version has not that problem. So it would be cool if package developers would fix that.
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 26 September 2022, 10:37 GMT
Does the frame go away if you disable the option "Use system window frame" in the settings? For me, it does.
Comment by kek (FarLine99) - Monday, 26 September 2022, 11:12 GMT
I don't have this option in Gnome, in Plasma - yes, Gnome - no. Only "collapse to the taskbar" and "run telegram at system startup"
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 26 September 2022, 12:17 GMT
That's really strange - not really sure how to proceed here and if upstream would consider it a bug on their end. I suppose it might be the more up to date versions of packages that we build against?
Comment by kek (FarLine99) - Monday, 26 September 2022, 12:40 GMT
Sorry, O didn't understand what do you want to say in last sentence. Maybe I should write it to telegram developers to fix that?
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 26 September 2022, 13:40 GMT
Yeah, so that's what I was trying to convey. They might not accept this issue if their own builds work for you, though.
Comment by kek (FarLine99) - Monday, 26 September 2022, 13:45 GMT
Problem is that the same version but flarpak is working without any bugs, so I think that my bugreport will be reverted. So I don't know what to do, maybe it is bug with QT, maybe with package, brr...
Comment by José Miguel Sarasola (alosarjos) - Wednesday, 28 September 2022, 05:25 GMT
In case it helps, yeah, using their own statically compiled binary doesn't have the border, so seems to be something related to the dependencies the package is build against in the Arch side. Not sure which package.

Regarding the "Use system Window frame", at least on Gnome, the option is not available if running on Wayland mode.

PD: This window border only happens on native wayland mode.
Comment by kek (FarLine99) - Wednesday, 28 September 2022, 06:04 GMT
Oh, yeah. I didn't write that I am using Gnome with wayland. And with X11 problem disappears. In X11 case, there is system border option, and with it ticked on there is no bug, and with it ticked off there also no any bug. So it is wayland related problem. But if I use previous version with the same dependencies on system, there is no problem, so I think that problem is telegram package related.
Comment by kek (FarLine99) - Wednesday, 28 September 2022, 18:57 GMT
Okey, problem persist in Debian-testing KDE Plasma also. I think that some qt stuff is broken. System frame option helps a lot, problems disappears if I enable it. There is no problem with X11 also, only on wayland.
Comment by Jiachen Yang (farseerfc) - Friday, 30 September 2022, 23:59 GMT
Can you please test the 4.2.4 version of telegram-desktop ?
Comment by kek (FarLine99) - Sunday, 09 October 2022, 22:27 GMT
  • Field changed: Percent Complete (100% → 0%)
Didn't see message from maintainer, problem still persists on 4.2.4 version with Gnome Wayland.
Comment by Toolybird (Toolybird) - Sunday, 09 October 2022, 22:31 GMT
Well, if it also exists in Debian-testing KDE Plasma, this is not an Arch packaging bug. It's clearly an upstream and/or other Qt lib related bug.

Loading...