Bug 118017 - support macOS dark mode
Summary: support macOS dark mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
3.3.0 release
Hardware: All Mac OS X (All)
: medium enhancement
Assignee: Not Assigned
URL: https://developer.apple.com/design/hu...
Keywords: needsDevAdvice
: 130714 136425 (view as bug list)
Depends on:
Blocks: MacOS-Wishlist UI-Theming Desktop-Integration
  Show dependency treegraph
Reported: 2018-06-05 18:11 UTC by steve
Modified: 2020-11-18 19:34 UTC (History)
13 users (show)

See Also:
Crash report or crash signature:

german pdf print of geo article against short sightedness (532.30 KB, application/pdf)
2020-04-02 09:37 UTC, paulystefan
science black background against short sightedness (3.54 MB, application/pdf)
2020-04-02 09:45 UTC, paulystefan

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2018-06-05 18:11:32 UTC
macOS 10.14 brings native dark mode. Not sure how this is integrated, but with a developer account for Apple, it should be possible to find out, how they are planning to deal with third party apps and which exact steps devs have to take to support this.

Steps to Reproduce:
macOS 10.14 dark mode but LO does not support it when switched to.

Actual Results:  
No dark mode on macOS.

Expected Results:
Support for dark mode.

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0
Comment 1 steve 2018-07-08 10:07:36 UTC
Interesting thoughts on dark mode from dev perspective:
Comment 2 Ariel 2019-08-09 13:38:04 UTC

As of 6.3, there also doesn't seem to be any simple way to even manually change UI items 'consistently' to any desired tone/background.

E.g., Preferences > Personalization > select the dark gray box: background of the menu bar changes, but nothing else (application background and side bar remain light). Manually changing App Colors > application background > dark grey fixes the app background but the sidebar remains light gray = eye sore :)
Comment 3 Pedro 2019-12-08 12:52:23 UTC
Just an FYI.
NeoOffice, a fork of LibreOffice which is Mac specific, and available in the App Store supports Mac dark theme.
Not only that but it also has multiple Mac specific improvements.


It is licensed under GPL3 as LO, so maybe we could bring their code to mainline LO.
Comment 4 V Stuart Foote 2020-02-17 00:58:59 UTC
*** Bug 130714 has been marked as a duplicate of this bug. ***
Comment 5 paulystefan 2020-04-02 09:37:55 UTC
Created attachment 159260 [details]
german pdf print of geo article against short sightedness

german pdf print of geo article against short sightedness

for german developers see german geo article or this pdf.

Night modus for working and reading is necessary with modified icons and tables in all versions of libreoffice not only the viewer also in macos, linux and windows.
Comment 6 paulystefan 2020-04-02 09:45:43 UTC
Created attachment 159263 [details]
science black background against short sightedness

german scientist made the break throw.

Reading and Myopia: Contrast Polarity Matters
Andrea C. Aleman, Min Wang & Frank Schaeffel

In myopia the eye grows too long, generating poorly focused retinal images when people try to look at a distance. Myopia is tightly linked to the educational status and is on the rise worldwide. It is still not clear which kind of visual experience stimulates eye growth in children and students when they study. We propose a new and perhaps unexpected reason. Work in animal models has shown that selective activation of ON or OFF pathways has also selective effects on eye growth. This is likely to be true also in humans. Using custom-developed software to process video frames of the visual environment in realtime we quantified relative ON and OFF stimulus strengths. We found that ON and OFF inputs were largely balanced in natural environments. However, black text on white paper heavily overstimulated retinal OFF pathways. Conversely, white text on black paper overstimulated ON pathways. Using optical coherence tomography (OCT) in young human subjects, we found that the choroid, the heavily perfused layer behind the retina in the eye, becomes about 16 μm thinner in only one hour when subjects read black text on white background but about 10 μm thicker when they read white text from black background. Studies both in animal models and in humans have shown that thinner choroids are associated with myopia development and thicker choroids with myopia inhibition. Therefore, reading white text from a black screen or tablet may be a way to inhibit myopia, while conventional black text on white background may stimulate myopia.
Comment 7 paulystefan 2020-04-02 09:56:10 UTC
in windows the imortance is high

and here only medium

this is not consistant.
Comment 8 steve 2020-05-17 09:25:10 UTC
@stefan: "Changing priority to 'high' since the number of duplicates is higher than 5 or the number of people in CC higher than 20" was reasoning for changing priority for windows bug. This bug here currently has 10 cc and one dupe so not matching that criteria.

Would love to see LO behave smart and follow the system default. It's possibel to get to an okayish dark mode on macOS if you adjust Preferences > View Icon Style, Preferences > Personalization and Preferences > Application Colors.

That seems fairly simple, although this should be automated and two defaults (light / dark) should be defined and applied according to macOS system setting with option to choose light / dark overruling the system pref.

But I am pretty sure design team is aware and the dev resources are very thin, so not sure when this will be implemented.
Comment 9 Julien Nabet 2020-09-03 09:15:22 UTC
*** Bug 136425 has been marked as a duplicate of this bug. ***