You are not logged in.

#1 2019-01-04 21:20:51

hemerno
Member
Registered: 2019-01-04
Posts: 5

System tray icons disappear after i3wm reload

System Information
Kernel: 4.20.0-arch1-1-ARCH
WM: i3 version 4.16 (2018-11-04)

Issue:
Updated my system about a month ago and noticed a problem when reloading i3 - icons from tray disappear. The only icon which remains untouched is Mullvad VPN (has a dependencies libappindicator-gtk2 and libnotify). My laptop also runs Arch and has the same problem but I have no AUR packages installed there.

Tried:

  • Reinstalling Xorg;

  • Reinstalling i3 and i3status;

  • Reinstalling Nvidia drivers;

  • Installing libappindicator-gtk3;

  • Reinstalling libappindicator-gtk2;

  • Reinstalling mullvad-vpn;

  • Using default i3 config;

  • Using tray_output primary option in i3 config.

Gif (imgur)

Thanks

Last edited by hemerno (2019-01-04 22:38:04)

Offline

#2 2019-01-05 03:32:46

Lupo Alberto
Member
From: Gomel, Belarus
Registered: 2013-11-25
Posts: 84

Re: System tray icons disappear after i3wm reload

Could you give to look at your config files? What options (exec or exec_always) you use for to run apps?

Offline

#3 2019-01-05 08:16:02

hemerno
Member
Registered: 2019-01-04
Posts: 5

Re: System tray icons disappear after i3wm reload

Lupo Alberto wrote:

Could you give to look at your config files? What options (exec or exec_always) you use for to run apps?

As I have already said, I tried to use the default i3 config which is generated upon startup. The problem was still there.

Also, I tried to use awesomewm instead of i3 just to see if this behavior repeats itself there. And after [Mod4+Ctrl+r] no icons were present in the system tray there too.

I think it is not caused by my configs since everything worked just fine until some update rather it's me not using something that provides consistent tray icons.

From my i3 config:

bar {
        status_command i3status -c /path/to/i3status.conf
        position top

        colors {
        background $bg-color

        focused_workspace  $bg-color          $bg-color          $text-color
        active_workspace   $inactive-bg-color $inactive-bg-color $inactive-text-color
        inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
        urgent_workspace   $urgent-bg-color   $urgent-bg-color   $urgent-text-color
        }
}
exec_always feh --bg-fill /path/to/wallpaper.png

exec --no-startup-id compton -f --fade-delta=6
exec --no-startup-id redshift

.xinitrc:

exec i3

Last edited by hemerno (2019-01-05 08:20:05)

Offline

#4 2019-01-05 08:43:50

Lupo Alberto
Member
From: Gomel, Belarus
Registered: 2013-11-25
Posts: 84

Re: System tray icons disappear after i3wm reload

I meant you say about the icons that own apps launching from i3/config.
But, how I see now, you want to save icons that own apps launching while i3wm session.
Look at this package:

% yay -Si i3session-git | grep Description
Description     : Remembers what's running in your i3 workspaces by saving a session file

Offline

#5 2019-01-05 09:10:50

hemerno
Member
Registered: 2019-01-04
Posts: 5

Re: System tray icons disappear after i3wm reload

Lupo Alberto wrote:

I meant you say about the icons that own apps launching from i3/config.
But, how I see now, you want to save icons that own apps launching while i3wm session.
Look at this package:

% yay -Si i3session-git | grep Description
Description     : Remembers what's running in your i3 workspaces by saving a session file

My point is that I want all my tray icons to be present after I restart i3 in place [Mod4+Shift+r] or reload i3 config because things were not like that before, everything stayed where it was supposed to be. The GIF from the first message shows the behavior which I am trying to change to display all icons of launched programs properly not only some of them.

Offline

#6 2019-01-05 15:36:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,531
Website

Re: System tray icons disappear after i3wm reload

hemerno wrote:

The only icon which remains untouched is Mullvad VPN ...

And what are the ones that don't remain, that's where the problem is.  It's possible those programs are not listening or responding correctly to the relevant events when the tray is recreated.

hemerno wrote:

... everything worked just fine until some update...

What was updated during the update that resulted in the problem?

Last edited by Trilby (2019-01-05 15:37:59)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2019-01-05 17:47:28

hemerno
Member
Registered: 2019-01-04
Posts: 5

Re: System tray icons disappear after i3wm reload

Trilby wrote:

What was updated during the update that resulted in the problem?

I am not really sure about exact packages and date because I started noticing the effects during making changes to my i3 config (when I had to restart wm a lot). Until then I was not aware of the problem. Now I tend to think that everything was caused by libappindicator and libindicator which are a part of Ayatana indicators project but I can not know for sure (not familiar how exactly system tray works) and I can not downgrade them in a "standard way" since I cleaned pacman cache about a week ago.

On the other hand, my laptop has a freshly installed system which already has the same problem with tray icons.

Update:
Now I removed  libappindicator-gtk2, libindicator-gtk2 and libdbusmenu-gtk2  and their gtk3 variants completely (along with mullvad-vpn) - the problem is still there.

Here's the last time I upgraded i3:

[2018-11-06 18:58] [ALPM] transaction started
[2018-11-06 18:58] [ALPM] upgraded curl (7.61.1-3 -> 7.62.0-1)
[2018-11-06 18:58] [ALPM] upgraded device-mapper (2.02.181-1 -> 2.02.182-1)
[2018-11-06 18:58] [ALPM] upgraded feh (2.28-1 -> 2.28.1-1)
[2018-11-06 18:58] [ALPM] upgraded go (2:1.11.1-1 -> 2:1.11.2-1)
[2018-11-06 18:58] [ALPM] upgraded gobject-introspection-runtime (1.58.0+2+g1f1dd7f4-2 -> 1.58.0+8+gfdaa3b1a-1)
[2018-11-06 18:58] [ALPM] upgraded i3-wm (4.15-1 -> 4.16-1)
[2018-11-06 18:58] [ALPM] upgraded libreoffice-fresh (6.1.2-4 -> 6.1.3-1)
[2018-11-06 18:58] [ALPM] upgraded lvm2 (2.02.181-1 -> 2.02.182-1)
[2018-11-06 18:58] [ALPM] upgraded pangomm (2.40.1-2 -> 2.42.0-1)
[2018-11-06 18:58] [ALPM] transaction completed

And upgrades made later:

[2018-11-08 05:44] [ALPM] transaction started
[2018-11-08 05:44] [ALPM] upgraded bc (1.07.1-1 -> 1.07.1-2)
[2018-11-08 05:44] [ALPM] upgraded harfbuzz (2.1.0-1 -> 2.1.1-1)
[2018-11-08 05:44] [ALPM] upgraded libsystemd (239.2-1 -> 239.300-1)
[2018-11-08 05:44] [ALPM] upgraded systemd (239.2-1 -> 239.300-1)
[2018-11-08 05:44] [ALPM] upgraded ffmpeg (1:4.0.3-1 -> 1:4.1-1)
[2018-11-08 05:44] [ALPM] upgraded gtkmm3 (3.22.2+2+g3002ed86-1 -> 3.22.3-1)
[2018-11-08 05:44] [ALPM] upgraded harfbuzz-icu (2.1.0-1 -> 2.1.1-1)
[2018-11-08 05:44] [ALPM] upgraded hugo (0.50-1 -> 0.51-1)
[2018-11-08 05:44] [ALPM] upgraded lib32-systemd (239.2-1 -> 239.300-1)
[2018-11-08 05:44] [ALPM] upgraded mpv (1:0.29.1-2 -> 1:0.29.1-3)
[2018-11-08 05:44] [ALPM] upgraded python-pyparsing (2.2.2-1 -> 2.3.0-1)
[2018-11-08 05:44] [ALPM] upgraded python-urllib3 (1.24-1 -> 1.24.1-1)
[2018-11-08 05:44] [ALPM] upgraded systemd-sysvcompat (239.2-1 -> 239.300-1)
[2018-11-08 05:44] [ALPM] upgraded yarn (1.12.1-1 -> 1.12.3-1)
[2018-11-08 05:44] [ALPM] transaction completed

