chromiumembedded/java-cef

On reducing window size very slowly, Browser UI is not Updated Properly

mukundhan94 opened this issue · 0 comments

Describe the bug
When the user reduces the size of the window slowly, the browser UI is not rendered properly.

To Reproduce
Steps to reproduce the behaviour:

  1. Open the JCEF Browser in windowed mode
  2. Resize the browser window from the horizontal or vertical position very slowly
  3. Notice that it leaves lot of empty spaces

Expected behaviour
The Browser UI should be updated properly without any white or empty spaces

Screenshots

https://raw.githubusercontent.com/mukundhan94/java-cef/resize-window-issue/resources/jcef-window-size-reduce-issue.gif

Versions (please complete the following information):

  • OS: MacOS 13.3 (22E252)
  • Java Version: OpenJDK 17

JCEF Build meta

{
  "jcef_url": "https://bitbucket.org/chromiumembedded/java-cef/commits/87476e947fcda1c69c63062704f82dd96d7a0a1e",
  "release_tag": "jcef-87476e9+cef-110.0.25+g75b1c96+chromium-110.0.5481.78",
  "release_url": "https://github.com/jcefmaven/jcefbuild/releases/tag/1.0.46",
  "platform": "macosx-arm64",
  "release_download_url": "https://github.com/jcefmaven/jcefbuild/releases/download/1.0.46/macosx-arm64.tar.gz"
}

Additional context
Does the problem reproduce with the JCEF simple or detailed sample application at the same version?
Yes

Does the problem reproduce with the CEF cefclient or cefsimple sample application at the same version?
Yes

Does the problem reproduce with Google Chrome at the same version?
No

Add any other context about the problem here.

There was a patch added here, but it still not working when the user resizes slowly

Issue: #312

reference: https://magpcss.org/ceforum/viewtopic.php?f=17&t=16249