Axarva / dotfiles-2.0

XMonad™️. Widgets go brr.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steam crashes tint2 System Tray

Carlisle96 opened this issue · comments

Describe the bug
Using your fork of tint2, starting steam will crash the panel with the system Tray.

To Reproduce
Steps to reproduce the behavior:

  1. Run a panel with system tray.
  2. Start steam
  3. As soon as the symbol wants to appear, tint2 disappears.

Expected behavior
No crashes.

Desktop (please complete the following information):

  • OS: Fedora
  • XMonad
  • Tint2 Axarva fork

Additional context
Any ideas would be helpful, as I understand it is probably out of scope for your project, however it might be the best place to exchange some information about this issue.

I don't know if I understand correctly. Are you trying to start steam using the system tray and tint2 crashes?

Does steam start or does tint2 just crash?
If steam does not start, try starting steam from the terminal and give me the log.

And I also don't know if the whole tint2 crashes or just the system tray.

Also, try to kill tint2 with pkill tint2 and start only system tray from the terminal using ~/bin/tint2 -c ~/.config/tint2/panellauncher.tint2rc and try to start steam. It will output useful information to the terminal.

And I don't quite know what do you mean by system tray. Do you mean panellauncher.tint2rc?

By system tray i mean this element of the panel:
image

I start steam by other means and when steam wants to create the icon in the system tray, the panel crashes. Other tint2 panels I still have are running fine.

Steam starts fine, but since the panel with the system tray is gone there will not be an icon in the tray.
Starting the tray again after steam is running works just fine.

Not sure how to include a file so i just share the log in the code here:
https://pastebin.com/VkhAzdxF

Sorry but i wasn't able to recreate this issue. But this is probably not problem with the Axarva's fork but with the main tint2 because in the Axarva's fork the system tray was not changed.
Maybe try to rebuild the binary from source: https://github.com/Axarva/tint2-1#latest-stable-release-1701

Seems to be that a glib2 update broke tint2.
Since tint2 is code frozen its not going to be fixed.
https://bbs.archlinux.org/viewtopic.php?id=284293

Could you upgrade the modified tint to the latest version 17.0.2 https://gitlab.com/o9000/tint2/ ?

It seems that the tint from this repository was forked from github which is behind the official gitlab release, or am i mistaken ?

❯ tint2 --version tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes tint2 version 16.2-67-g4571eb8