And the one where libappindicator and libindicator were upgraded:

[2018-11-26 11:01] [ALPM] transaction started
[2018-11-26 11:01] [ALPM] upgraded mesa (18.2.4-1 -> 18.2.5-1)
[2018-11-26 11:01] [ALPM] upgraded lib32-mesa (18.2.4-1 -> 18.2.5-1)
[2018-11-26 11:01] [ALPM] upgraded libindicator-gtk2 (12.10.1-7 -> 12.10.1-8)
[2018-11-26 11:01] [ALPM] upgraded libappindicator-gtk2 (12.10.0-12 -> 12.10.0-13)
[2018-11-26 11:01] [ALPM] upgraded libwmf (0.2.8.4-14 -> 0.2.10-1)
[2018-11-26 11:01] [ALPM] upgraded linux (4.19.2.arch1-1 -> 4.19.4.arch1-1)
[2018-11-26 11:01] [ALPM] upgraded linux-headers (4.19.2.arch1-1 -> 4.19.4.arch1-1)
[2018-11-26 11:01] [ALPM] upgraded nvidia-dkms (415.18-1 -> 415.18-4)
[2018-11-26 11:01] [ALPM] upgraded riot-web (0.17.3-1 -> 0.17.7-1)
[2018-11-26 11:01] [ALPM] upgraded v4l-utils (1.16.1-1 -> 1.16.2-1)
[2018-11-26 11:01] [ALPM] upgraded riot-desktop (0.17.3-1 -> 0.17.7-1)
[2018-11-26 11:01] [ALPM] upgraded sudo (1.8.26-1 -> 1.8.26-2)
[2018-11-26 11:01] [ALPM] upgraded youtube-dl (2018.11.18-1 -> 2018.11.23-1)
[2018-11-26 11:01] [ALPM] transaction completed

Last edited by hemerno (2019-01-05 18:16:56)

Offline

#8 2019-01-05 18:48:15

hemerno
Member
Registered: 2019-01-04
Posts: 5

Re: System tray icons disappear after i3wm reload

Performed a test on 5 programs with tray icons: telegram-desktop, riot-desktop, qbittorrent, steam and deadbeef.

After restarting i3 [Mod4+Shift+r] telegram and qbittorent icons were gone.
Those two have dependencies on Qt libraries which others do not have.
Personally, I don't know what to do with that information now.

GIF (imgur)

Offline

#9 2019-02-03 13:40:19

txtsd
Member
Registered: 2014-10-02
Posts: 97
Website

Re: System tray icons disappear after i3wm reload

This is currently happening to me with certain Qt based applications, but in tint2. Here's the tint2 bug report where we're trying to track down what's happening and so far it seems to be Qt related.

These applications are affected:
albert
telegram
qbittorrent
keepassxc
megasync
klipper
ktimer

Possibly related to this Qt bug.

Last edited by txtsd (2019-02-03 13:55:53)


[CPU] AMD Ryzen 5 2400G
[GPU] AMD Radeon RX 7600 XT
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]

Offline

#10 2019-02-03 14:25:13

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,421
Website

Re: System tray icons disappear after i3wm reload


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#11 2019-02-04 04:22:30

txtsd
Member
Registered: 2014-10-02
Posts: 97
Website

Re: System tray icons disappear after i3wm reload

Thanks Alad!


[CPU] AMD Ryzen 5 2400G
[GPU] AMD Radeon RX 7600 XT
[Kernel] linux-zen
[sway] • [zsh] • Arch user since [2014-09-01 02:09]

Offline

Board footer

Powered by FluxBB