Skip to content

Tray API: add isSupported() method #5065

Closed

Description

@grunjol
  • Electron version: 0.37.4
  • Operating system: Some linux distros with basic DE.

We can not check if the underlying OS supports Tray functionality.
In the case of minimize-to-tray, the user is not able to bring back focus to the window.

Activity

  1. feross commented on Apr 7, 2016

    @feross
    Contributor

    This would help WebTorrent Desktop out quite a bit. Right now, we're either going to have to add a preference option to disable minimize-to-tray, or accept that some Linux users will have to use kill -9 to actually close the app.

  2. anaisbetts commented on Apr 7, 2016

    @anaisbetts
    Contributor

    tbh we should just fix why the tray doesn't show up in certain rando Linux environments - like some of the super simple ones like i3 et al will never support it, but others like Ubuntu 14.04 should support it but it randomly doesn't show

  3. mbilker commented on Apr 7, 2016

    @mbilker

    I use i3 and as long as the system tray is enabled it will show the tray icon.

  4. zcbenz commented on Apr 11, 2016

    @zcbenz
    Contributor

    Electron should have supported all kinds of tray icons, the problem is on some desktop environments the tray icons do not show. So if we are able to add the isSupported method, we would just be able to fix it completely.

  5. feross commented on Apr 11, 2016

    @feross
    Contributor

    @zcbenz Fair enough 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions