-
Notifications
You must be signed in to change notification settings - Fork 732
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
Systray icons not working correctly for Java apps #3139
Comments
Note that Vuze does not show this problem, even if it is also developed in Java. Vuze does not use the standard classes in the JDK, but Eclipse's SWT (www.eclipse.org/swt/), so they are probably doing something custom instead of relying on the standard classes. |
Would it be possible to try this with the latest Cinnamon? We've reworked the status icons quite a bit since 2.2.1 (because of the types of problems you're describing). |
Just upgraded to Cinnamon 2.2.8-20140512040006 (the current nightly). The behaviour is exactly the same, for both issues (icon, and tooltip/menus). On a separate note, the clock has disappeared with this update. In case it can be of any use, I've noticed the icon displays the same in GNOME 3.12 (after the legacy tray icons are enabled). In GNOME's case, tooltips or menus do not appear at all (not even tiny and behind the panel). |
The icon size issue can be replicated just using Oracle's sample: http://docs.oracle.com/javase/tutorial/uiswing/examples/zipfiles/misc-TrayIconDemoProject.zip |
I'm trying it out now, thanks |
I'd say the icon size is most likely linked to the HiDPI screen. I've tried Unity and XFCE, and they both render the icon fine by default (but tiny, due to their lack or partial HiDPI support). In Unity, when changing the scaling factor I can see the icon render smaller than it should (similar to the issue in Cinnamon, but the icon is cropped vertically). There is no scale option in XFCE. Note, however, outside the icon size in HiDPI mode, and the tiny fonts displayed, the tooltip and context menu of the tray icon are in both cases (Unity and XFCE) functional. |
Having similar problems here with Java systray icons (and there #3515 with non-Java): The first one is with "allow Cinnamon to scale panel text and icons according to the panel hights" UNchecked: This is with the option checked: Now that the icon isn't scaled, also happened under GNOME classic... but the false background colours are new. |
(Above is on Debian and the Java is program is Jitsi).. btw, it's not only the blue background that is wrong, but the logo should also be coloured. |
Here is an updated sample of the problem: This is cinnamon 2.6.13 (Mint 17.2) And here is Ubuntu unity and what it should look like: You'll notice the tooltip and popup menu are under the panel with Cinnamon. Thanks. |
I have same problem with Vuze in Cinnamon 3.0.7. |
Trying to keep all the systray related issues together in one place: #481 |
Java applications using the standard system tray (http://docs.oracle.com/javase/tutorial/uiswing/misc/systemtray.html) are not working correctly in Cinnamon. Tested with Oracle's JDK 7 & 8, and with OpenJDK 7.
Issues observed:
This might be partially related to HiDPI. Using Cinnamon 2.2.1-20140414040006-trusty.
The text was updated successfully, but these errors were encountered: