Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam crashes tint2 System Tray #197

Open
Carlisle96 opened this issue Aug 24, 2023 · 5 comments
Open

Steam crashes tint2 System Tray #197

Carlisle96 opened this issue Aug 24, 2023 · 5 comments

Comments

@Carlisle96
Copy link

Carlisle96 commented Aug 24, 2023

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.

@JZITNIK-github
Copy link
Contributor

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
Copy link
Author

Carlisle96 commented Sep 25, 2023

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants