MicrosoftEdge / MicrosoftEdge/WebView2Feedback

--force-color-profile=srgb don't work

Open
#3,013 3 comments 0 reactions 1 assignee View on GitHub

@david-risney is already working on this.

Since Dec 2, 2022.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

If the --force-color-profile=srgb argument is added to AdditionalBrowserArguments, the application will not start.

Error:
System.NullReferenceException: "Object reference not set to an instance of an object."

The colours in the browser are not displayed correctly. The command line does not work for this setting.
There are no problems in Edge and in Chrome.

Parameters:
--disable-features=msSmartScreenProtection
--no-proxy-server
Don't cause any errors.

Version
SDK: 1.0.1418.22
Runtime: 1.0.1418.22
Framework: WPF
OS: Windows 10

AB#42920257

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.