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

Iframes suppress all modal dialogs with alloy style #3818

Open
bjdupuis opened this issue Oct 24, 2024 · 1 comment
Open

Iframes suppress all modal dialogs with alloy style #3818

bjdupuis opened this issue Oct 24, 2024 · 1 comment
Labels
bug Bug report

Comments

@bjdupuis
Copy link

Describe the bug
When using alloy style iframes suppress all modal dialogs with the console message:

A window.confirm() dialog generated by this page was suppressed because this page is not the active tab of the front window. Please make sure your dialogs are triggered by user interactions to avoid this situation. https://www.chromestatus.com/feature/5140698722467840

If the dev tools window is open the modal dialogs are not suppressed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'this site' using cefclient with alloy style
  2. Click on any of the example dialog invocations. Observe no dialog opens. The green and blue examples should not be suppressed.

Expected behavior
Modals should be opened when appropriate.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • OS: Windows 11
  • CEF Version: Tested against 129 through 130

Additional context
Does the problem reproduce with the 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.

@cztomczak
Copy link
Contributor

Looks like this issue also occurs when there are no iframes. In cefclient dialogs test it works randomly - sometimes works ok, other times doesn't work. In my app js dialogs don't work and I don't use iframes.

cztomczak added a commit to cztomczak/phpdesktop that referenced this issue Nov 11, 2024
Log js dialog execution. JS dialogs don't work due to upstream CEF bug:
chromiumembedded/cef#3818
https://magpcss.org/ceforum/viewtopic.php?f=6&t=20041
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants