Axarva / dotfiles-2.0

XMonad™️. Widgets go brr.
MIT License
1.72k stars 156 forks source link

Steam crashes tint2 System Tray #197

Open Carlisle96 opened 10 months ago

Carlisle96 commented 10 months ago

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):

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.

JZITNIK-github commented 9 months ago

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?

Carlisle96 commented 9 months ago

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

JZITNIK-github commented 9 months ago

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

Carlisle96 commented 9 months ago

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

Carlisle96 commented 8 months ago

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