groovy

groovyConsole can not read dead keys on Linux

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1-rc-2
  • Component/s: None
  • Labels:
    None
  • Environment:
    Debian 4.0 Etch, groovy 1.0
  • Number of attachments :
    0

Description

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.

Activity

Hide
Jason Dillon added a comment -

You probably have to create a custom keybinding $HOME/.jlinebindings.properties like:

Show
Jason Dillon added a comment - You probably have to create a custom keybinding $HOME/.jlinebindings.properties like:
Hide
Alexander Mikhailian added a comment -

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.

Show
Alexander Mikhailian added a comment - 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.
Hide
Jason Dillon added a comment -

Oh, this is the GUI console? Not the cli? I've no clue about that... why is this assigned to me?

Show
Jason Dillon added a comment - Oh, this is the GUI console? Not the cli? I've no clue about that... why is this assigned to me?
Hide
Danno Ferrin added a comment - - 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.

Show
Danno Ferrin added a comment - - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: