Package: kdocker
Version: 5.0-1+b1
Severity: normal

Dear Maintainer,

When starting kdocker at login, if it executes before the system tray is ready 
then the target application will be launched with no window and no tray icon.

For example, adding an entry for `@kdocker thunderbird` to LXSession's 
autostart will initially appear to have done nothing, but on receiving an email 
a desktop notification will appear.  No tray icon, taskbar entry, or window is 
visible for Thunderbird.

Using the command `@sh -c "sleep 5 && kdocker thunderbird"` functions as 
expected, though it introduces extra wait time and is not bulletproof (on the 
off-chance the system tray takes over five seconds to start).

Although I'm not very familiar with qt, cursory searching gives "If the system 
tray is unavailable when a system tray icon is constructed, but becomes 
available later, QSystemTrayIcon will automatically add an entry for the 
application in the system tray if the icon is visible." ( 
https://doc.qt.io/qt-5/qsystemtrayicon.html#details ) - as it looks like 
kdocker uses QSystemTrayIcon, it's possible this is actually a bug elsewhere.


-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kdocker depends on:
ii  libc6                     2.24-11+deb9u3
ii  libgcc1                   1:6.3.0-18+deb9u1
ii  libgl1-mesa-glx [libgl1]  13.0.6-1+b2
ii  libqt5core5a              5.7.1+dfsg-3+b1
ii  libqt5gui5                5.7.1+dfsg-3+b1
ii  libqt5network5            5.7.1+dfsg-3+b1
ii  libqt5widgets5            5.7.1+dfsg-3+b1
ii  libqt5x11extras5          5.7.1~20161021-2
ii  libstdc++6                6.3.0-18+deb9u1
ii  libx11-6                  2:1.6.4-3
ii  libxmu6                   2:1.1.2-2
ii  libxpm4                   1:3.5.12-1

kdocker recommends no packages.

Versions of packages kdocker suggests:
ii  bash-completion  1:2.1-4.3

-- no debconf information

Reply via email to