Request Context Initialized

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Request Context Initialized

Postby fa0110 » Mon Oct 07, 2024 8:15 pm

I can open the preference: autofill.profile_enabled.

I can't open the preference: printing.print_preview_sticky_settings.appState.
The result is null.
Where is the error?

I copied the preferences from https://tests/preferences
fa0110
Techie
 
Posts: 33
Joined: Tue Aug 06, 2024 12:12 am

Re: Request Context Initialized

Postby magreenblatt » Mon Oct 07, 2024 9:20 pm

The preference name is “printing.print_preview_sticky_settings” and it probably expects a dictionary value.
magreenblatt
Site Admin
 
Posts: 12736
Joined: Fri May 29, 2009 6:57 pm

Re: Request Context Initialized

Postby ndesktop » Tue Oct 08, 2024 2:39 am

It's a dictionary.
Looks like SetAppState is a dictionary of previously known printers, something like
Code: Select all
"appState": {
  "version": 2,
  "recentDestinations": [
    {
      "id": "id1",
      "capabilities": { ... }
    }
  ]
}

I cannot find a clear documentation.
ndesktop
Master
 
Posts: 821
Joined: Thu Dec 03, 2015 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 17 guests

cron