Window focus testing
Is it possible to do window focus testing in Wine conformance tests? Or does the windows not being mapped mean that this testing cannot be done? Or maybe I am doing something completely wrong; which is likely ;) I am specifically trying to test window focus in this bug: http://bugs.winehq.org/show_bug.cgi?id=7280 As mentioned in the bug, I turned the treeview conformance test into a standalone test with a mapped window, and added testing that does show focus behavior. But so far I have not been able to get it to give good results in a Wine conformance test.
"Duane Clark" <fpga(a)pacbell.net> wrote:
Is it possible to do window focus testing in Wine conformance tests? Or does the windows not being mapped mean that this testing cannot be done? Or maybe I am doing something completely wrong; which is likely ;)
Have a look at dlls/user32/tests/win.c,test_SetFocus(). -- Dmitry.
Dmitry Timoshkov wrote:
"Duane Clark" <fpga(a)pacbell.net> wrote:
Is it possible to do window focus testing in Wine conformance tests? Or does the windows not being mapped mean that this testing cannot be done? Or maybe I am doing something completely wrong; which is likely ;)
Have a look at dlls/user32/tests/win.c,test_SetFocus().
Ah, ok. This test shows the window temporarily. Somewhere I had gotten the idea that we didn't do that. Thanks.
participants (3)
-
Dmitry Timoshkov -
Duane Clark -
Duane Clark