-
-
Notifications
You must be signed in to change notification settings - Fork 441
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
Tray Icon disappears on Screen Lock & Unlock #910
Comments
This seems to be an upstream problem that affects all applications, so there probably isn’t anything we can do. See ubuntu/gnome-shell-extension-appindicator#75. |
Same here, tray icon has just gone OS: Debian Buster |
Any chance that this could be related to electron/electron#21445? |
Same here, tray icon is gone since I updated the desktop app to version 5.0.0. OS: Xubuntu 18.04.3 |
I solved this with this code: if (os.platform() !== 'linux') return
const monit = exec(`
dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" |
while read x; do
case "$x" in
*"boolean true"*) echo SCREEN_LOCKED;;
*"boolean false"*) echo SCREEN_UNLOCKED;;
esac
done
`)
monit.stdout.on('data', (data) => {
const out = data.toString().trim()
if (out === 'SCREEN_UNLOCKED') {
tray.destroy()
createTray()
}
}) You can see more about this in my repo https://github.com/dotenorio/clipboard-manager-electron/ on |
As described in comment electron/electron#21445 (comment) I can confirm it is working with |
On KDE Plasma, using the Flatpak, I never see any tray icon at all on these two systems (i.e. not even right after start of the application, which is a problem if
See-Also: flathub/org.zulip.Zulip#18 |
Implement monitorTray() which when scree is locked and then unlocked, destroys and recreates the tray Picks up from @dotenorio's comment on the thread
Hi! I have tried to revert to 4.0.3 version but this seems to be impossible, I have also looked for beta releases following https://zulipchat.com/help/desktop-app-install-guide#install-a-beta-release. So my only solution for now is to use the browser version or to live without tray icon and the notification counter... Does anybody has a workaround to share with me? Building a version from source is an option I could consider of course! Regards, |
Side note: my issue is not exactly this one (tray icon is totally missing), should I open a new issue? |
@fauust please file a new bug with detailed info (Linux distro, app installer type etc). |
@fauust Please link it here afterwards, since I am having the exact same issue. See-Also: #910 (comment) |
@akashnimare done #936 |
@punchagan A chromium bug was created for this I guess we have to wait for this to be fixed upstream. Till then one may build out of the hack of #922 if necessary. |
I think it is worth doing the hackish fix. |
Electron is restoring to the original way of implementation for tray icon, so that should fix this issue for us. electron/electron#23674 |
@punchagan Can you test on the latest release? Electron has restored to the original way of implementation so this should be fixed in the older release. |
Latest version working again, see #936 (comment) My setup:
|
I see the icon now, but I don't see the correct icon. I see ellipsis being shown instead of the Zulip logo. 🙈 |
This was when I was running from source. The |
I'm on Ubuntu Focal (GNOME Shell 3.36.0).
When running the desktop app on the latest master, the tray icon seems to disappear when I lock my screen and unlock it. Hard reloading the app seems to restore it. CZO discussion here.
The text was updated successfully, but these errors were encountered: