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

Chris Dew cmsdew at gmail.com
Tue Oct 4 05:24:23 PDT 2011


Hi Stefan,

That's solved it.  I should have (literally) asked years ago...

Many Thanks,

Chris.

On 4 October 2011 12:25, Stefan Mätje (d)
<Stefan.Maetje at esd-electronics.com> wrote:
> Am 04.10.2011 09:40:30 schrieb(en) Chris Dew:
>> 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.
>
> Hi,
>
> I'm on an Ubuntu Lucid (10.04.3) 32-bit and have the same behaviour. But it
> happens ONLY with the "File->New...->""New grammar wizard".
>
> I'm using Sun java version:
>
> $ java -version
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
>
>
>> 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.)
>
> I don't know if its the GIMP screenshot tool, I'm using the
> "Applications->Accessories->Screenshot" menu (Don't know the exact names cause
> I'm on a german system). But I have the same behaviour.
>
>> Is anyone on this list successfully using AntlrWorks with Ubuntu AMD64?
>
> I'm using a simple workaround, which is feasible because only the "New grammar
> wizard" dialog box is affected. Here it comes:
>
> Use "File->New..." to start the "New grammar wizard". The dialog box opens.
> Click the OK button. An error message box "Please enter a grammar name." shows
> up, acknowledge it with its OK button. After that you may click into the
> "Grammar Name" input box and will get successfully the input focus there.
>
> Best regards,
>        Stefan
>
> BTW.: Having read the response of Norman Dunbar on this issue I suspect it is
> a problem with the window manager under Ubuntu Gnome. Did you try Kubuntu aka.
> the KDE interface?
>
>
>
>


More information about the antlr-interest mailing list