You are not logged in.
A month ago I have installed arch with i3-gaps sa my WM. At first telegram-desktop worked fine. After some time, without updates even, it had stopped working. The process starts but the window never shows up. When run from the terminal it shows following messages:
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
It wasn't a big deal, so I tried reinstalling Qt5 and forgot about it. Later on I discovered that other Qt-based application also behave the same, namely Mumble and QBittorrent.
I have absolutely no idea what could be the case and am yet to find any traces of somebody having similar problems online.
EDIT:
Solved. The problem was that for whatever reason QT_QPA_PLATFORM was getting set to 'offscreen'.
Last edited by hjvt (2019-12-03 11:04:44)
Offline
This just reads like you do not have a system tray and the applications in question defaulting to open in the system tray instead of showing their window. FWIW how are you starting i3-gaps? If via .xinitrc, pay attention to https://wiki.archlinux.org/index.php/Xinit#xinitrc
Offline
This just reads like you do not have a system tray
I do have a tray, Slack, Skype and claws-mail all use it without any problems.
the applications in question defaulting to open in the system tray instead of showing their window.
That's exactly what my suspection is, I just have no idea how to fix it.
FWIW how are you starting i3-gaps? If via .xinitrc, pay attention to https://wiki.archlinux.org/index.php/Xinit#xinitrc
Via startx.
exec dbus-launch i3
Offline
That's wrong, read the blue note boxes in my link and do not use dbus-launch.
Offline
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
dbus-update-activation-environment --systemd DISPLAY
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
exec i3
#exec dbus-launch i3
Here's the full .xinitrc
Offline
Here's some more applications that don't work in the same way: flameshot gui, obs-studio.
I'm fairly sure obs-studio doesn't even have a feature to run minimized to taskbar.
Edit: Even Qt-designer doesn't work.
Last edited by hjvt (2019-12-03 10:04:28)
Offline
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
Those lines are for gnome keyring, but why do you have this line in xinitrc :
dbus-update-activation-environment --systemd DISPLAY
?
Why is that line in your xinitrc ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline