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.

Update v120+

Post Reply
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Update v120+

Post 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
Last edited by dilfich on Mon Feb 19, 2024 7:04 pm, edited 1 time in total.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update v120

Post 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! :)
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update v120

Post by salvadordf »

I just created an issue in the CEF project :
https://github.com/chromiumembedded/cef/issues/3647
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Re: Update v120

Post 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
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update v120+

Post 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.
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Re: Update v120+

Post 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.
Post Reply