CEF 3.2357.1271.g8e0674e - mouse capturing & popup/dropdown

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.

CEF 3.2357.1271.g8e0674e - mouse capturing & popup/dropdown

Postby fddima » Sat May 23, 2015 1:06 am

Hi.

1. I'm now trying to use CEF 3.2357.1271.g8e0674e (with CefGlue + WinForms), and encounter next issue:
Any popup windows for select boxes placed relatively correctly, but remains on "initial" positions. I.e. i'm create browser, move window, open popup - and it is can appears on wrong... place, and it appears on first monitor, if i'm move main window to second. :) But main problem - looks like mouse is not captured, by popup window. I.e. i'm can select any other window on desktop, move them. I.e. it works like without win32 SetCapture call.
Using cefclient it is of course work. Previous branch also works fine for me.
So... what changed? Any ideas where i'm should look root of problem?

2. New strange behavior with CEF 3.2357.1271.g8e0674e is that whenever i'm start debugging inside VS (browser process) - all happes fine, unless, i'm did not stop debugging (forcibly). Process terminated, gpu process self-exited, but renderer process remains forever(?)! This kind thing never happens before (at least, for me).

Also, looks like little time ago same branch are pushed in chrome release. CEF branch will be updated, to matched version?

Thanks!

UPD: Just try little digg with API Monitor... nothing very interesting.
1. in my case popups shown on wrong monitor constantly. Actual capture not happens.
2. actually cefclient case - it is about same. Previously i'm say that it is work in cefclient. Not. In cefclient it is work, but work incorrectly: just open select popup (dropdown) - and long press down mouse button on window title. Popup is not disappears immediately. There is incorrect. But it is any case going better, than for me. Also clicking on select box in cefclient window, when cefclient window itself in background (i.e. cefclient is inactive) - did not leads to be popup immediately shown - there is also wrong behavior, looks like click event 'eated'.
3. Chrome 43.0.2357.65 m - works correctly for any cases.

(!!!) SetCapture itself for all cases are called, but for me it is unclear why it is used everytime for 'root' window, instead of popup window, 'cause when capturing attached to root window - it is requires special message processing at root window. May be i'm wrong with this? If i'm true, it is not very handy for embedding.

And, finally, looks like that cefclient 3.2272.2077 has very similar behavior (it is also did not close popup on mousedown in window title).

UPD2: Just for followers - related issue https://bitbucket.org/chromiumembedded/ ... -displaced .
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 67 guests