Sometimes my app is opening another window with a blue Chrome icon, as the image below shows :
I could not yet identify when and why this happens. Any way to avoid this ?
https://ibb.co/rwnZGy4
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Avoid opening window outside app
Re: Avoid opening window outside app
I can't see the picture. Can you upload it again?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Avoid opening window outside app
Implement TChromium.OnChromeCommand, add a breakpoint and see the command_id value before that window opens.
The MiniBrowser blocks some Chromium windows like this :
https://github.com/salvadordf/CEF4Delphi/blob/f062dad2fd5873dd3a04f323a3d68c18b813c2c8/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas#L561
The MiniBrowser blocks some Chromium windows like this :
https://github.com/salvadordf/CEF4Delphi/blob/f062dad2fd5873dd3a04f323a3d68c18b813c2c8/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas#L561
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Avoid opening window outside app
Thank you, i just implemented this and will monitor to see if it fixes the issue 
