whats missing in mouseEvents?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

whats missing in mouseEvents?

Postby ajitchavan » Fri Feb 07, 2025 3:07 am

We are experiencing an issue with our CEF-based application when interacting with web.whatsapp.com. Specifically, we are sending mousemove, mousedown, and mouseup events using SendMouseMoveEvent and SendMouseClickEvent, also BrowserHost::SetFocus(true) is also used.

The problem occurs when we move the mouse cursor over any chat message; the down-arrow icon (which opens the context menu with options such as reply, react, forward, pin, star, report, and delete) does not appear (Attached DownArrowContextDOESNOTApearOnMouseEvents.jpg for reference). However, if we keep the mouse pointer in one place and scroll the chat page up and down, the down-arrow icon appears for the messages under the cursor (Attached DownArrowContextAppersOnScroll.jpg for reference).

Any insights what could be missing in?
Attachments
DownArrowContextAppersOnScroll.jpg
On Scroll down-context appears
DownArrowContextAppersOnScroll.jpg (78.89 KiB) Viewed 2427 times
DownArrowContextDOESNOTApearOnMouseEvents.jpg
On mouseevent the down-context does not apear.
DownArrowContextDOESNOTApearOnMouseEvents.jpg (92.09 KiB) Viewed 2427 times
ajitchavan
Techie
 
Posts: 29
Joined: Mon Mar 16, 2020 7:03 am

Re: whats missing in mouseEvents?

Postby Czarek » Fri Feb 07, 2025 5:05 pm

Have you tried logging all mouse events along with parameters?

Are you using OSR mode? Try running web.whatsapp.com with cefclient sample application with the --off-screen-rendering-enabled flag.
Available for hire. Projects: PHP Desktop, CEF Python and CEF C API. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1947
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 144 guests