Community
Participate
Working Groups
Error occured during nightly tests in GD-Performance-gdcentos5, TC "Test duration of export project" -> "wait for window refresh". On the screenshot for this error you can see the save as..-dialog. GD performs ub_app_pressAnyKey with alt as modifier and O as base key which should close the save as-dialog. The testcase ub_app_pressAnyKey gets the status succesfully tested, the save as..-dialog remains open.
I am able to reproduce the problem (at least most of the time). I think the key event is getting properly posted, but the posted event does not occur until the "Save as..." dialog (which is a native dialog) is closed. I will look into this in more detail next week. It seems very likely that we won't be able to fix this for the 1.0 release, as Indigo is right around the corner.
So far today I have been unable to reproduce the problem, although I see that the error occurred during last night's automated UI tests. My current suspicion is that some earlier Test Step (possibly in a previous Test Suite) is failing to release a modifier key (probably Shift or Control), which results in the action not properly closing the dialog due to, for example, Shift+Alt+O being pressed instead of the desired Alt+O.
Through the use of key-mon (http://code.google.com/p/key-mon/), I can say with some certainty that the problem is not caused by "leftover" modifier keys.
The cause is now clear: The AUT from the nightly tests is started with a German locale, and the native (GTK) save file dialog has duplicate instances of the "O" mnemonic ("In &Ordner speichern:" and "&OK"). The result is that pressing Alt+O toggles between those two elements but does not close the dialog. I updated our test script today so that the German locale will not be used in the nightly tests. I suspect that the locale was configured some time ago and was necessary at the time, but I see no reason why it would be necessary now. I have reported Bug 348716, so the SWT people are aware of this as well.
Verified through nightly tests