Bug 154559

Summary: default to dark workspace background / page background when macOS set to dark
Product: LibreOffice Reporter: steve <lo>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sierkb, vsfoote
Priority: medium    
Version: 7.6.0.0 alpha0+   
Hardware: All   
OS: macOS (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=153334
https://bugs.documentfoundation.org/show_bug.cgi?id=152184
https://bugs.documentfoundation.org/show_bug.cgi?id=153229
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 118017    
Attachments: 2023-04-02 mcaOS dark mode, application colors system theme but white workspace
TextEdit.app default background in system's dark mode

Description steve 2023-04-02 09:59:09 UTC
Description:
Really nice to see dark mode support. But even after https://bugs.documentfoundation.org/show_bug.cgi?id=152184 as been fixed, the workspace background remains white despite having set Application Colors to Automatic and Automatic to System Theme.

What's with the "WYSIWYG" logic?

Printing is becoming a rare thing in 2023 and I don't believe users think that a black page with white font will be printed when they use dark mode.

https://support.microsoft.com/en-us/office/dark-mode-in-word-e17b79a3-762f-4280-a81c-a15a859a693a#ID0EDD=MacOS seems to agree and defaults to 

a) automatically following system settings by default
b) uses dark workspace background

It would be great if LibreOffice applied the same logic, at least for macOS. Having the ability to use dark mode with white workspace background and vice versa is great, but should not be the default. I am not familiar enough with how this is handled on windows. Documentation refers to a toggle specifically for page background.

Steps to Reproduce:
1. set macOS to dark mode
2. set LibreOffice > Application Colors to Automatic
3. set Automatic to System Theme

Actual Results:
white page background

Expected Results:
dark page background


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 96aad0d0497c8486f8affc8fed79e63a060c9a59
CPU threads: 8; OS: Mac OS X 13.3; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 steve 2023-04-02 09:59:29 UTC
Created attachment 186405 [details]
2023-04-02 mcaOS dark mode, application colors system theme but white workspace
Comment 2 Sierk Bornemann 2023-04-02 10:56:55 UTC
I side with steve.
Comment 3 Sierk Bornemann 2023-04-02 10:59:17 UTC
Created attachment 186406 [details]
TextEdit.app default background in system's dark mode
Comment 4 Sierk Bornemann 2023-04-02 11:04:55 UTC
(In reply to Sierk Bornemann from comment #3)
> Created attachment 186406 [details]
> TextEdit.app default background in system's dark mode

FYI: TextEdit.app is part of macOS, not a third-party app.
App's background color, when the system is in dark mode: dark, foreground color: light/white. Not the other way around.
Comment 5 steve 2023-04-19 16:28:35 UTC
Requested behavior has been implemented in https://bugs.documentfoundation.org/show_bug.cgi?id=152184

Setting to duplicate.

*** This bug has been marked as a duplicate of bug 152184 ***
Comment 6 Sierk Bornemann 2023-04-19 17:28:40 UTC
Works for me now. Seems to be fixed, thanks to Heiko's patch in
https://bugs.documentfoundation.org/show_bug.cgi?id=152184#c23

Version: 7.6.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 10; OS: Mac OS X 13.3.1; UI render: Skia/Metal; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded