[orca-list] Problem with swing application not being refreshed to orca



Hello,
I have been looking at scala for programming but noticed that when creating a swing application using it orca does not always seem to see when a label (possibly other parts of a GUI) are updated. I have attached a demo application which shows the problem (compile with scalac and run scala with the class SwingBug).

Here is how to reproduce the bug:
* Run the scala application.
* Press the button labelled "Click me".
* use flat review to see the label below the button.
* Press the "Click me" button again and again use flat review to look at the label.

Until flat review is used for the first time orca will see the updating of the label. After flat review has been used once the update of the label will not be seen by orca. I have tried alt+tabbing to another application and back but this doesn't help. The only thing which seems to let orca see the updates after using flat review is to restart orca.

I have tried this using the old java access bridge (1.26.x) and the new java ATK wrapper but both show this issue.

As the label seems to actually being updated (as seen by the output to the text console and also after an orca restart) and it shows with both java access bridge and java ATK wrapper I am being lead to it being an orca bug. Can anyone shed any more light on whether my thinking of where the bug is, whether it is correct or not?

I nearly forgot to say, I am using the sun JDK rather than openJDK. I know sometimes this can make a slight difference (eg. there is a bug where eclipse doesn't shutdown properly when assistive technology is running in gnome but the IBM JDK doesn't show this bug).

Any help would be welcome in sorting this out.

Michael Whapples

Attachment: SwingBug.scala
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]