Page 1 of 1

Update v120+

Posted: Fri Feb 09, 2024 8:54 pm
by dilfich
Hi!
After the update, two files next to the program file, what is it and how to get rid of them?

MediaDeviceSalts
and
MediaDeviceSalts-journal

Re: Update v120

Posted: Sat Feb 10, 2024 8:14 am
by salvadordf
Hi,

I can reproduce this issue even with an empty cache setting and not only that, the application crashes after you click the "accept all" button in youtube.

Thanks for reporting this issue! :)

Re: Update v120

Posted: Sat Feb 10, 2024 8:31 am
by salvadordf
I just created an issue in the CEF project :
https://github.com/chromiumembedded/cef/issues/3647

Re: Update v120

Posted: Mon Feb 19, 2024 7:04 pm
by dilfich
Another problem, there are no problems on version 166, on 120 (or 121) the program does not work correctly in hidden mode, something does not load or something else.
What could be the problem?
Launch

Code: Select all

ShellExecute(Form1.Handle, '', 'cmd.exe', ' /c start ' +SubName + ' ' + App_CmdLine, ExtractFilePath(paramstr(0)), SW_HIDE);
If you show the window, then everything works there, as well as if you hide it, then everything will work. I don't understand ((
What has changed and how to fix it?

ps. OSR

Re: Update v120+

Posted: Tue Feb 20, 2024 11:24 am
by salvadordf
Perhaps the application calls TChromium.WasHidden to disable the browser and save resources when the application is not visible.

Comment the TChromium.WasHidden call and check if it works correctly.

Re: Update v120+

Posted: Tue Feb 20, 2024 11:58 am
by dilfich
False alarm :oops:
I found a problem
There seems to be a problem in the new version.

Code: Select all

 try
  TempParams := TCefDictionaryValueRef.New;
  TempParams.SetString('url', url);
  TempParams.SetString('referrer', UrlDomain(url));
  FChromium.ExecuteDevToolsMethod(0, 'Page.navigate', TempParams);
 finally
  TempParams:= nil;
 end;
If there is a "/#/" site.com/#/blabla in the link, then this method behaves strangely, but I can't give an example. Version 116 /#/ works fine.