-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux: 4430+ cefclient crashes with BadWindow error when creating new popup window #3165
Comments
What Linux distro? Does the problem also reproduce with M91 or M92? |
Original comment by wujh (Bitbucket: wujh, GitHub: wujh). Hi@{557058:2f2a2aee-b500-4023-9734-037e9897c3ab} ,I tested it on M91,this problem still exists but I running cefclient on M90 and M91 with --enable-chrome-runtime, this performance is normal,similarly,I tested on previous versions M88 and M89,the Popup Window is not crash. |
I’m able to reproduce the issue with M93 on Ubuntu 18.04. Seems to be an issue with GDK in cefclient since window.open works fine in cefsimple. |
|
chrome: win/linux: Add support for browser with native parent (see issue #3294) This change adds Chrome runtime support on Windows and Linux for creating a The previously existing behavior of creating a fully-featured Chrome browser The cefclient Popup Window test with a native parent window continues to crash Also adds Chrome runtime support for CefDisplayHandler::OnCursorChange. To test:
→ <<cset 3000bc8748d8 (bb)>> |
cefclient: Add option to create default popups (see issue #3165, see issue #3294) This change adds a This change also adds some reasonable default window bounds in cases where they → <<cset 75ca552a4e88 (bb)>> |
…sue chromiumembedded#3294) This change adds Chrome runtime support on Windows and Linux for creating a browser parented to a native window supplied by the client application. Expected API usage and window behavior is similar to what already exists with the Alloy runtime. The parent window handle should be specified by using CefWindowInfo::SetAsChild in combination with the CefBrowserHost::CreateBrowser and CefLifeSpanHandler::OnBeforePopup callbacks. The previously existing behavior of creating a fully-featured Chrome browser window when empty CefWindowInfo is used with CreateBrowser remains unchanged and Views is still the preferred API for creating top-level Chrome windows with custom styling (e.g. title bar only, frameless, etc). The cefclient Popup Window test with a native parent window continues to crash on Linux with both the Alloy and Chrome runtimes (see issue chromiumembedded#3165). Also adds Chrome runtime support for CefDisplayHandler::OnCursorChange. To test: - Run `cefclient --enable-chrome-runtime [--use-views]` for the default (and previously existing) Views-based behavior. - Run `cefclient --enable-chrome-runtime --use-native` for the new native parent window behavior. - Run `cefclient --enable-chrome-runtime --use-native --no-activate` and the window will not be activated (take input focus) on launch (Windows only). - Run `cefclient --enable-chrome-runtime [--use-views|--use-native] --mouse-cursor-change-disabled` and the mouse cursor will not change on mouseover of DOM elements.
…edded#3165, see issue chromiumembedded#3294) This change adds a `--use-default-popup` command-line option to cefclient. When specified, popup windows will be created with default styling (e.g. without an application-provided native parent window). This change also adds some reasonable default window bounds in cases where they are not specified by the client.
Reproduces with native parent; |
Original report by wujh (Bitbucket: wujh, GitHub: wujh).
1.What steps will reproduce the problem?
When I click the Popup Window of tests menu bar in the upper left corner of the cefclient
2.What is the expected output? What do you see instead?
Popup Window is normal
3.What version of the product are you using? On what operating system?
cef_binary_90.6.5+g7a604aa+chromium-90.0.4430.93_linux64
4.Does the problem reproduce with the cefclient or cefsimple sample application at the same version? How about with a newer or older version?
the cefsimple is normal , in the M87 and the M85 , the cefclient and the cefsimple is normal
error:
the first bad_value is the create temp window return value,when the return value as parent window called by
connection_->CreateWindow to create child window, I tried to skip the step of creating temp window,the result is cefclient not crash but the browser interface is divorced from the window, like this:
The text was updated successfully, but these errors were encountered: