Windows-Auto-Night-Mode icon indicating copy to clipboard operation
Windows-Auto-Night-Mode copied to clipboard

ADM doesn't switch theme for Outlook

Open anishre opened this issue 2 years ago • 15 comments

Description

ADM doesn't switch dark theme on/off for Outlook but does for other MS365 apps.

Expected Behavior

ADM should change theme for all Office apps according to time switch, but it doesn't do any toggling for outlook app. It has to be changed manually.

Log Data

service.log

Operating System

Windows 10 Pro Version 21H2, OS build 19044.1826

Commit Hash and Version

  • Commit: 5e6ea8a
  • Service: 10.1.0.10
  • Updater: 2.4.2
  • App: 10.0.1.0
  • Shell: 1.3.1.0
  • .Net: 6.0.0

Screenshots

ADM comparison for Excel and Outlook at the same time

image

anishre avatar Jul 15 '22 22:07 anishre

Have you activated "follow system theme" at file -> office account -> office theme -> use system theme?

Armin2208 avatar Jul 17 '22 22:07 Armin2208

Yeah, I had that selected but after every "time based toggle" it would be stuck on the previous theme. For instance I set it to follow system theme when its dark (night time) and when system theme switches in the morning, theme for Outlook is still dark. Happens vice versa as well.

anishre avatar Jul 18 '22 07:07 anishre

ADM's Office Switch functionality is for Office versions that don' have the "use system theme" setting in office. It will not work with current office versions, hence it is marked as legacy

Spiritreader avatar Jul 18 '22 10:07 Spiritreader

What is more clear? The office version years? The legacy mark? Or something like (not 365) :D

Armin2208 avatar Jul 18 '22 11:07 Armin2208

Well technically the clearest would be "for office versions that don't have the feature to follow the system theme"

Spiritreader avatar Jul 18 '22 15:07 Spiritreader

But Microsoft® Outlook® Microsoft 365MSO 2208 Build 16.0.15601.20072 doesn't have this problem.

KeeLee2005 avatar Aug 28 '22 07:08 KeeLee2005

Same problem with Outlook 2210 Build 16.0.15726.20070 64 Bit (MS 365):

Scenario

Pre-condition: Office design is set to "Use system settings" (eg. in Outlook).

  1. Using the computer during the day with the light design.
  2. ADM triggers dark mode sometime during the evening, all designs go dark (Windows & Office).
  3. The next morning, computer boots up, ADM triggers light mode correctly.
  4. Office products behave differently:
  • Outlook theme setting is on "black"
  • Word theme setting is on "colorful"

Why does the office setting change anyway? Ideally, it would stay on "Use system settings".

I can provide more debug info if needed.

Edit: ADM version

  • Commit: 212dbb4
  • Service/App: 10.3.0.90
  • Updater: 2.5.2
  • Shell: 1.3.1.0
  • .Net: 6.0.10
  • Windows: 19045.2130

samuelT2 avatar Nov 03 '22 07:11 samuelT2

The office setting does not work for O365 and can't be used. If you do you get unexpected behavior. It's meant for older versions.

If must be set to disabled in ADM if you use o365

Spiritreader avatar Nov 03 '22 10:11 Spiritreader

Thanks @Spiritreader, I'll deactivate the Microsoft Office setting in ADM.

samuelT2 avatar Nov 03 '22 10:11 samuelT2

Any chance of supporting One Outlook (next generation) Dark Mode? It has a toggable setting in settings, but there's no option to sync with system theme.

https://www.microsoft.com/store/productId/9NRX63209R7B

carlosvsilva avatar Mar 03 '23 20:03 carlosvsilva

no chance because it's an web app

Armin2208 avatar Mar 03 '23 23:03 Armin2208

Any chance of supporting One Outlook (next generation) Dark Mode? It has a toggable setting in settings, but there's no option to sync with system theme.

https://www.microsoft.com/store/productId/9NRX63209R7B

The current version of Outlook (new) (packed with Windows 11 23H2) supports auto theme switching and working fine on my computer.

If you use PWA apps, just install the Dark Reader extension for Edge.

emberaholdon avatar Nov 02 '23 13:11 emberaholdon

I have a different question around this theme: I also noticed that the current Office 365 is correctly switching theme following the system settings if "Use system settings" is set in the Office apps. The current effect is like toggling between the "White theme" for the day and the "Black theme" for the night. My question is: would it be possible to toggle between "White" and "Dark grey" instead of "Black" ? (or suggest a workaround if there is one ?)

luke7101 avatar Dec 06 '23 10:12 luke7101

I don't think there is one at the moment.

You can set up a custom script that modifies the registry, but the apps need to be restarted, they don't change while running.

The key is located at: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common

Set "UI Theme" (DWORD) to:

3: Dark Grey 4: Black 5: White 6: Use system setting 7: Colourful

By the way: black has it's own advantages, for example the background of emails and Word documents also switch to dark, while in "dark grey" mode they are still white which kinda defeats the purpose of dark mode.

emberaholdon avatar Dec 06 '23 13:12 emberaholdon

By the way: black has it's own advantages, for example the background of emails and Word documents also switch to dark, while in "dark grey" mode they are still white which kinda defeats the purpose of dark mode.

Good point!

luke7101 avatar Dec 06 '23 15:12 luke7101