Re: wxwebview edge

Dan Gudmundsson <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CANX4uuNDtyYhkceRADWkhHNUcJ0fq-_=YJp3wUrjPdqvtV918w@mail.gmail.com>
No ideas?

I think there was some talk a few weeks ago about idle processing and edge
backend, but I can not find it
and don't remember what it was about.

I use idle processing to execute commands from the erlang threads so that
might be involved in some way,
but that part seems to work, I just don't get any window events at all.


On Fri, Apr 14, 2023 at 4:45 PM Dan Gudmundsson <[email protected]> wrote:

> 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/CANX4uuNDtyYhkceRADWkhHNUcJ0fq-_%3DYJp3wUrjPdqvtV918w%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.