Skip to content
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

Black tray icon and spurious additional pseudo window #123

Closed
Vampire opened this issue Aug 16, 2019 · 2 comments
Closed

Black tray icon and spurious additional pseudo window #123

Vampire opened this issue Aug 16, 2019 · 2 comments

Comments

@Vampire
Copy link

Vampire commented Aug 16, 2019

I started jEdit in a freshly installed Ubuntu VM and wondered where my tray icon is.
I found out they are not shown anymore and after some fiddling found this extension.

The problem is, as soon as I got your extension installed, the tray icon is there and functional.
But unfortunately most of the time it is all black: grafik

And additionally a second pseudo window that cannot be focused or closed appears in the dock:
grafik

TopIcons Redux has the same problems.
But there is a difference.
While jEdit was running when I disabled TopIcons Redux and installed Unite, the tray icon was shown correctly and no pseudo window present.
But as soon as I accidentally disabled the feature and re-enabled it, it had the same problem.
If I restart the Gnome Shell it works a bit better again, now the pseudo window is gone, but the icon is only shown as grey square.
And if I quit and restart jEdit, we are back to pseudo window and black square.

You can also try with JDownloader 2, it shows the exact same behavior, with the exception that there the icon is also not workable (no clicks are considered), but that might be a problem of JDownloader maybe, not of your extension.

You can even try from a jshell by executing java.awt.SystemTray.getSystemTray().add(new java.awt.TrayIcon(java.awt.Toolkit.getDefaultToolkit().createImage("/home/vampire/jEdit/org/gjt/sp/jedit/icons/themes/tango/32x32/apps/jedit.png"))) with any PNG which will show the same behavior.

But as I have seen the tray icon properly once, I have high hopes that this can somehow get fixed.

@Vampire
Copy link
Author

Vampire commented Aug 16, 2019

Actually after the Gnome Shell restart where the icon is painted as grey rectangle, it does not anymore respond to mouse events.

@jonian
Copy link
Member

jonian commented Oct 3, 2019

Hi @Vampire, sorry for the late response. There is no way to fix this from this extension.

Report this issue on https://gitlab.gnome.org/GNOME/gnome-shell for system-tray.
And on https://github.com/ubuntu/gnome-shell-extension-appindicator for app-indicators.

@jonian jonian closed this as completed Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants