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

SimpleFMXBrowser shows a blank screen when restored from the task bar #253

Closed
SoftacomDevelopment opened this issue Dec 12, 2019 · 7 comments
Labels

Comments

@SoftacomDevelopment
Copy link

Installed FMXChromium, cef.dll v78.3.4, RAD Studio 10.3.2, Win10x64.
Demo App:

  • SImpleFMXBrowser looks works well;
  • FMXExternalPumpBrowser:
    1. Build app/run
    2. Google.com page loaded
    3. After manual browser resize the app UI becames frozen and I able to close the app only from WIndows Task Manager
      image
@SoftacomDevelopment
Copy link
Author

SImpleFMXBrowser app has no any browser content on form after minimizing app window and restore it position back

@salvadordf
Copy link
Owner

Hi,

FMXExternalPumpBrowser use the OSR and that issue was fixed recently. Please, download the latest CEF4Delphi version.

I can reproduce the SimpleFMXBrowser issue. I'll try to fix it as soon as I can.

@salvadordf salvadordf added the bug label Dec 12, 2019
@salvadordf salvadordf changed the title FMXBufferPanel SimpleFMXBrowser shows a blank screen when restored from the task bar Dec 12, 2019
@SoftacomDevelopment
Copy link
Author

Thanks for your reply

salvadordf added a commit that referenced this issue Jan 2, 2020
- Added TFMXChromium.SaveAsBitmapStream
- Added TChromium.SaveAsBitmapStream
- Fixed bug #253
@salvadordf
Copy link
Owner

This bug was fixed with this commit :
e53cc7e

Related forum thread :
https://www.briskbard.com/forum/viewtopic.php?f=10&t=913

I implemented the workaround that Bandy gave in the forum when the window state changes. It was necessary to add a new property in the main form called CurrentWindowState to get the real window state and check when the form was restored.

salvadordf added a commit that referenced this issue Jan 15, 2020
- Fixed issue #253 when the FMX demos in normal mode are minimized and restored by clicking directly in the task bar icon.
@salvadordf
Copy link
Owner

The first fix for this issue was incomplete. In order to fix this it was necessary to replace the uFMXApplicationService unit with a custom WndProc procedure to handle the Windows messages correctly.

@chinacodegear
Copy link

when will resolve the problem?

@salvadordf
Copy link
Owner

@chinacodegear : This bug was fixed on January 2nd with this commit :
e53cc7e

Please download CEF4Delphi again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants