important enhancement for kids and teens against short sightedness. dark theme with black background against short sightedness, eye strain and better sleeping after late work see science results in german: https://www.geo.de/wissen/gesundheit/19282-rtkl-kurzsichtigkeit-warum-wir-zukuenftig-mehr-weiss-auf-schwarz-lesen and in english: https://www.nature.com/articles/s41598-018-28904-x So in all software products with white background, a dark mode with dark theme against short sightedness and eye strain should be available in first step. in android 10 a dark mode will be available. in iOS 11+ intelligent color invert without photo invert is available. Also significant reduction of energy consumption in smartphones, tablets and laptops with OLED display with black background.
in actual LO 6.2 themes from Firefox are not available, so dark theme of Firefox are not available. working mode with inverted colors for white background and normal black types is not available. in Android 10 dark mode is coming. in iOS 11+ intelligent color invert is available. So libre office viewer should have dark mode. windows 10 goes with dark theme first steps into dark mode.
LibreOffice aims to comply with the system theme (=> see also). So if you run your Android with a dark theme it should work also for this app. Please submit screenshots to illustrate the issue.
android 9.0 have a dark theme see https://android.gadgethacks.com/how-to/enable-android-9-0-pies-new-manual-dark-theme-your-google-pixel-0185744/ some parts of Android 9 have dark theme. And some apps have the dark mode of black backgroud and white letters. in german https://www.vodafone.de/featured/apps/diese-android-apps-besitzen-einen-dark-mode/# in english
in english apps with dark mode https://www.computerworld.com/article/3335639/android-dark-mode.html
in a greater horizont: in future mostly the papers are only electronic and sometimes in white paper. so a dark version of every document is necessary for healthy reading and a white version for physical paper documentation. A future libre office 6.x should have an dark mode for doing documents and reading documents. One button should change the view of the whole program from white to black or black to white. so this is not a theme only for android viewer. It is needed for the whole program.
android 10 with more dark mode for battery saving by oled-displays see https://www.archyworldys.com/android-10-q-how-to-enable-dark-mode-on-the-google-pixel-3-and-pixel-3-xl/
windows 10 dark theme since built 10056 in german https://winfuture.de/news,86618.html in english https://www.howtogeek.com/222614/how-to-enable-windows-10s-hidden-dark-theme/
actual microsoft office with 2013+ have also a black theme but without a black paper see https://www.howtogeek.com/360470/how-to-enable-dark-mode-in-microsoft-office/
All your links are off-topic, sorry. If you run into trouble with LibreOffice Viewer please make a screenshot of the particular issue. Talking about the desktop version there are options to change the colors. And again, supporting the system theme / mode is what we aim for not a special solution with a button or the like to switch from a to b.
Created attachment 151162 [details] screenshot of LO test.odg in android 9 with viewer 6.1 see screenshot no invert of odg with white background to black background possible. in other apps like adobe reader with night modus is this possible.
Created attachment 151164 [details] screenshot of acrobat reader test.pdf in android 9 with night modus see a screenshot with acrobat reader in night modus available in android 9 (and previous system versions) smart invert of black and white for better healthiness of eyes.
[Automated Action] NeedInfo-To-Unconfirmed
Created attachment 151383 [details] 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.
Bug 118320 for Windows and bug 118017 for Mac are confirmed, I guess we can do the same for this one...
Created attachment 159262 [details] science black background against short sightedness 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.
in windows importance is high and here is it only medium this is not consistant.
(In reply to paulystefan from comment #16) > Created attachment 159262 [details] Please share the link to external sources.
see description with links. but links were often obsolete by longer time distances. with pdf is no forget.
The content of attachment 151383 [details] has been deleted
(In reply to paulystefan from comment #19) > see description with links. Sorry, adding a URL is perfectly fine (I put it back).
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/10cdb834281c0c37e6966173e67150e39917ccd7 tdf#124480 android: Use MaterialToolbar and drop manual bg color It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9e7df5bdf2c0e9585f01c16bbb5a377fe64299ca tdf#124480 android: Replace hard-coded bg color with themeable one It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d82a9cb8d6a1e11663f19a85cfb98ce9a94692be tdf#124480 android: Support dark theme It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/84996f452f86cb6e83ae0d86c1612e3f3c616a17 tdf#124480 android: Use theme bg color for bottom toolbars It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/26d06d6c881a0decb25b82eae1cee42fc6bc6a31 tdf#124480 android: Override icon color for dark theme It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fbca561b97e9669d6a2eaaf7db8c629036a393a0 tdf#124480 android: Drop unused icons It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f37dcb43c0373e75e92fabd82b4f2a17b1fe6055 tdf#124480 android: Use themed color for more icons It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/59093ecb1cdf0ba8c946dfdbe0ec7ee0e89cd6f6 tdf#124480 android: Rename icons no longer using hard-coded color It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/31a689b83112bfa057c2f7f8306b875b9a2ac7c7 tdf#124480 android: Use themed color for icon on start activity It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/322f8e8cb7d103a6666ceb212d43929aab2f111e tdf#124480 android: Use an actual button for "Select file to open" It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c82a594da3189fe82052f8081fda16e9e3cb0c0f tdf#124480 android: Avoid using color attr requiring API 23 It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fa1f867caca9e5c6c0dbd4bcaf096f27077f363d tdf#124480 android: Set bg color for calc formula bar It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 191145 [details] Screencast of dark theme as of 2023-11-30 The commits/changes from the previous comments implement dark theme support for the native Android user interface elements (like toolbars, menus,...). Changing the colors used for the document canvas is not implemented so far, but might follow at some point in the future. Attached is a screencast showing what this looks like in the current development version of the app. For implementing support for switching the document colors to dark mode, the ".uno:ChangeTheme" UNO command added in the following commit is probably useful: commit 9310192a4a0af4e7e3e9ac6124cdd2a706dfedcb Author: Paris Oplopoios Date: Thu Mar 16 03:55:34 2023 +0200 Add uno command that changes the theme
*** Bug 162151 has been marked as a duplicate of this bug. ***
Mr. Weghorn, Thanks for cleaning that up. I found that the LibreOffice Viewer app has been rebranded as Collabera Office. (Yes? No?) It's available on fdroid provided you add the Collabora repository. Of course I didn't do it that way. I went to the Collabora site & downloaded the latest apk. It does support dark mode in the editing mode. Regards, •Hank
(In reply to hank.tu.biz from comment #36) > Thanks for cleaning that up. I found that the LibreOffice Viewer app has > been rebranded as Collabera Office. (Yes? No?) It's available on fdroid > provided you add the Collabora repository. Collabora Office is based on LibreOffice as well, and Collabora is one of the main contributors to LibreOffice. The Android version of it is based on Collabora Online, which uses LibreOffice core, too, but is different from the LibreOffice Viewer app provided by TDF. (It's more based on web technologies, see https://github.com/CollaboraOnline/online/ .)