[antlr-interest] Text focus bug in ANLTR works on Ubuntu make it unusable.

Jim Idle jimi at temporal-wave.com
Tue Oct 4 10:02:44 PDT 2011


I would change from Ubuntu, but definitely change to the Sun JRE as I have
always found openjdk to be problematic.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Chris Dew
> Sent: Tuesday, October 04, 2011 12:41 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Text focus bug in ANLTR works on Ubuntu make
> it unusable.
>
> Hi Everyone,
>
> I've been interested in looking at ANTLR for several years.
>
> There is a UI bug which prevents the foreground window's widgets from
> gaining focus when you click on them.  The text cursor remains in the
> background window, even when the foreground window is active and I
> click in the Grammar Name widget.
>
> The most ironic twist is that if you use the GIMPs screenshot facility
> to get an image of the window, it will give focus to the foreground
> window's widget.  Using GIMP screenshot for widget focus is not a
> usable solution.  (The screenshot does not therefore show the issue.)
>
> This bug has been present in all AntlrWorks / Ubuntu AMD64 releases for
> at least two years and since at least Ubuntu 8.10.  (I try AntlrWorks
> every six months or so.)
>
> Things I've checked:
>
> chris at chris-linux-desktop:~$ sudo update-alternatives --config java
> There are 3 choices for the alternative java (providing /usr/bin/java).
>
>   Selection    Path                                      Priority
> Status
> ------------------------------------------------------------
>   0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061
> auto mode
>   1            /usr/bin/gij-4.4                           1044
> manual mode
>   2            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061
> manual mode
> * 3            /usr/lib/jvm/java-6-sun/jre/bin/java       63
> manual mode
>
> chris at chris-linux-desktop:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=10.10
> DISTRIB_CODENAME=maverick
> DISTRIB_DESCRIPTION="Ubuntu 10.10"
>
> chris at chris-linux-desktop:~$ ls -lA antlrworks-1.4.3.jar
> -rw-r--r-- 1 chris chris 3588307 2011-10-04 08:03 antlrworks-1.4.3.jar
>
> chris at chris-linux-desktop:~$ java -version java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM)
> 64-Bit Server VM (build 20.1-b02, mixed mode)
>
>
> Is anyone on this list successfully using AntlrWorks with Ubuntu AMD64?
>
> Who is the administrator who I contact to get an account to submit a
> bug?
> http://www.antlr.org/jira/login.jsp?os_destination=%2Fbrowse%2FANTLR
>
> Thanks,
>
> Chris.


More information about the antlr-interest mailing list