Closed kaiyga closed 10 months ago
Yeah, it looks like webkitgtk has lost compatibility with QtWaylandCompositor in one of recent webkitgtk updates so apparently it won't work on Wayland anymore (in case of GNOME on X11 as well).
This is not a solution to the problem, but only a statement. But that's good too Thanks
Yeah, there's sadly no solution. Maybe web bots should be disabled on Linux...
@Aokromes i guess it's not really a 3rd party, tdesktop has to acknowledge this by disabling or removing the non-working implementation. Maybe also add this to #25126 so someone would help to report this to Qt or webkitgtk...
Ideally the cross-platform API abstraction should get API to signal that the webview has crashed so the window could display a text for that instead of just being empty. Once the API is made, it should be connected to the platform code here, with an intermediate here or there. After that the API users (1, 2) just have to listen to the signal and display the text.
By signal I mean not a Qt signal (they're discouraged in tdesktop codebase) but a rpl::producer or a function to set a handler like already existing ones in the class. Sadly I haven't got anywhere in discusstions with @john-preston about the API, apparently he is too busy...
I tried to craft something based on the pre-existing widget destruction signal, it won't work with X11 but will with Wayland where most crashes seem to happen
Steps to reproduce
Install Wayland, Gnome shell pacman -S telegram-desktop
1.Start Telegram-Desktop. Open wallet 2.Waiting...Waiting...Waiting!?!
Expected behaviour
View menu of Wallet like at on my phone?
Actual behaviour
Infinity loading
https://github.com/telegramdesktop/tdesktop/assets/92279086/df190428-44de-4a03-a7b1-d75f707ddf5c
Operating system
Arch Linux | Wayland | Shell Gnome 45.2
Version of Telegram Desktop
4.12.2
Installation source
Other (unofficial) source
Crash ID
No response
Logs