You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
We've been tracking down reports for a while about our app segfaulting on Linux. We narrowed down the issue to calling Tray's setImage function. More discussion on the issue here:
Unfortunately, we can't guarantee that our users have a fixed version of the shared library installed. So we've removed all calls to Tray's setImage, to ensure that their apps don't crash randomly.
Proposed Solution
We humbly request that the docs should contain a note about this problem - that setImage is known to cause segfaults, and should not be used on Linux.
Have some code in Electron to detect when broken versions of the shared library are used, and avoid calling into it. But this seemed way more complex to implement.
changed the title [-][Feature Request]: docs - add a note that Tray setImage can segfault on Linux[/-][+]docs - add a note that Tray setImage can segfault on Linux[/+]on Nov 8, 2022
Activity
[-][Feature Request]: docs - add a note that Tray setImage can segfault on Linux[/-][+]docs - add a note that Tray setImage can segfault on Linux[/+]zcbenz commentedon Nov 8, 2022
I'm good adding the note in our docs, but in the long term I think we should get rid of libappindicator and use dbus directly.
Update tray.md with notes about linux crashes
docs: update tray docs with notes about linux crashes
nicks commentedon Nov 10, 2022
opened a pr as #36310
docs: update tray docs with notes about linux crashes
Atharva-17 commentedon Nov 23, 2022
Hey, @nicks I added a note in
tray.mdplease check opened a PR as #36432[-]docs - add a note that Tray setImage can segfault on Linux[/-][+][Bug]: Tray setImage can segfault on Linux[/+]