Issue Details (XML | Word | Printable)

Key: GROOVY-2124
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Danno Ferrin
Reporter: Alexander Mikhailian
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

groovyConsole can not read dead keys on Linux

Created: 15/Sep/07 08:36 AM   Updated: 23/Dec/07 12:25 PM
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1-rc-2

Time Tracking:
Not Specified

Environment: Debian 4.0 Etch, groovy 1.0


 Description  « Hide
First, configure a keyboard layout with dead keys, e.g. in the us_intl keyboard layout.

$ setxkbmap -layout "us_intl"

Then, start groovyConsole and type "double quote" + "space" and watch for the result.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jason Dillon added a comment - 28/Sep/07 01:46 AM
You probably have to create a custom keybinding $HOME/.jlinebindings.properties like:

Alexander Mikhailian added a comment - 28/Sep/07 02:15 AM
Well, I think it is a problem with either the windowing toolkit or its use in groovyConsole. Unfortunately, I have very limited experience working with Java-based windowing toolkits to be able to help.

Jason Dillon added a comment - 06/Oct/07 06:44 AM
Oh, this is the GUI console? Not the cli? I've no clue about that... why is this assigned to me?

Danno Ferrin added a comment - 13/Oct/07 11:14 PM - edited
This is not a Groovy problem but a Java VM problem. I verified that under 1.6.0-03 if you do doublequote then space that a double quote appears (similarly a double quote and another double quote creates the umlaut (two dots characters)) while under 1.5.0_13 it is broken. This is on Ubuntu Gusty Gibbon as of 13 Oct. Verified failures on both the SwingSet demo app and the GroovyConsole, with identical results.

So the solution is to use the 1.6.0-03 JVM on your linux box for any java UI work.