Skip to content
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

DevTools does not open as child popup window. #4936

Closed
1 task done
AASanch opened this issue Sep 24, 2024 · 1 comment
Closed
1 task done

DevTools does not open as child popup window. #4936

AASanch opened this issue Sep 24, 2024 · 1 comment
Labels
upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

Comments

@AASanch
Copy link

AASanch commented Sep 24, 2024

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

128.4.90

Operating System

Windows 10

Architecture

x64

.Net Version

net472

Implementation

WinForms

Reproduction Steps

Showing DevTools on the MinimalExample using the code below does not work as it did previously.

        private void ShowDevToolsMenuItemClick(object sender, EventArgs e)
        {
            var host = browser.GetBrowserHost();
            var windowInfo = new WindowInfo();
            windowInfo.SetAsPopup(host.GetWindowHandle(), "DevTools");
            browser.ShowDevTools(windowInfo);

        }

In version 128.4.90, the code above shows DevTools on top of the browser control, covering up large part of its top-left are.

image

In a previous version (121.3.70), the same code above shows DevTools as a child popup window of the browser.

image

Expected behavior

DevTools should show up as a popup window.

Actual behavior

DevTools is rendered on top of the browser control, covering up a large part of its top-left area.

Regression?

Yes. This works in v121.3.70.

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

No response

@amaitland amaitland added the upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium. label Sep 24, 2024
@amaitland
Copy link
Member

amaitland commented Sep 24, 2024

Major upstream changes happened recently, see https://groups.google.com/g/cef-announce/c/s1WaovAopFo/m/LV5eiNX1BgAJ?pli=1 for background.

See also #4795


The Chromium Embedded Framework (CEF) project has it's own Issue Tracker, please report this issue there. CefSharp is just one of many wrappers around the Chromium Embedded Framework (CEF)

If you do find an existing issue that matches this one or create a new one then post a link here for others.

Closing this as upstream as changes/fixes need to be made in CEF.

@amaitland amaitland closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.
Projects
None yet
Development

No branches or pull requests

2 participants