Weird explorer shows with executable

tonycaso

Member
Sometimes, randomly, when my executable starts, a browser window appears with the program loading (and it doesn't go past the initial screen, it doesn't load completely). This is a disaster, because apart from looking unprofessional, all the code is exposed. It seems as if that browser window is the http server, which I don't know. The executable program loads perfectly and works normally. I need that extra window to NEVER appear.
 
Could you please send us a screenshot or a video to see the problem? You can use Direct Messages if you don't want to post in a public place.
 
@gdgsupport is there any solve to this one?
I also get the chromium window, witch i do like and almost would like to replace the program window for some applications :)
But as there are 2 windows (program and chromium/browser window) i would like only one of them to appear.
Dont seem to find any option for it?
 
Ok so i cant say i have any of this figured out.
When i start my application the titel shows "about blank" for a second or two.
On my computer with windows 11 PRO this extra chromium browser window only randomly pop upp some times, very rare.
But with my client running win 10 it always pop's up.
It is not anything in my code, i tried scrubbing my main login window to a empty file, but it still opens up.

If i login in my main window and close it with sessions not being closed, when i open upp my login exe again im directly rederected to the rederected page after authenticated already logged in with the chromium window while the exe window still are at the login page.
I do not have any automatic rederect if session is active in my first page, so thats alittle wierd. Only a form to login that goes throu authentication and then landing on my page.

I also tried scrubbing my usermain scripts, the window still opens up.
Tried all settings in rendering engine to default, still the same.

I'll attach a screenshot of my 2 pages (the adressbar in chromium show metodbok.php?setlogin witch is where the authentication.php sends the user after successfull login. And thats what is opened if session is still active when open the exe.)
Also, i have tried destroy all sessions before opening the exe but that only makes the chromium window show my loginpage instead.
 

Attachments

  • dubbel.webp
    dubbel.webp
    31.4 KB · Views: 7
I've noticed that this happens most of the time, but not always, after a crash and reopening the executable. If there was a previous crash when launching the executable, this window always appears. I've disabled all logs, and it still happens.
 
I tried that and i can also confirm that if the application crashes so that i need to end the application in taskmanager, when i reopen it, the chromium windows appears.
 
Yes, we are aware of this issue appeared in the last CEF version. We'are studying for a way to disable this automated "restore" behavior from Chromium. Thanks for the reports!
 
Back
Top