Skip to content

docs: update tray documentation with notes about linux crashes - #36310

Closed
nicks wants to merge 1 commit into
electron:mainfrom
nicks:patch-1
Closed

nicks wants to merge 1 commit into
electron:mainfrom
nicks:patch-1

Conversation

@nicks

@nicks nicks commented Nov 10, 2022 •

Copy link
Copy Markdown

Description of Change

Update tray documentation with notes about linux crashes

Fixes #36274

Checklist

  • PR description included and stakeholders cc'd
  • relevant documentation is changed or added

Release Notes

notes: no-notes

@welcome

welcome Bot commented Nov 10, 2022

Copy link
Copy Markdown

💖 Thanks for opening this pull request! 💖

We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix.

Examples of commit messages with semantic prefixes:

  • fix: don't overwrite prevent_default if default wasn't prevented
  • feat: add app.isPackaged() method
  • docs: app.isDefaultProtocolClient is now available on Linux

Things that will help get your PR across the finish line:

  • Follow the JavaScript, C++, and Python coding style.
  • Run npm run lint locally to catch formatting errors earlier.
  • Document any user-facing changes you've made following the documentation styleguide.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Nov 10, 2022
@nicks nicks mentioned this pull request Nov 10, 2022
3 tasks done
@nicks nicks changed the title Update tray documentation with notes about linux crashes docs: update tray documentation with notes about linux crashes Nov 10, 2022
@electron-cation electron-cation Bot added documentation 📓 semver/patch backwards-compatible bug fixes labels Nov 10, 2022

@MarshallOfSound MarshallOfSound left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't document a crash can happen, we should fix the underlying crash...

@nicks

nicks commented Nov 10, 2022

Copy link
Copy Markdown
Author

i agree in theory, but i think it's a fairly big lift in practice (it's been a problem for years, and fixing it involves moving to a different system library). Did you read the attached issue report and the links there?

@codebytere

Copy link
Copy Markdown
Member

@MarshallOfSound @zcbenz opened #36283 - i agree with you on principle but it'll probably be a bit before that happens so it's probably not a bad idea to note it in the short-term 🤔

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Nov 11, 2022
@MarshallOfSound

Copy link
Copy Markdown
Member

@codebytere #36283 is a long term "remove all this code" issue, the actual crash can definitely be fixed / worked around without such a drastic refactor

@zcbenz

zcbenz commented Nov 14, 2022

Copy link
Copy Markdown
Contributor

I'm closing this in favor of #36333 -- I thought reimplementing the code would take much longer time but it turns out Chromium has done most of work for us.

@zcbenz zcbenz closed this Nov 14, 2022
@nicks

nicks commented Nov 14, 2022

Copy link
Copy Markdown
Author

sounds good, thanks all!

@nicks
nicks deleted the patch-1 branch November 14, 2022 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📓 semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Tray setImage can segfault on Linux

4 participants