You are not logged in.

#1 2013-02-04 12:58:11

Leandros
Member
Registered: 2012-12-01
Posts: 25

[Solved] GTK programm issues

I tried to use some GTK applications (named processing and the arduino ide), both of them aren't usable because the menu doesn't work.
If I try to click a menu point (in the menubar on top of the programm), the menu open short and close instantly. I can't select an item. Hover isn't working either.

Any ideas how to fix this issue?

GTK Engines and GTK/GTK2/GTK3 is installed, as well as QT.

Last edited by Leandros (2013-02-04 22:02:50)

Offline

#2 2013-02-04 16:00:48

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: [Solved] GTK programm issues

Did you read https://wiki.archlinux.org/index.php/Arduino ?
I don't see anything there related to GTK.
See 'Alternatives for IDE' in the wiki page above.

Offline

#3 2013-02-04 16:54:17

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: [Solved] GTK programm issues

Isn't Processing a Java application? If so, the GUI is probably made with Swing, which (in technical terms) is all kinds of suck.

What window manager do you use?

Edit: ok I looked. Processing is written in Java and uses AWT and Swing (see this random file from the source code). Java programs look and act like garbage in Linux, in my experience. I've had similar problems with menus to what you describe, though in my case it happens infrequently and without any observable pattern to the occurrences.

Last edited by jakobcreutzfeldt (2013-02-04 16:59:10)

Offline

#4 2013-02-04 17:02:26

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: [Solved] GTK programm issues

berbae wrote:

Did you read https://wiki.archlinux.org/index.php/Arduino ?
I don't see anything there related to GTK.

A quote from the gnoduino section:

The original Arduino IDE software is written in Java.

So the problem is not related to GTK but to Java applications and presumably AWT and/or Swing. Leandros, better change the title of the thread.

So, again, a good first question is what window manager do you use?

Offline

#5 2013-02-04 18:25:06

Leandros
Member
Registered: 2012-12-01
Posts: 25

Re: [Solved] GTK programm issues

Seems you're right, it's a Java, but more a AWT/Swing issue, because Eclipse and IntelliJ IDEA are working fine and are written in Java, too.

I use awesome as my window manager and Java 6 JDK for developing with Java.

Offline

#6 2013-02-04 21:10:37

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: [Solved] GTK programm issues

Leandros wrote:

Seems you're right, it's a Java, but more a AWT/Swing issue, because Eclipse and IntelliJ IDEA are working fine and are written in Java, too.

I use awesome as my window manager and Java 6 JDK for developing with Java.

Ok, check this info, then:
https://wiki.archlinux.org/index.php/Dw … plications
(it's for dwm but it should apply to Awesome as well)

Offline

#7 2013-02-04 21:15:34

Leandros
Member
Registered: 2012-12-01
Posts: 25

Re: [Solved] GTK programm issues

Yep, fixed it. I already did it, because it is in the awesome wiki written, too (http://awesome.naquadah.org/wiki/Problems_with_Java).
But I forgot, that it isn't permanent and added it to my .xinitrc now. Thanks.

Offline

#8 2013-02-04 22:02:23

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: [Solved] GTK programm issues

Be sure to mark the thread as [solved] !

Offline

#9 2013-02-05 15:06:10

miscsubbin
Member
Registered: 2012-10-30
Posts: 37

Re: [Solved] GTK programm issues

Wow, I was just having this exact problem. If for whatever reason you don't want to permanantly rename your wm, you can add that line to a script that opens the problem-applications. Then it's only renamed when those programs are opened.

Offline

#10 2013-02-05 16:05:08

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] GTK programm issues

Arch Linux Wiki wrote:

As of JRE 6u20, Java applications misbehave in dwm because it is not a known window manager to Java.

Really? REALLY? What in the world was the thought resoning behind that decision? yikes

Offline

Board footer

Powered by FluxBB