-
Notifications
You must be signed in to change notification settings - Fork 236
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
No (native) tray icon #22
Comments
The tray icon was limited to Windows only in commit 7e11fc4. You could try reverting it. I'll test on my install. |
Alright, I manged to come up with something in #23. I think you mentioned that you run Arch, right? I will update my PKGBUILD so that the AUR build gets the tray icon, but I'd really like to move the source back to the official repo, so I hope this gets merged and the devs can push another point release so I can go back to basing on the official code. |
@fenrig if it works OK on Linux we could enable it there as well but we need your help to test it out :) |
@lipis I'm happy to test too. The only two tray menu items on Linux are "Open WireInternal" and "Quit". No way to minimize to tray yet. But at least there is an icon that will show a badge when there is a message waiting. EDIT: Might have spoken too soon. While I added a |
yeah I'm ready to test it, indeed I run arch |
@fenrig, while we wait for Arch to fix the |
Okay on gnome it works fine, still awaiting the close to tray option. But its really shaping up to be a great desktop app :D |
Oh and afterward it would be great if we could pass a flag to start the app in the tray :) |
There is some code over on StackExchange (source) that might help. But I'm not sure where to add things like this, so I'll leave it to the professionals for now. 😉 EDIT: @fenrig, here is a diff that you can stick in for now. This will both close to tray and minimize to tray. I think it might be better to have the tray on Linux PR close before suggesting any additional functionality.
Actually, looking at the code it looks like the app already closes to tray on darwin and win32. @lipis, should I include the close to tray code in the open PR? Or leave it for a different one? EDIT 2: Man, I'm on a roll it seems. This diff makes the tray icon a toggle. If the window is visible, it is closed to the tray. If it is hidden, it is made visible.
EDIT 3: Arch/Manjaro package to test the above changes http://cubert.conr.ca:8001/f/adf78d6079/?dl=1 |
Fixed in #23 :) |
@ConorIA Do I have to do anything special on Ubuntu to see the Tray Icon? I just installed a new VM and it doesn't appear.. maybe some sort of settings or something? |
Found it :) electron/electron#1347 (comment)
|
Linux is funny with electron tray icons. I find the icon doesn't appear the first time I start Wire, but if I quit and open it again, it does work. Same thing with Rambox and other apps. |
Would it be possible to add a tray icon to the app ? Something we can (optionally) close to... ?
The text was updated successfully, but these errors were encountered: