telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.12k stars 5.18k forks source link

WebView has crashed message in Linux client #27418

Closed trufanov-nok closed 8 months ago

trufanov-nok commented 8 months ago

Steps to reproduce

  1. Go to https://t.me/opergoblin_bot
  2. Press topmost button ("Tariffs"/"Тарифы")
  3. A pop new window is open with error message. Console prints following:
    
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgioenvironmentproxy.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognomeproxy.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libdconfsettings.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiognutls.so
    /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
    Failed to load module: /home/myusername/snap/telegram-desktop/common/.cache/gio-modules/libgiolibproxy.so


![image](https://github.com/telegramdesktop/tdesktop/assets/5746456/f5d2ddcf-f541-410a-9199-e73e28d35b64)

My sistem is:
Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-14-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-3632QM CPU @ 2.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000
Manufacturer: LENOVO
Product Name: Lenovo G780
System Version: Lenovo G780

### Expected behaviour

Web content displayed properly in the new window

### Actual behaviour

WebView has crashed message has been displayed

### Operating system

Kubuntu 23.10

### Version of Telegram Desktop

4.14.9

### Installation source

Snap

### Crash ID

_No response_

### Logs

_No response_
ilya-fedin commented 8 months ago

27363

CreaturePH commented 8 months ago

27363

This is not a specific web app issue, webview does not work for any web app. Didn't work in Ubuntu 20.04 and doesn't work now after updating to Ubuntu 22.04. At the moment, Telegram Version 4.14.15 is installed, from the Snap Store. Could it be that my system is missing some component? What exactly does Telegram use to display web content?

ilya-fedin commented 8 months ago

Yeah, #27363 is exactly about that. Please comment there if you want answers.