Bug#983366: linphone-desktop: Settings popup menu
On Wed, Mar 17, 2021 at 04:11:56PM -0300, David Pirotte wrote: > > QT_QPA_PLATFORMTHEME=qt5ct linphone > > That does not solve the problem, fwiw. > > > GDK_BACKEND=x11 linphone > > That solves the problem. Ideally Qt would detect that the platform theme needs that backend and perform the configuration automatically, but apparently that is not yet implemented. I cleaned your output up a bit and diffed it with "diff -U0 debian.env appimage.env" which gives: --- debian.env 2021-03-17 20:34:13.187385487 +0100 +++ appimage.env2021-03-17 20:41:24.519376882 +0100 @@ -1,0 +2,3 @@ +APPDIR=/tmp/.mount_LinphoATI0bC +APPIMAGE=/opt/linphone/bin/Linphone-4.2.5.AppImage +ARGV0=./Linphone-4.2.5.AppImage @@ -8 +10,0 @@ -GDK_BACKEND=x11 @@ -31,0 +34 @@ +OWD=/opt/linphone/bin @@ -38,2 +40,0 @@ -PS1=\u@\h:\w \# $ -PS2=> @@ -42,0 +44 @@ +QT_QPA_PLATFORMTHEME=gtk2 @@ -45 +47 @@ -SHLVL=1 +SHLVL=2 @@ -53 +54,0 @@ -_=/usr/bin/linphone This tells us that the appimage uses the GTK2 platform theme. You could install the package qt5-gtk2-platformtheme and invoke linphone like so: GDK_BACKEND=x11 QT_QPA_PLATFORMTHEME=gtk2 linphone Then it should look and behave almost identical to the appimage variant. > Although, fwiw, (a) the window 'shape is different (the AppImage has > square corners - the debian window rounded corners, and (b) the font > family and font size are diff as well (musch smaller for the debian > version... no problem at all, big deal, just mentioning ... Any other differences will probably be due to missing fonts which you'd have to install/copy over from the appimage, though I can't find any font files on the appimage. If you find a way to make it look like the appimage, tell us how, so we can maybe tune the defaults. Regards, Dennis
Bug#983366: linphone-desktop: Settings popup menu
Hello Dennis, > GDK_BACKEND=x11 linphone That solves the problem. Although, fwiw, (a) the window 'shape is different (the AppImage has square corners - the debian window rounded corners, and (b) the font family and font size are diff as well (musch smaller for the debian version... no problem at all, big deal, just mentioning ... > QT_QPA_PLATFORMTHEME=qt5ct linphone That does not solve the problem, fwiw. David > If that doesn't fix it you need to compare the output of the above > command to the output of the same command with the appimage linphone > running. Also you should compare for both versions the output of > > tr '\0' '\n' < /proc/$(pidof linphone)/environ | \ > grep -v '^[[:space:]]\+'|sort > > Provide the outputs if you want me to take a look. Here is the AppImage output: david@aicha:~ 7 $ tr '\0' '\n' < /proc/$(pidof AppRun.wrapped)/environ | grep -v '^[[:space:]]\+'|sort ACLOCAL_FLAGS=-I /opt2/share/aclocal -I /opt/share/aclocal APPDIR=/tmp/.mount_LinphoATI0bC APPIMAGE=/opt/linphone/bin/Linphone-4.2.5.AppImage ARGV0=./Linphone-4.2.5.AppImage COLORTERM=truecolor CVSROOT=rcvs:/usr/alto/cvs CVS_RSH=ssh DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/500/bus DESKTOP_SESSION=gnome DISPLAY=:0 GDM_LANG=en_US.UTF-8 GDMSESSION=gnome GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SETUP_DISPLAY=:1 GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/15ee8f1e_2b8f_4a4f_ad4d_24482e79bef5 GNOME_TERMINAL_SERVICE=:1.106 GTK_MODULES=gail:atk-bridge GUILE_WARN_DEPRECATED=detailed HOME=/home/david IM_CONFIG_CHECK_ENV=1 IM_CONFIG_PHASE=1 LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_MEASUREMENT=en_US.utf8 LC_MONETARY=en_US.utf8 LC_NUMERIC=en_US.utf8 LC_PAPER=en_US.utf8 LC_TIME=en_US.utf8 LOGNAME=david LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00: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:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=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:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=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:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: LSHOST=139.82.89.222 MANPATH=/opt/share/man:/opt/toxic/share/man:/usr/man:/usr/share/man:/usr/X11R6/man OLDPWD=/opt/linphone OWD=/opt/linphone/bin PATH=/home/david/bin:/opt2/bin:/opt/bin:/opt/vigra/bin:/opt/linphone/bin:/opt/utox/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/alto/bin:/usr/lpdi/bin:/usr/dema/bin:/usr/tfases/bin:/usr/cmh/bin PGCLIENTENCODING=UNICODE PGDATA=/usr/local/pgsql/data PGDATESTYLE=German PGLIB=/usr/local/pgsql/lib PKG_CONFIG_PATH=/opt2/lib/pkgconfig:/opt/lib/pkgconfig:/usr/lib/pkgconfig PWD=/opt/linphone/bin QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/aicha:@/tmp/.ICE-unix/1751,unix/aicha:/tmp/.ICE-unix/1751 SHELL=/bin/bash SHLVL=2 SSH_AGENT_LAUNCHER=openssh SSH_AUTH_SOCK=/run/user/500/keyring/ssh TC51_HOME=/usr/local/Thermo-Calc/2015b TERM=xterm-256color TEXINPUTS=:./:/usr/alto/tex/styles:/usr/alto/tex/logos:/usr/lpdi/tex/styles/ThesisPUC:/usr/lpdi/tex/styles:/usr/lpdi/tex/logos:/usr/tpalm/tex/styles:/usr/tpalm/tex/logos:/usr/tpalm/projects/tactus/winterp/donnees:/usr/tpalm/projects/tactus/manuals:/usr/tpalm/projects/tactus/screenshots:/usr/local/share/guile/alto/help/images:./:/usr/alto/tex/styles:/usr/alto/tex/logos:/usr/lpdi/tex/styles/ThesisPUC:/usr/lpdi/tex/styles:/usr/lpdi/tex/logos:/usr/tpalm/tex/styles:/usr/tpalm/tex/logos:/usr/tpalm/projects/tactus/winterp/donnees:/usr/tpalm/projects/tactus/manuals:/usr/tpalm/projects/tactus/screenshots:/usr/local/share/guile/alto/help/images USER=david USERNAME=david VTE_VERSION=6203 WAYLAND_DISPLAY=wayland-0 XAUTHORITY=/run/user/500/.mutter-Xwaylandauth.GUFUZ0 XDG_CURRENT_DESKTOP=GNOME XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/500 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=gnome
Bug#983366: linphone-desktop: Settings popup menu
On Mon, Mar 15, 2021 at 11:06:38PM -0300, David Pirotte wrote: > GNOME desktop - 3.38-4 > Yes, Wayland, no idea about X 'only' > > but, worth mentioning that that the upstream appimage works > fine, I mean running under the (exact) same > 'conditions'/desktop env Okay, that's important information. The goal is now to find out what the appimage does differently. I suspect the culprit to be this library: > /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/libqgtk3.so Try running linphone like this from a shell: GDK_BACKEND=x11 linphone Alternatively like this: QT_QPA_PLATFORMTHEME=qt5ct linphone If that doesn't fix it you need to compare the output of the above command to the output of the same command with the appimage linphone running. Also you should compare for both versions the output of tr '\0' '\n' < /proc/$(pidof linphone)/environ | \ grep -v '^[[:space:]]\+'|sort Provide the outputs if you want me to take a look.
Bug#983366: linphone-desktop: Settings popup menu
Hello Dennis, > > 1- the settings pop menu appears 'detached' from the main app > > window; also, it uses a font and font size that are not the > > 'upstream' app font and size (fwiw); > > 2- it only works once: if you close and try to open the settingss > > popup again, it fails to do so, and displays the following message > > in the teminal where i launched linphone; > > (linphone:83987): Gdk-WARNING **: 23:13:05.180: Couldn't > > map as window 0x555cd9b47560 as popup because it doesn't have a > > parent > Searching for that error message leads me to believe that this is > probably a wayland issue. Does it work correctly under X? What > desktop environment are you using? GNOME desktop - 3.38-4 Yes, Wayland, no idea about X 'only' but, worth mentioning that that the upstream appimage works fine, I mean running under the (exact) same 'conditions'/desktop env > Having the output of > > sed -n '/[[:space:]]\/\(usr\|lib\).*[.]so.*/s@^[^/]\+/@/@p' \ > /proc/$(pidof linphone)/maps|sort|uniq See below, Thanks, David sed -n '/[[:space:]]\/\(usr\|lib\).*[.]so.*/s@^[^/]\+/@/@p' /proc/$(pidof linphone)/maps|sort|uniq /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so /usr/lib/x86_64-linux-gnu/dri/iris_dri.so /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so /usr/lib/x86_64-linux-gnu/ld-2.31.so /usr/lib/x86_64-linux-gnu/libantlr3c-3.4.so.0.0.0 /usr/lib/x86_64-linux-gnu/libaom.so.2.0.2 /usr/lib/x86_64-linux-gnu/libaribb24.so.0.0.0 /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0 /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.23609.1 /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0.0.0 /usr/lib/x86_64-linux-gnu/libatspi.so.0.0.1 /usr/lib/x86_64-linux-gnu/libavcodec.so.58.91.100 /usr/lib/x86_64-linux-gnu/libavutil.so.56.51.100 /usr/lib/x86_64-linux-gnu/libbctoolbox.so.1 /usr/lib/x86_64-linux-gnu/libbelcard.so.1 /usr/lib/x86_64-linux-gnu/libbellesip.so.1 /usr/lib/x86_64-linux-gnu/libbelr.so.1 /usr/lib/x86_64-linux-gnu/libblkid.so.1.1.0 /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1.0.9 /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1.0.9 /usr/lib/x86_64-linux-gnu/libbsd.so.0.11.3 /usr/lib/x86_64-linux-gnu/libbzrtp.so.0 /usr/lib/x86_64-linux-gnu/libc-2.31.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2.11600.0 /usr/lib/x86_64-linux-gnu/libcairo.so.2.11600.0 /usr/lib/x86_64-linux-gnu/libcodec2.so.0.9 /usr/lib/x86_64-linux-gnu/libcom_err.so.2.1 /usr/lib/x86_64-linux-gnu/libdatrie.so.1.4.0 /usr/lib/x86_64-linux-gnu/libdav1d.so.5.0.1 /usr/lib/x86_64-linux-gnu/libdbus-1.so.3.19.13 /usr/lib/x86_64-linux-gnu/libdeflate.so.0 /usr/lib/x86_64-linux-gnu/libdl-2.31.so /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3.1 /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.0.0 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 /usr/lib/x86_64-linux-gnu/libedit.so.2.0.63 /usr/lib/x86_64-linux-gnu/libelf-0.183.so /usr/lib/x86_64-linux-gnu/libepoxy.so.0.0.0 /usr/lib/x86_64-linux-gnu/libexpat.so.1.6.12 /usr/lib/x86_64-linux-gnu/libfdk-aac.so.2.0.1 /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.0 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 /usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0 /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8 /usr/lib/x86_64-linux-gnu/libgdk-3.so.0.2404.20 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.4200.2 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.6600.7 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0 /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0 /usr/lib/x86_64-linux-gnu/libGLEW.so.2.1.0 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.7 /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0 /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0 /usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.6600.7 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6600.7 /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0 /usr/lib/x86_64-linux-gnu/libgpg-error.so.0.29.0 /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.2.1 /usr/lib/x86_64-linux-gnu/libgsm.so.1.0.18 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.20 /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.20704.0 /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0 /usr/lib/x86_64-linux-gnu/libicudata.so.67.1 /usr/lib/x86_64-linux-gnu/libicui18n.so.67.1 /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1 /usr/lib/x86_64-linux-gnu/libilbc.so.3.0.4 /usr/lib/x86_64-linux-gnu/libjbig.so.0 /usr/lib/x86_64-linux-gnu/libjpeg.so.62.3.0 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 /usr/lib/x86_64-linux-gnu/libkeyutils.so.1.9 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
Bug#983366: linphone-desktop: Settings popup menu
X-Debbugs-CC: David Pirotte On Mon, Feb 22, 2021 at 11:15:43PM -0300, David Pirotte wrote: > 1- the settings pop menu appears 'detached' from the main app > window; also, it uses a font and font size that are not the > 'upstream' app font and size (fwiw); > > 2- it only works once: if you close and try to open the settingss > popup again, it fails to do so, and displays the following message > in the teminal where i launched linphone; > > (linphone:83987): Gdk-WARNING **: 23:13:05.180: Couldn't map as window > 0x555cd9b47560 as popup because it doesn't have a parent Searching for that error message leads me to believe that this is probably a wayland issue. Does it work correctly under X? What desktop environment are you using? Having the output of sed -n '/[[:space:]]\/\(usr\|lib\).*[.]so.*/s@^[^/]\+/@/@p' \ /proc/$(pidof linphone)/maps|sort|uniq could tell us more.
Bug#983366: linphone-desktop: Settings popup menu
Package: linphone-desktop Version: 4.2.5-3 Severity: normal Dear Maintainer, * What led up to the situation? 1- the settings pop menu appears 'detached' from the main app window; also, it uses a font and font size that are not the 'upstream' app font and size (fwiw); 2- it only works once: if you close and try to open the settingss popup again, it fails to do so, and displays the following message in the teminal where i launched linphone; (linphone:83987): Gdk-WARNING **: 23:13:05.180: Couldn't map as window 0x555cd9b47560 as popup because it doesn't have a parent Thanks, David -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linphone-desktop depends on: ii libbctoolbox1 4.4.13-2 ii libbelcard14.4.13-2 ii libc6 2.31-9 ii libgcc-s1 10.2.1-6 ii liblinphone++104.4.21-1 ii liblinphone10 4.4.21-1 ii libmediastreamer11 1:4.4.21-3 ii libqt5core5a 5.15.2+dfsg-4 ii libqt5dbus55.15.2+dfsg-4 ii libqt5gui5 5.15.2+dfsg-4 ii libqt5network5 5.15.2+dfsg-4 ii libqt5qml5 [qtdeclarative-abi-5-15-2] 5.15.2+dfsg-4 ii libqt5quick5 5.15.2+dfsg-4 ii libqt5quickcontrols2-5 5.15.2+dfsg-2 ii libqt5svg5 5.15.2-2 ii libqt5widgets5 5.15.2+dfsg-4 ii libstdc++6 10.2.1-6 ii linphone-common4.4.21-1 ii qml-module-qt-labs-platform5.15.2+dfsg-2 ii qml-module-qtgraphicaleffects 5.15.2-2 ii qml-module-qtquick-controls5.15.2-2 ii qml-module-qtquick-controls2 5.15.2+dfsg-2 ii qml-module-qtquick-dialogs 5.15.2-2 ii qml-module-qtquick-layouts 5.15.2+dfsg-4 ii qml-module-qtquick-window2 5.15.2+dfsg-4 ii qml-module-qtquick25.15.2+dfsg-4 linphone-desktop recommends no packages. linphone-desktop suggests no packages. -- no debconf information