Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telegram-desktop-2.8.10_1: main window is not displayed #32198

Closed
whoizit opened this issue Jul 25, 2021 · 8 comments
Closed

telegram-desktop-2.8.10_1: main window is not displayed #32198

whoizit opened this issue Jul 25, 2021 · 8 comments

Comments

@whoizit
Copy link
Contributor

whoizit commented Jul 25, 2021

System

  • xuname:
    output of xuname (part of xtools)
~ > xi -u                                                                                                               ± master | 25 Jul 22:43:04
[*] Updating repository `http://ftp.debian.ru/mirrors/voidlinux/current/x86_64-repodata' ...
[*] Updating repository `http://ftp.debian.ru/mirrors/voidlinux/current/nonfree/x86_64-repodata' ...
[*] Updating repository `http://ftp.debian.ru/mirrors/voidlinux/current/multilib/x86_64-repodata' ...
[*] Updating repository `http://ftp.debian.ru/mirrors/voidlinux/current/multilib/nonfree/x86_64-repodata' ...
~ > xuname                                                                                                              ± master | 25 Jul 22:43:09
Do you want to import this public key? [Y/n] Y
Do you want to import this public key? [Y/n] Y
Do you want to import this public key? [Y/n] Y
Do you want to import this public key? [Y/n] Y
Void 5.12.19_1 x86_64 AuthenticAMD notuptodate rFFFFFFFFF
  • package:
    affected package(s) including the version: xbps-query -p pkgver <pkgname>
~ > xbps-query -p pkgver telegram-desktop                                                                               ± master | 25 Jul 22:43:48
telegram-desktop-2.8.10_1

Expected behavior

Actual behavior

Steps to reproduce the behavior

~ > telegram-desktop                                                  ± master | 25 Jul 22:41:22

(telegram-desktop:12378): Telegram-WARNING **: 22:41:23.517: Application was built without embedded fonts, this may lead to font issues.

(telegram-desktop:12378): GLib-GObject-WARNING **: 22:41:23.901: cannot register existing type 'GtkWidget'

(telegram-desktop:12378): GLib-GObject-CRITICAL **: 22:41:23.901: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(telegram-desktop:12378): GLib-GObject-WARNING **: 22:41:23.901: cannot register existing type 'GtkBuildable'

(telegram-desktop:12378): GLib-GObject-CRITICAL **: 22:41:23.901: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(telegram-desktop:12378): GLib-CRITICAL **: 22:41:23.901: g_once_init_leave: assertion 'result != 0' failed

(telegram-desktop:12378): GLib-GObject-CRITICAL **: 22:41:23.901: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(telegram-desktop:12378): GLib-GObject-CRITICAL **: 22:41:23.901: g_type_register_static: assertion 'parent_type > 0' failed
IDEA_JDK=/usr/lib/jvm/jbrsdk
QT_SCALE_FACTOR=1.1
MAIL=/var/mail/user
USER=user
PEER_LIST=/home/user/build/popura/assets/peers.txt
XDG_SEAT=seat0
XDG_SESSION_TYPE=wayland
SSH_AGENT_PID=21772
SHLVL=1
BROWSER=firefox
XCURSOR_SIZE=24
HOME=/home/user
MOTD_SHOWN=pam
OLDPWD=/home/user/build/fluffychat
MOZ_ENABLE_WAYLAND=1
SWAYSOCK=/home/user/tmp/sway-ipc.1000.21764.sock
SUDO_EDITOR=vim
CHROME_EXECUTABLE=/bin/chromium
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
QT_QPA_PLATFORMTHEME=gtk2
WAYLAND_DISPLAY=wayland-1
LOGNAME=user
GDK_DPI_SCALE=1.2
QT_WAYLAND_FORCE_DPI=physical
_=/bin/grc
XDG_SESSION_CLASS=user
TERM=foot
XDG_SESSION_ID=6
LC_COLLATE=C
HISTCONTROL=ignoreboth
PATH=/home/user/.asdf/shims:/home/user/.asdf/bin:/home/user/.local/bin:/home/user/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/user/.cargo/bin:/home/user/.dcli/bin:/home/user/.go/bin:/home/user/.pub-cache/bin:/home/user/.poetry/bin
XDG_RUNTIME_DIR=/home/user/tmp
DISPLAY=:0
LANG=en_US.UTF-8
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlIvMES/agent.21764
SHELL=/bin/zsh
GOPATH=/home/user/.go
SDL_VIDEODRIVER=wayland
_JAVA_AWT_WM_NONREPARENTING=1
XDG_VTNR=1
PWD=/home/user
JAVA_HOME=/usr/lib/jvm/openjdk11
QT_QPA_PLATFORM=wayland-egl
XDG_DATA_DIRS=/home/user/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
I3SOCK=/home/user/tmp/sway-ipc.1000.21764.sock
EDITOR=vim
COLORTERM=truecolor
XDG_CONFIG_HOME=/home/user/.config
XDG_CACHE_HOME=/home/user/.cache
ASDF_DIR=/home/user/.asdf
DART_SDK=/home/user/.asdf/installs/dart/2.13.4/dart-sdk
@ericonr
Copy link
Member

ericonr commented Jul 25, 2021

@whoizit please review your env output for secrets and renew them. I would consider them compromised after having posted here

@whoizit
Copy link
Contributor Author

whoizit commented Jul 25, 2021

@ericonr I deleted them immediately after publication. Thanks

@not-chicken
Copy link
Contributor

This is supposedly fixed via these patches, versions containing these are currently tagged as pre-release.

@whoizit
Copy link
Contributor Author

whoizit commented Jul 26, 2021

I can't get the patches to work

=> telegram-desktop-2.8.11_1: running do-patch hook: 00-patches ...
=> telegram-desktop-2.8.11_1: patching: 0001-musl.patch.
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file Telegram/lib_base/base/platform/linux/base_info_linux.cpp.rej
=> ERROR: telegram-desktop-2.8.11_1: do-patch_00-patches: 'patch -sl ${_args} -i ${_patch} 2> /dev/null' exited with 1
=> ERROR:   in _process_patch() at common/hooks/do-patch/00-patches.sh:34
=> ERROR:   in hook() at common/hooks/do-patch/00-patches.sh:51
=> ERROR:   in run_func() at common/xbps-src/shutils/common.sh:21
=> ERROR:   in run_pkg_hooks() at common/xbps-src/shutils/common.sh:245
=> ERROR:   in run_step() at common/xbps-src/shutils/common.sh:71
=> ERROR:   in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33

@whoizit
Copy link
Contributor Author

whoizit commented Jul 26, 2021

unset QT_QPA_PLATFORMTHEME helps to me

@Johnnynator
Copy link
Member

Can you test if this still happens with 2.9 without unsetting QT_QPA_PLATFORMTHEME

@whoizit
Copy link
Contributor Author

whoizit commented Aug 2, 2021

double checked, 2.9.0 works with QT_QPA_PLATFORM=wayland-egl and QT_QPA_PLATFORMTHEME=gtk2. Didn't work before. Can be closed.

@Johnnynator
Copy link
Member

Okay, thx for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants