wxwebview edge

Dan Gudmundsson <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CANX4uuOWHV6m+_F7TvJgfOKRBLsujOgK-7voAP=vgbZR5LShnQ@mail.gmail.com>
I got a strange problem in the erlang wxWidgets wrapper, and I have had it
for a while
but have not noticed because we build and run tests through wsl on windows.
And  when using wsl we always get the old 'IE' engine.

So now I noticed that when using the edge backend, and I click on a link or
just scroll the
window it completely freezes and no events whatsoever are generated.
I can't move the window or get any response from it until I activate
another window.

The stacktrace is:

  win32u.dll!NtUserMsgWaitForMultipleObjectsEx() Unknown
  user32.dll!MsgWaitForMultipleObjects() Unknown
> wxe_driver.dll!wxMSWEventLoopBase::GetNextMessageTimeout(tagMSG * msg,
unsigned long timeout) Line 109 C++
  wxe_driver.dll!wxMSWEventLoopBase::GetNextMessage(tagMSG * msg) Line 99
C++
  wxe_driver.dll!wxGUIEventLoop::Dispatch() Line 171 C++
  [Inline Frame] wxe_driver.dll!wxEventLoopManual::ProcessEvents() Line 234
C++
  wxe_driver.dll!wxEventLoopManual::DoRun() Line 288 C++
  wxe_driver.dll!wxEventLoopBase::Run() Line 87 C++
  wxe_driver.dll!wxAppConsoleBase::MainLoop() Line 381 C++
  wxe_driver.dll!wxEntryReal(int & argc, wchar_t * * argv) Line 508 C++
  wxe_driver.dll!wxEntry(int & argc, wchar_t * * argv) Line 175 C++
  wxe_driver.dll!wxe_main_loop(void * _unused) Line 138 C++
  beam.debug.smp.dll!thr_wrapper(void * vtwd) Line 131 C
  ucrtbased.dll!thread_start<unsigned int (__cdecl*)(void *),1>(void *
const parameter) Line 97 C++
  kernel32.dll!BaseThreadInitThunk() Unknown
  ntdll.dll!RtlUserThreadStart () Unknown


So the (gui/wxWidgets) thread seems alive and is responsive when I send
commands from erlang to it,
but no user interaction is possible.
And this only happens with the EDGE engine on windows, works fine with IE
and on linux/mac.

When I click on another window it releases its hold after a few seconds and
I get the mouse clicks and everything outside of the wxWebview window works
until I scroll or click in the window again.

/Dan

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/CANX4uuOWHV6m%2B_F7TvJgfOKRBLsujOgK-7voAP%3DvgbZR5LShnQ%40mail.gmail.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.