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

The CEF program cannot open webpages in the background. #3885

Closed
ethanlee5192 opened this issue Feb 13, 2025 · 1 comment
Closed

The CEF program cannot open webpages in the background. #3885

ethanlee5192 opened this issue Feb 13, 2025 · 1 comment
Labels
bug Bug report

Comments

@ethanlee5192
Copy link

ethanlee5192 commented Feb 13, 2025

cefsimple.exe cannou run double times

To Reproduce
Steps to reproduce the behavior:

  1. using the official test case cefsimple.exe, when running it from the console with the command cefsimple.exe --url=www.youtube.com
  2. the CEF page opens normally the first time.
  3. However, when running the command cefsimple.exe --url=www.youtube.com again while the console is still running
  4. A new Chrome tab opens instead of loading the specified URL.
  5. After integrating CEF into our application, the program can load the webpage correctly in the foreground, but when it moves to the background and tries to load the webpage, it doesn't load; instead, a new Chrome tab is opened.

Expected behavior
1、After step 3 is completed, the webpage can be loaded normally.

Screenshots

Image
Image

Versions (please complete the following information):

  • OS: Windows 10
  • CEF Version: 131.3.4
@ethanlee5192 ethanlee5192 added the bug Bug report label Feb 13, 2025
@magreenblatt
Copy link
Collaborator

You need to implement OnAlreadyRunningAppRelaunch

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