golimpio / java-swing-ayatana Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/java-swing-ayatana
Automatically exported from code.google.com/p/java-swing-ayatana
No funciona con OpenJDK, cuando ejecuto la aplicación en modo de depuración
funciona correctamente, supongo que es algo en el manejo de eventos sobre el
Swing pero por el momento no tengo ni idea.
Not work with OpenJDK, when I run the application in debug mode working very
well, I believe that it is about Swing Event, but for the moment I don't have
any idea.
Original issue reported on code.google.com by danjaredg
on 10 Feb 2012 at 4:22
Empty menu item while using IntelliJIdea and AndroidStudio (Screenshot attached)
Used java-swing-ayatana from ppa: jayatana_2.0-1_amd64
Env:
Ubuntu 13.10 x64
$ java -version
Picked up JAVA_TOOL_OPTIONS: -agentlib:jayatanaag
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Original issue reported on code.google.com by [email protected]
on 30 Jan 2014 at 6:12
Attachments:
What steps will reproduce the problem?
1. Install Java Ayatana plugin
2. Open a PHP project
3. Press CTRL-SHIFT-C
What is the expected output? What do you see instead?
The line should be commented.
Instead, it is commented and uncommented immediately.
What version of the product are you using? On what operating system?
Plugin v1.20, Ubuntu 12.04
Please provide any additional information below.
With plugin installed, many hotkeys seem to be fired twice (the same with
ALT+F7).
Original issue reported on code.google.com by [email protected]
on 18 May 2012 at 1:13
1. Installing Intellij IDEA
No Support for the IDE: IntelliJ IDEA, yet.
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 7:20
Hi
first of all, thanks for the great work you have done!
* What steps will reproduce the problem?
If you have installed the latest _oracle_ java packages on your system,
installing jayatana results in unmet dependencies. This is because the oracle
java package states to the apt system it provides "java7-runtime" and
"java6-runtime" but jayatana states to apt that it depends on
"default-jre|openjdk-7-jre|openjdk-6-jre".
* What is the expected output? What do you see instead?
Jayatana works fine on my system with only the oracle jre installed, but apt
says, that I have unmet dependencies and wants to install a additional jre
(Iced-Tea jre for example). I don't want that.
* What version of the product are you using? On what operating system?
Ubuntu 13.10
* Please provide any additional information below.
Please repack your deb packages and alter the dependencies string to:
"default-jre|openjdk-7-jre|openjdk-6-jre|java7-runtime|java6-runtime"
Regards
Christoph
Original issue reported on code.google.com by [email protected]
on 5 Feb 2014 at 10:11
$ idea.sh
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
Failed to clear URL cache
Failed to clear URL cache
/usr/lib/jvm/java-7-oracle/bin/java: symbol lookup error:
/usr/lib/jayatana/libjayatana.so: undefined symbol: g_thread_init
the solution is to remove the call to g_thread_init. As per:
https://developer.gnome.org/glib/2.34/glib-Deprecated-Thread-APIs.html#g-thread-
init
the g_thread_init is not needed anyway. COmmenting out the call to that
function resolves the issue for me.
Original issue reported on code.google.com by radaczynski
on 12 Sep 2013 at 7:34
I've installed the plugin in NB 7.1 and it doesn't work with Ubuntu 12.04
Original issue reported on code.google.com by [email protected]
on 27 Apr 2012 at 10:11
Please, add, in the Ubuntu PPA, supported by Trusty Tahr :)
Original issue reported on code.google.com by [email protected]
on 29 Mar 2014 at 1:15
Instead of using a profile.d script, in ubuntu you can export session variables
using upstart.
See examples at /usr/share/upstart/sessions/ or upstart docs.
Also you'd probably want to define JAVA_TOOL_OPTIONS as
JAVA_TOOL_OPTIONS=-agentlib:jayatanaag:$JAVA_TOOL_OPTIONS
not to override personal values.
Original issue reported on code.google.com by trevi55
on 5 Feb 2014 at 9:48
When using this project to make an java application register to KDE’s
globalmenu, the submenus (“File” etc.) are flaky (don’t always show up),
and the subsubmenus never show up. Furthermore clicking on menu items doesn’t
have any effect (other than the menu closing)
Original issue reported on code.google.com by [email protected]
on 11 Apr 2013 at 3:03
What steps will reproduce the problem?
Open any menu with items containing underscores ("_")
What is the expected output? What do you see instead?
I expect underscores to be visible. Instead they are just skipped, i.e. a menu
item "some_menu_item" becomes "somemenuitem".
What version of the product are you using? On what operating system?
The latest version available from PPA (2.6.1-1) on Ubuntu 14.04 with Java 8.
Please provide any additional information below.
I use jayatana mainly with PyCharm (part of JetBrains IDEA family), this is
where the bug manifests itself.
Original issue reported on code.google.com by [email protected]
on 23 Jun 2014 at 4:12
What steps will reproduce the problem?
1.Install ayatana
2.Start Android Studio
3.Go into Settings or any other thing that spawns a dialog
What is the expected output? What do you see instead?
Hangs the entire java app just before the new window is set to be initialized
by Android Studio. This doesn't happen *every time* a new dialog is presented,
but very often.
What version of the product are you using? On what operating system?
Happens with ayatana 2.3 and 2.6 on Ubuntu 13.10.
Please provide any additional information below.
Presumably happens with IntelliJ IDEA too, but I haven't verified this. This is
basically a show-stopper, as an unreliable IDE that freezes up "randomly" is no
use at all :(
Original issue reported on code.google.com by [email protected]
on 3 Apr 2014 at 2:39
I have a .desktop file with "Path=", no value.
Exception:
SEVERE [org.netbeans.core.modules]
java.lang.ArrayIndexOutOfBoundsException: 1
at org.java.ayatana.DesktopFile.load(DesktopFile.java:394)
at org.java.ayatana.DesktopFile.<init>(DesktopFile.java:106)
at org.java.ayatana.DesktopFile.initialize(DesktopFile.java:63)
at org.nbs.java.ayatana.Installer.restored(Installer.java:81)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:471)
patch:
$ svn diff DesktopFile.java
Index: DesktopFile.java
===================================================================
--- DesktopFile.java (revision 173)
+++ DesktopFile.java (working copy)
@@ -387,7 +387,7 @@
new FileReader(deskFile));
String line;
while ((line = reader.readLine()) != null) {
- if (line.contains("=") && !line.startsWith("#")) {
+ if (line.contains("=") && !line.startsWith("#") && !line.endsWith("=")) {
String param[] = line.split("=");
String key = param[0].trim().toLowerCase();
String value = param[1].trim();
Original issue reported on code.google.com by [email protected]
on 16 Feb 2013 at 7:13
Hola,
Instalé el plugin en la versión Nightly () y me arroja este assertion:
java.lang.AssertionError
at org.openide.text.CloneableEditor.getEditorPane(CloneableEditor.java:1282)
at org.netbeans.core.multiview.TabsComponent$1.getDefaultComponent(TabsComponent.java:101)
at javax.swing.SortingFocusTraversalPolicy.getComponentDownCycle(SortingFocusTraversalPolicy.java:204)
at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(SortingFocusTraversalPolicy.java:447)
at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(LayoutFocusTraversalPolicy.java:166)
at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(SortingFocusTraversalPolicy.java:515)
at javax.swing.SortingFocusTraversalPolicy.getComponentDownCycle(SortingFocusTraversalPolicy.java:194)
at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(SortingFocusTraversalPolicy.java:447)
at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(LayoutFocusTraversalPolicy.java:166)
at javax.swing.SortingFocusTraversalPolicy.getComponentAfter(SortingFocusTraversalPolicy.java:290)
at javax.swing.LayoutFocusTraversalPolicy.getComponentAfter(LayoutFocusTraversalPolicy.java:106)
at java.awt.Component.getNextFocusCandidate(Component.java:7859)
at java.awt.Component.transferFocus(Component.java:7827)
at java.awt.Component.hide(Component.java:1683)
at java.awt.Component.show(Component.java:1652)
at java.awt.Component.setVisible(Component.java:1602)
at javax.swing.JComponent.setVisible(JComponent.java:2640)
[catch] at org.java.ayatana.ApplicationMenu.install(ApplicationMenu.java:353)
El menu funciona bien, se integra con Unity.
Como tengo que generar el archivo .desktop para que funcione?
Si me das una pista de como se generan los desktop para que levante tu
"launcher" (no se como es el mecanismo) puedo intentar hacer que funcione asi
te ayudo a corregirlo.
Gracias!
Original issue reported on code.google.com by [email protected]
on 2 Jun 2012 at 3:39
Please add an English translation to your website, this woud be very nice for
non spanisch speaking people.
Original issue reported on code.google.com by [email protected]
on 29 Jan 2013 at 1:18
What steps will reproduce the problem?
1. Open JDownloader the first time -> global menu and HUD works perfectly
2. Close it (i.e. minimize it) and open again
3. Global menu disappeared
What is the expected output? What do you see instead?
Global menu after reopening JDownloader
What version of the product are you using? On what operating system?
JDownloader nightly build / Ubuntu 13.10
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Feb 2014 at 1:30
Would be possible to integrate also a proper filechooser in these apps (such as
the project http://code.google.com/p/gtkjfilechooser/ was trying to do)?
Original issue reported on code.google.com by trevi55
on 5 Feb 2014 at 9:33
It doesn't work with Sweet Home 3D (http://www.sweethome3d.com/download.jsp)
For some reason application hangs up during start up...
I can provide additional info if needed.
Original issue reported on code.google.com by [email protected]
on 6 Nov 2014 at 10:10
GItHub is one of the best Source Code repositories manager out there if not the
best.
Migrating Java Ayatana source code to GitHub is a good move towards making the
library more known and reach its maturity.
www.github.com
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 8:04
Hello, I'm using Ubuntu 12.04 but the desktop Enviroment is Gnome Classic, not
Unity. I use gnome2-globalmenu under Gnome. I've read the source code. In
AyatanaDesktop.java, method isSupported():
if (!"Unity".equals(System.getenv("XDG_CURRENT_DESKTOP")))
returns false. Because in my case, System.getenv("XDG_CURRENT_DESKTOP") returns
"GNOME" instead of "Unity".
I've made the test, ApplicationMenu.tryInstall() still works well even though
AyatanaDesktop.isSupported() returns false.
So is it possible to make some changes in method AyatanaDesktop.isSupported()?
So I can enjoy this cool thing too.
Thanks a lot! Nice work.
Original issue reported on code.google.com by [email protected]
on 13 Jun 2012 at 8:40
I have just installed Jayatana 2.7~utopic-1 from the PPA on Ubuntu 14.10. When
I run PHPStorm 8.0.3, I get the following behaviour:
1. Menu bar is not visible, as expected.
2. Hovering mouse over title bar does not reveal the menu.
3. Holding the alt key or pressing e.g. Alt-F does not reveal the menu.
4. Switching to another application and back or changing the window size
enables the menu.
5. Menu is now visible when I hover over it with the mouse or hold down the alt
key, and I can use it normally with the mouse, but menu keyboard shortcuts are
still complete disabled.
If I select an initial menu item with the mouse, I can continue to navigate
with the arrow keys and press enter to select an item, but if I press a letter
that would normally activate a menu entry, nothing happens.
I have my menus set to display in the window's title bar, but the same
behaviour happens when set to the global menu. I have the HUD disabled, and
have not tested this functionality.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2015 at 7:58
What steps will reproduce the problem?
1.Java ayatana installed from ppa. Oracle JDK 8.
2.In netbeans open a text file from filesystem (File -> Open file...).
3.Open file dialog frozen, the netbeans crashes.
What is the expected output? What do you see instead?
Netbeans crash.
What version of the product are you using? On what operating system?
jayatana 2.8~trusty-1. Ubuntu 14.04 lts x64. xorg 1:7.7+1ubuntu8.1 installed
from xorg-edgers using open source radeon driver.
Please provide any additional information below.
Following error show on terminal:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007efe0c78d70c, pid=12983, tid=139628079150848
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# C [libawt_xawt.so+0x4470c] handle_response+0xac
Tried disabling xrender=true and opengl=true in netbeans.conf with the same
results.
Working with netbeans in xubuntu session, problem goes away.
Uninstalling jayatana also solves the issue.
Original issue reported on code.google.com by [email protected]
on 31 May 2015 at 1:14
What steps will reproduce the problem?
Since I have installed jayatana on my system, java applications _sometimes_
crashes unexpectedly when closing a window that has a menu.
What is the expected output? What do you see instead?
Java should not crash.
What version of the product are you using? On what operating system?
Ubuntu 13.10 64bit, Java 1.7.0-51, Jayatana 2.1.1
Please provide any additional information below.
Attached you can find the dump log.
Original issue reported on code.google.com by [email protected]
on 7 Feb 2014 at 10:10
Attachments:
What steps will reproduce the problem?
1.Open NetBeans (I'm currently using NetBeans 8.0 with Oracle 8)
2.Write some text and select it
3."Ctrl-U l" to change the case to lowercase
What is the expected output? What do you see instead?
The selected text should turn into lowercase. Instead, the text is not changed.
What version of the product are you using? On what operating system?
Latest PPA as of right now, using Ubuntu 14.04.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Apr 2014 at 12:41
What steps will reproduce the problem?
1. Compile jayatana
2. Compile jayatanatest
3. set JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
4. run java com.jarego.jayatana.test.Swing
5. get error:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/libjayatanaag.so:
libjawt.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
at com.jarego.jayatana.Agent.premain(Unknown Source)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed
Expected result:
Running example app with globalmenu.
/usr/lib % ldd libjayatanaag.so
linux-gate.so.1 (0xb7796000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb75fb000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb75a8000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7476000)
libdbusmenu-glib.so.4 => /usr/lib/libdbusmenu-glib.so.4 (0xb7459000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb73fa000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb72be000)
libjawt.so => not found
libpthread.so.0 => /lib/libpthread.so.0 (0xb72a2000)
libc.so.6 => /lib/libc.so.6 (0xb70f6000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb70f0000)
libz.so.1 => /lib/libz.so.1 (0xb70d9000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb70c2000)
libffi.so.6 => /usr/lib/libffi.so.6 (0xb70ba000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb70b1000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7096000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7072000)
libdl.so.2 => /lib/libdl.so.2 (0xb706d000)
/lib/ld-linux.so.2 (0xb7797000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7067000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7063000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb705b000)
As we can see, libjawt.so and other java libs cannot be found despite the fact
that they are present in the system:
/usr/lib % locate libjawt
/opt/oracle-jdk-bin-1.7.0.51/jre/lib/i386/libjawt.so
At buildtime gcc can build lib just fine:
gcc -O3 -Wall -DNDEBUG -I.
-I/home/sidius/.gentoo/java-config-2/current-user-vm/include
-I/home/sidius/.gentoo/java-config-2/current-user-vm/include/linux -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libdbusmenu-glib-0.4
-L/home/sidius/.gentoo/java-config-2/current-user-vm/jre/lib/i386 -fPIC -c -o
com_jarego_jayatana_Agent.o com_jarego_jayatana_Agent.c -lgio-2.0 -lgobject-2.0
-lglib-2.0 -ldbusmenu-glib -lXt -lX11 -ljawt
gcc -O3 -Wall -DNDEBUG -I.
-I/home/sidius/.gentoo/java-config-2/current-user-vm/include
-I/home/sidius/.gentoo/java-config-2/current-user-vm/include/linux -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libdbusmenu-glib-0.4
-L/home/sidius/.gentoo/java-config-2/current-user-vm/jre/lib/i386 -shared -o
libjayatanaag.so com_jarego_jayatana_Agent.o -lgio-2.0 -lgobject-2.0 -lglib-2.0
-ldbusmenu-glib -lXt -lX11 -ljawt
System: Gentoo Linux ~x86, KDE 4.12, Oracle JDK 1.7.0.51
Other Java apps can be used without any problems.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2014 at 1:32
I tried with Netbeans on Ubuntu 13.10 and it doesn't work. HUD also doesn't
work.
I think, java-swing-ayatana needs updating to support Ubuntu 13.10 or Unity
7.1.0
Original issue reported on code.google.com by [email protected]
on 5 Oct 2013 at 8:02
I have a .desktop file with "Path=", no value.
Exception:
SEVERE [org.netbeans.core.modules]
java.lang.ArrayIndexOutOfBoundsException: 1
at org.java.ayatana.DesktopFile.load(DesktopFile.java:394)
at org.java.ayatana.DesktopFile.<init>(DesktopFile.java:106)
at org.java.ayatana.DesktopFile.initialize(DesktopFile.java:63)
at org.nbs.java.ayatana.Installer.restored(Installer.java:81)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:471)
patch:
$ svn diff DesktopFile.java
Index: DesktopFile.java
===================================================================
--- DesktopFile.java (revision 173)
+++ DesktopFile.java (working copy)
@@ -387,7 +387,7 @@
new FileReader(deskFile));
String line;
while ((line = reader.readLine()) != null) {
- if (line.contains("=") && !line.startsWith("#")) {
+ if (line.contains("=") && !line.startsWith("#") && !line.endsWith("=")) {
String param[] = line.split("=");
String key = param[0].trim().toLowerCase();
String value = param[1].trim();
Original issue reported on code.google.com by [email protected]
on 16 Feb 2013 at 7:10
Ubuntu 14.04 x64
When running some java application for example
> java -version
I get the following message printed at the first line
> Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Original issue reported on code.google.com by [email protected]
on 17 Jan 2015 at 9:45
Attachments:
What steps will reproduce the problem?
1. Download and install SoapUI:
http://sourceforge.net/projects/soapui/files/soapui/5.1.3/SoapUI-x64-5.1.3.sh/do
wnload
2. Start SoapUI
3. You might need to discard popup about registration
4. JVM crashes
What version of the product are you using? On what operating system?
I'm using Jayanta 2.7.0ubuntu3 on Ubuntu 15.04
I attached dump.
Running SoapUI with JAVA_TOOL_OPTIONS="" works perfectly fine.
Original issue reported on code.google.com by [email protected]
on 7 May 2015 at 6:15
Attachments:
What steps will reproduce the problem?
1. use oracle java with these packaging https://github.com/rraptorr/oracle-java7
2. oracle java dont provide any of default-jre | openjdk-7-jre | openjdk-6-jre
3. but all versions of oracle java and openjdk both provides java-runtime
All jayanta packages must be depend only on java-runtime and thank you for this
work!
PS my temporary workaround in attachment
Original issue reported on code.google.com by vsevolod.balashov
on 4 May 2014 at 8:26
Attachments:
What steps will reproduce the problem?
1. Installing Oracle JDeveloper R2
No Support for Release 2 of Oracle JDeveloper.
While Java Ayatana works for JDeveloper Release 1, it does not for Release 2.
I can't spot what the problem is yet. Maybe because JDeveloper R2 relies on its
embedded ORacle JDK/JRE instead of the Operating System JDK/JRE.
So far, the way JDeveloper handles extensions has not changed from R1 to R2. So
still investigating.
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 7:18
Hey, I use java-swing ayatana in my program and I found a bug. When I hit left
Alt key, nothing happens, altough global menu should appear. I think
java-swing-ayatana library doesn't send the menu mnemonics and that's the main
problem.
I use jayatana library version 1.2.3 on Ubuntu 12.04.01. I use OpenJDK 1.7.0_03.
Regards
Original issue reported on code.google.com by [email protected]
on 2 Sep 2012 at 10:05
What steps will reproduce the problem?
- To run a .java file.
What is the expected output? What do you see instead?
- Expected: none.
- Real: "Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar"
What version of the product are you using? On what operating system?
- Version: 2.7
- Operating system: Ubuntu 15.04
Please provide any additional information below.
- Launchpad report:
<https://bugs.launchpad.net/ubuntu/+source/jayatana/+bug/1452844>.
Original issue reported on code.google.com by [email protected]
on 19 May 2015 at 11:21
The exceptions registered:
Jan 31, 2014 9:38:45 PM com.jarego.jayatana.swing.SwingGTKFixed deploy
WARNING: can't install gtk border fixed
java.lang.NullPointerException
at javax.swing.plaf.synth.DefaultSynthStyleFactory.getMatchingStyles(DefaultSynthStyleFactory.java:144)
at javax.swing.plaf.synth.DefaultSynthStyleFactory.getStyle(DefaultSynthStyleFactory.java:106)
at javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:235)
at com.jarego.jayatana.swing.SwingGTKFixed.installGtkThikcness(Unknown Source)
at com.jarego.jayatana.swing.SwingGTKFixed.deploy(Unknown Source)
at com.jarego.jayatana.FeatureWrapper.deployOnce(Unknown Source)
at com.jarego.jayatana.FeatureManager.deployOnce(Unknown Source)
at com.jarego.jayatana.FeatureManager.deployForSwing(Unknown Source)
Feb 03, 2014 8:23:55 PM com.jarego.jayatana.swing.SwingGTKFixed deploy
WARNING: can't install gtk border fixed
java.lang.NoSuchFieldException: yThickness
at java.lang.Class.getDeclaredField(Class.java:1948)
at com.jarego.jayatana.swing.SwingGTKFixed.changeGtkYThikcness(Unknown Source)
at com.jarego.jayatana.swing.SwingGTKFixed.installGtkThikcness(Unknown Source)
at com.jarego.jayatana.swing.SwingGTKFixed.deploy(Unknown Source)
at com.jarego.jayatana.FeatureWrapper.deployOnce(Unknown Source)
at com.jarego.jayatana.FeatureManager.deployOnce(Unknown Source)
at com.jarego.jayatana.FeatureManager.deployForSwing(Unknown Source)
Original issue reported on code.google.com by danjaredg
on 4 Feb 2014 at 4:18
When I run a JMeter instance on a unit test I get theses errors and Jmeter fail
to run.
I execute JMeter using this commend line, theses options are the default JMeter
options
{{{
java -XX:+HeapDumpOnOutOfMemoryError -Xms512m -Xmx512m -XX:NewSize=128m
-XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2 -XX:PermSize=64m
-Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000
-server -XX:MaxPermSize=128m -jar
/tmp/ut_JmeterTest/lib/jmeter/bin/ApacheJMeter.jar --nongui --testfile
sample.jmx -Ljmeter=WARN -Ljmeter.junit=WARN -Ljmeter.testbeans=INFO
-Ljmeter.testelement=WARN -Ljmeter.jorphan=WARN
-Ljmeter.util.BeanShellTestElement=INFO
-Ljmeter.modifiers.BeanShellPreProcessor=WARN
-Ljmeter.extractor.BeanShellPostProcessor=WARN -Ljmeter.util.SSLManager=ERROR
-JCookieManager.allow_variable_cookies=true -JCookieManager.save.cookies=true
-JCookieManager.name.prefix= -JCookieManager.check.cookies=false
-Jbeanshell.sampler.init=base.bshrc -Jbeanshell.function.init=base.bshrc
-Jbeanshell.assertion.init=base.bshrc -Jbeanshell.listener.init=base.bshrc
-Jbeanshell.postprocessor.init=base.bshrc
-Jbeanshell.preprocessor.init=base.bshrc -Jbeanshell.timer.init=base.bshrc
-Jhost.url=localhost -Jhost.protocol=http -Jhost.port=80
-Jconnection.timeout=5000 -Jresponse.timeout=5000 -Jhost.username=admin
-Jhost.password=password
-Jsample.actions.file=../../configuration/jmeter-collectables/sample_actions.csv
-Jsample.user.file=../../configuration/jmeter-collectables/sample_user.csv
}}}
{{{
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java.lang.Throwable: Could not access /tmp/ut_JmeterTest/preparation/lib
at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:99)
java.lang.Throwable: Could not access /tmp/ut_JmeterTest/preparation/lib/ext
at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:99)
java.lang.Throwable: Could not access /tmp/ut_JmeterTest/preparation/lib/junit
at org.apache.jmeter.NewDriver.<clinit>(NewDriver.java:99)
java.lang.ClassNotFoundException: org.apache.jmeter.JMeter
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.jmeter.NewDriver.main(NewDriver.java:214)
JMeter home directory was detected as: /tmp/ut_JmeterTest/preparation
}}}
* Jayatana version 2.6.1-1
* Ubuntu 14.04
$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03 mixed mode)
I don't know if theses informations will be enough to understand/reproduce the
bug.
If necessary I can give more informations.
Thanks again for your work !
Original issue reported on code.google.com by [email protected]
on 5 May 2014 at 9:48
Run javaws anyfile.jnlp, here's the crash I'm getting:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Picked up _JAVA_OPTIONS:
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
Caused by: java.security.AccessControlException: access denied
("java.lang.RuntimePermission" "getenv.JAYATANA_LIBAGPATH")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.System.getenv(System.java:885)
at com.jarego.jayatana.Agent.premain(Unknown Source)
... 6 more
FATAL ERROR in native method: processing of -javaagent failed
Annullato (core dump creato
Original issue reported on code.google.com by trevi55
on 13 May 2014 at 1:49
When fullscreen or presentation Mode is enabled the menu is already hidden and
should show up when moving the mouse to the top of the screen.
With jayatana enabled there is no menu when moving the mouse to the top of the
screen and it is not possible to exit the fullscreen or presentation mode.
Original issue reported on code.google.com by [email protected]
on 13 Mar 2014 at 7:54
Most people won't be able to understand these comments because not being in
English.
Moreover they are so replete of grammatical, syntactical, orthographical and
style errors that it hurts. There are even missing characters.
¡Por favor!
Original issue reported on code.google.com by [email protected]
on 19 May 2015 at 11:44
From what I can see the project is in good shape and near release.
So here is my request (not a real bug neither high priority issue):
Please provide some documentation for jayatana2.0
- How it works
- HowTo compile
Thanks for your work
Original issue reported on code.google.com by [email protected]
on 17 Jan 2014 at 1:25
What steps will reproduce the problem?
1. Install Ubuntu 13.10+
2. Install jayatana from ppa our by download deb.
3. Run Pycharm 3.1
What is the expected output? What do you see instead?
Expected output: Window with Pycharm.
What i see: Pycharm crash after 5-10s.
What version of the product are you using? On what operating system?
Ubuntu x64 13.10 and 14.04 unity. Sun Java 6.
Please provide any additional information below.
On this same system IntelliJ Java IDE working with jayatana.
Original issue reported on code.google.com by [email protected]
on 4 Mar 2014 at 10:47
1. Launch firefox and try java autodetection at java.com. Java Plugin kicks-in
with security dialog - however it does not get ever repainted - just whole
white box appears. EventDispatch-thread seems to be locked waiting for some
thread to join.
2. Go to terminal and get rid of the
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar (... export
JAVA_TOOL_OPTIONS=""), launch firefox and visit java.com again - everything
works just fine in this case ....
Original issue reported on code.google.com by [email protected]
on 25 Apr 2014 at 7:45
What steps will reproduce the problem?
1. Compile attached file to a class file
2. make sure is set to
JAVA_TOOL_OPTIONS="-javaagent:/usr/share/java/jayatanaag.jar"
2. Start by running "java bugs.NpeInJTextPaneInit"
3. Open a random file by selecting "File/Open" from the menu
What is the expected output? What do you see instead?
The expected output is none. However, if jayatana is used, I get an NPE most of the cases (might have to try several times to reproduce. Be sure to end the program and start a new instance for each try). See attached output for details.
What version of the product are you using? On what operating system?
axel@kotak:~$ uname -a
Linux kotak 3.19.0-16-generic #16-Ubuntu SMP Thu Apr 30 16:09:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
axel@kotak:~$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
axel@kotak:~$ javac -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
javac 1.8.0_45-internal
axel@kotak:~$ dpkg -s jayatana | grep Version
Version: 2.7-0ubuntu3
Please provide any additional information below.
I looked at the stack trace and found that the NPE is caused by
Thread.currentThread().getContextClassLoader(). Here is the relevant part of
the stack trace with the actual line marked by "-->":
java.util.Hashtable.put(Hashtable.java:459)
// Make sure the value is not null
if (value == null) {
--> throw new NullPointerException();
}
javax.swing.JEditorPane.registerEditorKitForContentType(JEditorPane.java:1247)
public static void registerEditorKitForContentType(String type, String classname, ClassLoader loader) {
getKitTypeRegistry().put(type, classname);
--> getKitLoaderRegistry().put(type, loader);
getKitRegisty().remove(type);
}
javax.swing.JEditorPane.registerEditorKitForContentType(JEditorPane.java:1229)
public static void registerEditorKitForContentType(String type, String classname) {
--> registerEditorKitForContentType(type, classname,Thread.currentThread().
getContextClassLoader());
}
The code for Thred.getContextClassLoader() is this:
@CallerSensitive
public ClassLoader getContextClassLoader() {
if (contextClassLoader == null)
return null;
SecurityManager sm = System.getSecurityManager();
if (sm != null) {
ClassLoader.checkClassLoaderPermission(contextClassLoader,
Reflection.getCallerClass());
}
return contextClassLoader;
}
The member contextClassLoader is private in Thread, so can only be set from
within the class itself, in this case that means either
Thread.setContextClassLoader() or Thread.init(). Don't know how to go on from
here...
Original issue reported on code.google.com by [email protected]
on 14 May 2015 at 12:57
Attachments:
This is not an issue but a request that may get rid of troubles when searching
for IDE's Support and most of Java Swing applications.
Scenario 1: Make Java Ayatana an external installable library for OpenJDK-7, so
that the user who runs his/her swing application (IDEs included) using
OpenJDK-7 gets automatic support for Ubuntu Global Menu, as long as the Swing
application or IDE implements a JMenuBar.
Scenario 2: Debianize the Java Ayatana Library and request the Ubuntu Packaging
Team to set it as OpenJDK-7 dependency or even included it in the Ubuntu
packaged version of OpenJDK-7. This way, any Swing Application that runs on
Ubuntu with OpenJDK-7 gets automatic Global Menu integration. This requires bit
of effort.
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 7:30
Hey, I wanted to use java-swing-ayatana cause it's cool, but the problem is:
altough it works perfectly with my JFrame, it doesn't work with JDialog :(
(cast problem). I even tried tryInstall((JDialog)(Window)myDialog) and there's
no problem at compiletime, but there's a problem at runtime...
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
myCoolJDialog cannot be cast to javax.swing.JFrame
I looked at project's source code and I don't see any barriers in refactoring
JFrame as tryInstall() argument to Window...
Regards :)
Original issue reported on code.google.com by [email protected]
on 31 Aug 2012 at 4:26
What steps will reproduce the problem?
1. Build the application
2. Run it
3. See that it works only in Unity.
What is the expected output? What do you see instead?
Globalmenu in Java Applications everywhere its supported
What version of the product are you using? On what operating system?
Arch Linux
KDE SC 4.10.2
Linux 3.8.1
Please provide any additional information below.
I made a patch that src/org/java/ayatana/AyatanaDesktop.java/isSupported()
tests for $UBUNTU_MENUPROXY instead for XDG_CURRENT_DESKTOP, see the attachment.
Original issue reported on code.google.com by [email protected]
on 7 Apr 2013 at 8:14
Attachments:
Inglés es mi lengua materna...
What steps will reproduce the problem?
1. Al instalar el plugin y NetBeans de inicio que ver el siguiente error
What is the expected output? What do you see instead?
Me sale este error siguiente cuando se instala
~ / home / {usuario} / .java/jayatana/0.5.0/i386/libjayatana.so: libjawt.so: no
puede abrir el archivo objeto compartido: No existe el fichero o directorio
What version of the product are you using? On what operating system?
0.5.0
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Mar 2012 at 9:46
What steps will reproduce the problem?
1. Install Matlab with Java 1.8.
2. Install Jayatana using the PPA.
3. Open Matlab.
What is the expected output? What do you see instead?
Matlab crashes on startup when Jayatana is installed. When Jayatana is removed,
Matlab works fine.
What version of the product are you using? On what operating system?
Running on Ubuntu 14.10, OpenJDK 1.8.0_40-internal, latest version of Jayatana
as of this post, Matlab R2013a (8.1.0.604).
Original issue reported on code.google.com by [email protected]
on 12 Feb 2015 at 2:24
What steps will reproduce the problem?
1. Open NetBeans (I'm currently using NetBeans 8.0 with Oracle 8)
2. Go to File -> Open File
3. Crash (or hang and show nothing
What is the expected output? What do you see instead?
The Open File dialog to work properly
What version of the product are you using? On what operating system?
Latest PPA as of right now, using Ubuntu 13.10.
Please provide any additional information below.
It only happens when I have "Maximize use of native look and feel" in the Options -> Appearance Tab. I would like to note that it works every time without the Ayatana plugin.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2014 at 8:54
What steps will reproduce the problem?
1. Open new Window as Modal mode
2. The parent window menus is enable
What is the expected output? What do you see instead?
The menu of parent should be disable when open a dialog modal
Original issue reported on code.google.com by danjaredg
on 17 Mar 2014 at 3:19
What steps will reproduce the problem?
1. Install Jayatana and restart (All works fine in netbeans)
2. Install steam and a game how run it's own jre in 32bit version (E.g.:
Titan_attacks)
3. The game don't start
Game log:
---
ERROR: ld.so: object '~/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so'
from LD_PRELOAD cannot be preloaded: ignored.
Picked up JAVA_TOOL_OPTIONS: -agentlib:jayatanaag
Picked up _JAVA_OPTIONS:
Error occurred during initialization of VM
Could not find agent library jayatanaag on the library path, with error:
libjayatanaag.so: wrong ELF class: ELFCLASS64
---
I know this is not your fault, I was just wondering a way to exclude some jar
or some path from jayatana agent library
What version of the product are you using? On what operating system?
Ubuntu 13.10 64bit
Original issue reported on code.google.com by [email protected]
on 4 Feb 2014 at 9:46
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.