[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] "'SetFocus' failed" in automated GUI test
From: |
Greg Chicares |
Subject: |
Re: [lmi] "'SetFocus' failed" in automated GUI test |
Date: |
Thu, 20 Oct 2016 01:24:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.3.0 |
On 2016-10-19 23:04, Vadim Zeitlin wrote:
> On Wed, 19 Oct 2016 21:50:00 +0000 Greg Chicares <address@hidden> wrote:
[...]
> GC> cd /opt/lmi/bin
> GC> ./wx_test.exe --data_path=/opt/lmi/data --distribution >eraseme 2>&1
> GC> Symptom: output file begins:
> GC>
> GC> In file ../src/msw/window.cpp at line 558: 'SetFocus' failed with error
> 0x00000057 (the parameter is incorrect.).
> GC> In file ../src/msw/window.cpp at line 558: 'SetFocus' failed with error
> 0x00000057 (the parameter is incorrect.).
> GC> NOTE: starting the test suite
> GC> about_dialog_version: started
[...]
> GC> mainWin->SetFocus();
> GC> wxPuts("NOTE: starting the test suite");
> GC> [It's plausible to guess that this is the failing SetFocus() call.
>
> One thing we could do easily would be to show the window class/name in the
> error message, which could be used to confirm this guess.
Would you please speak the magic incantation to show that extra information,
which comes more easily to you than to me? This probably doesn't even merit
a formal patch: just say how to change it, and we'll test it.