chromiumembedded / java-cef

Java Chromium Embedded Framework (JCEF). A simple framework for embedding Chromium-based browsers in other applications using the Java programming language.
https://bitbucket.org/chromiumembedded/java-cef
Other
648 stars 142 forks source link

Devtools popup window not resizing properly #436

Open magreenblatt opened 1 year ago

magreenblatt commented 1 year ago

Original report by Albert Kong (Bitbucket: Albert Kong).


CEF Chrome-109 (January 2023). It appears that if a Devtools popup is brought up (using showDevtools) on a Linux build, it comes up correctly, but on attempting to resize the window, the window resizes but the devtools content does not resize to fit the window. That is, the additional window space remains black. The browser window itself resizes correctly. It is the devtools window and its contents that are not resizing. This may be a similar issue to #417 reported resolved, which applied to the browser window itself.

  1. Steps, instantiate a browser window and bring up devtools using showDevtools, increase the size of the devtools popup window.
  2. The expected result was that the devtools content fills the new window size. What happens instead is that the devtools content remain the same size, the additional window space is black
  3. Latest stable Chrome build (109) for Linux (January 2023). The equivalent Windows 10 build does not have the same problem. That is, the devtools popup window resizes correctly for Windows 10. Exact same client code and Windows equivalent Chrome-109 code. The Linux OS is Centos 7. Also exhibits the same way for Rocky Linux 7.
  4. JCEF not tried
  5. cefsimple does not enable a devtools popup, but for a cefclient that brings up a devtools popup up the usual way, the problem exhibits.

magreenblatt commented 1 year ago

Original changes by Albert Kong (Bitbucket: Albert Kong).