FS#78543 - [telegram-desktop] Could not initialize WebView

Attached to Project: Community Packages
Opened by jtagcat (jtagcat) - Wednesday, 17 May 2023, 21:21 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Steps to reproduce:
https://t.me/DurgerKingBot
/start → Order Food

Error: Could not initialize WebView

When I tried to run it from the console, it starts to load and results in Segmentation fault (core dumped).
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:06 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/telegram-desktop/issue s/1
Comment by jtagcat (jtagcat) - Wednesday, 17 May 2023, 21:22 GMT
Sway (Wayland)
Comment by Toolybird (Toolybird) - Wednesday, 17 May 2023, 21:45 GMT
Optional deps installed?

webkit2gtk (optional) - embedded browser features
xdg-desktop-portal (optional) - desktop integration

> Segmentation fault (core dumped)

Please get a backtrace with debug symbols [1]. Usually it's as simple as this (but not always for some reason):

$ coredumpctl gdb (then answer y when it asks "Enable debuginfod for this session?")
(gdb) set logging enabled
(gdb) bt (or bt full)

Then post gdb.txt

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces
Comment by jtagcat (jtagcat) - Saturday, 20 May 2023, 19:16 GMT
.
Comment by Toolybird (Toolybird) - Saturday, 20 May 2023, 20:56 GMT
Looks to be going wrong somewhere in qt6-wayland...which you might have to report upstream. Assigning to PM's for a look.
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 21 June 2023, 21:56 GMT
I have zero idea what's wrong here. It might be because of upstream's patches to Qt6 (which we don't have). However, I once went down the path of compiling our own static Qt with their patches and that had a whole host of other problems.
Comment by Ilya Fedin (ilya-fedin) - Thursday, 14 September 2023, 10:28 GMT
Try to separate libqt-wayland-compositor-wayland-egl.so from qt6-wayland to a standalone package and mark telegram-desktop as conflicting with that package as mentioned on https://github.com/telegramdesktop/tdesktop/wiki/The-Packaged-Building-Mode

Loading...