You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect a problem with the preferred color scheme :
Each time I change the color scheme with put_PreferredColorScheme,
this change the displayed color scheme (AND the result of get_PreferredColorScheme)
for ALL webview2 opened pages : this is ok and this proves the profile of these
pages is the same;
but each time I create a new page, get_PreferredColorScheme (FOR ANY NEW CREATED PAGE)
always return "auto" and this don't always match with displayed color scheme
for this page, the color scheme is the one of the last call of put_PreferredColorScheme;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I suspect a problem with the preferred color scheme :
Each time I change the color scheme with put_PreferredColorScheme,
this change the displayed color scheme (AND the result of get_PreferredColorScheme)
for ALL webview2 opened pages : this is ok and this proves the profile of these
pages is the same;
but each time I create a new page, get_PreferredColorScheme (FOR ANY NEW CREATED PAGE)
always return "auto" and this don't always match with displayed color scheme
for this page, the color scheme is the one of the last call of put_PreferredColorScheme;
Win10, runtime 129.0.2792.89
I think this behaviour is not smart.
Beta Was this translation helpful? Give feedback.
All reactions