I tested in a bionic VM with the chromium snap, the chromium-browser
deb, and the chrome deb, and none of them showed dark web content when
passing the --force-dark-mode command-line parameter, so it looks like a
consistent behaviour at least.

chrome://flags/#enable-force-dark can be used to force dark mode though,
and that works in all three packages.

Can you please run "apport-collect 1853273" to attach more information
to this bug report?

** Changed in: chromium-browser (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1853273

Title:
  --force-dark-mode flag in init file does not get recognized

Status in chromium-browser package in Ubuntu:
  Incomplete

Bug description:
  When creating a init file at ~/.chromium-browser.init chromium is
  supposed to read flags from there. However these do not work
  correctly.

  
  What I expected to happen:
  Starting chromium with the --force-dark-mode flag in the init file should 
make it use a dark UI (as long as the GTK theme option in the settings is not 
used)

  What happened instead:
  Starting chromium with above configuration correctly echoes 
CHROMIUM_FLAGS="--force-dark-mode" to the terminal and it also appears under 
chrome://version but a normal non-dark UI is used.

  
  What does work:
  Starting chromium with the above flag as an argument from the terminal makes 
it use a dark UI (apparently not for everyone 
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1851896/comments/5)

  What also does not work:
  This may affect all flags - so far I have tested the above and 
"--enable-features=WebUIDarkMode"

  
  Version:
  chromium version: 78.0.3904.97 rev: 937 tracking: stable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1853273/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to