-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Feature Request: Support for jayatanaag (global menus in Ubuntu) #3081
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
Comments
This can be corrected by a simple startup script edit. |
So IIUC, you say adding |
JAVA_TOOL_OPTIONS is a jvm env var ubuntu uses to inject a javaagent, a thing that the jvm puts between application code and its actual execution. jayatana uses this trick to change how menu are rendered. Unfortunately, jayatana is buggy and unmaintained. |
Hm, if that software is indeed buggy and unmaintained, I would think this is not a proper fix - people should stop running it instead (or fix it). By adding this work around, all injected java agents will be disabled, even others that are not broken. This might lead to unexpected behaviour. Disabling this variable is probably the most practical thing to do, though. Perhaps we can only clear the variable when it contains a reference to jayatana and leave it intact otherwise? |
Yes, it fixes it. I'm using it with IDE versions 1.0.5 and 1.6.3. You can run the IDE as root and it does not generate the If you use this from a terminal as a user it generates this line Tim On 05/06/2015 08:04 AM, Matthijs Kooijman wrote:
|
BTW, using the edited arduino script does not change the environment variable permanently. When you exit the IDE, the original default value shows up again. From a command terminal after exiting the IDE that has the edit: echo $JAVA_TOOL_OPTIONS |
I filed this as a feature request, not a bug report (there was #3024), so the workaround isn't quite what I was looking for. I am pretty confident jayatana isn't being discontinued since it just got promoted into the regular ( I'll check arduino's compatibility with the |
My bad. I'll post on the bug report. What features does jayatana offer above what Java already has? |
As stated above in the original post it says:
|
ATM supporting jayatana would mean digging into its code and find the reason for its crash. It's rather something that should be reported upstream https://code.google.com/p/java-swing-ayatana/issues/list |
[LMCHK] |
(This was previously filed as bug #3024)
For Ubuntu users Java Swing Jayatana "is a project that brings Ubuntu global menu (AppMenu) and HUD support for Java Swing applications." (says webupd8.org).
On both Ubuntu 14.10 & 15.04 (possibly more versions, especially 14.04 - but not confirmed) Arduino IDE will crash under certain circumstances (namely
Save
/Save As
) with jayatanaag enabled. Disabling it fixes the issue.Since all other, major software products [that I personally use] run fine with jayatanaag there might be something that could be improved in Arduino IDE to fix this behavior.
Technical
On Ubuntu 14.10/15.04 x64, Java 1.7.0_80
The text was updated successfully, but these errors were encountered: