Bug 165225 - Text is not visible on selected inactive menu bars on LibreOffice v.25.2.0.3
Summary: Text is not visible on selected inactive menu bars on LibreOffice v.25.2.0.3
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: target:26.8.0 target:26.2.0.0.beta2
Keywords:
Depends on:
Blocks: LibreOffice-Themes DoAsMacro
  Show dependency treegraph
 
Reported: 2025-02-13 07:37 UTC by Tyr Antilles
Modified: 2025-12-10 11:49 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast (519.34 KB, image/gif)
2025-10-30 09:20 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyr Antilles 2025-02-13 07:37:47 UTC
Description:
With LibreOffice v.25.2.0.3 the themes appearence customization was greatly improved. This feature is awesome for me since I prefer to not have white on menus, page, buttons, etc., but black is not very good either. As it is a new feature I think I discovered a few glitches. If I am wrong please excuse me.

1. On inactive menu bars the active text is always the same color as the selection, thus not readible (see the screenshot https://mega.nz/file/Jf5RHQxT#wtDMzKlXaSVjxUQNH3_JjABVJWWr5TiIDo2sJbiKi0U).

2. The page scroll arrows are not visible unless I hover the mouse over them. With certain themes is hard to guess where the scroll bars are. (see the screenshot https://mega.nz/file/Jf5RHQxT#wtDMzKlXaSVjxUQNH3_JjABVJWWr5TiIDo2sJbiKi0U).

Feature request:
3. A save/load theme button would be very very useful to save my themes and import them on other computer or share them with the community. (Options > Appearance > LibreOffice Themes). (See the screenshot https://mega.nz/file/cCQDxJqb#bEQMfpp2QNnZlkf_8HJ0jBlxFxKKQBa6wppsdgFHLEA)

Thank you for this nice LO THEMES overhaul.

Steps to Reproduce:
Change the theme and
1. hover the mouse over inactive items on the menu.
2. hover mouse over the scrollbar arrows.
3. try to transport the theme on other computer.

Actual Results:
1. text is not visible
2. the scrollbar arrows are not visible unless I hover mouse over them
3. I cannot import/export themes.

Expected Results:
be visible
(I did not try to reset my user profile).


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.3 (X86_64) / LibreOffice Community
Build ID: e1cf4a87eb02d755bce1a01209907ea5ddc8f069
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: CL threaded
Comment 1 Tyr Antilles 2025-02-13 08:53:52 UTC
update: on older LO versions the inactive text on the menus simply couldn't be selected, whick I think was the right behavior.
Comment 2 m_a_riosv 2025-02-13 09:42:58 UTC
Reproducible
Version: 25.2.1.1 (X86_64) / LibreOffice Community
Build ID: e538fb6403facdfd3db0250c3b3278236c675c2a
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Heiko Tietze 2025-02-17 14:42:21 UTC
Looks like you use your own theme, do you? IIRC there is an option for these texts.

Export: we pondered over such solution. There is a macro for more conveniently create a theme and ideas to export via macro similar to color themes. But basically we decided to not implement this function in core.
Comment 4 Tyr Antilles 2025-10-22 08:45:09 UTC
Yes. I use my own custom theme that I like very much.

https://1drv.ms/i/c/bf714289b4de48ab/EcpUdneeB8ZPg37SncYa6FAB1a1QN-qUL55JQN7R8cyrmQ?e=uQCY8T

As of LibreOffice v.25.8.2.2, the Appearance section was redesigned, but with even less options. Now I can't even create a new theme. To enjoy my favorite customized colors I need now to modify an existing theme (the Light one in my case).
Is still great that I can do that. Please do not remove the possibility to use my custom theme.
Comment 5 Tyr Antilles 2025-10-22 09:15:12 UTC
Still, I think it will be nice in the future to have options to create, edit and save/load these custom themes.
Comment 6 Heiko Tietze 2025-10-28 10:20:17 UTC
(In reply to Tyr Antilles from comment #4)
> Yes. I use my own custom theme that I like very much.
Do you mind to share the theme? Here to review the issue and perhaps later on https://extensions.libreoffice.org/ to share it with the community.
Comment 7 Heiko Tietze 2025-10-28 10:23:15 UTC
(In reply to Heiko Tietze from comment #6)
> Do you mind to share the theme?
I mean to respond on issues #2 and #3.

As for the export, which would make "share the theme" more easy than to copy/paste RGB values I could imagine a macro.
Comment 8 Tyr Antilles 2025-10-28 12:07:09 UTC
I do not know of other way to share the theme but to modify manually color codes for each LO customizable element.
Here is the theme I created: https://1drv.ms/u/c/bf714289b4de48ab/EeiVAlcDxUZKoK9-1J4vhe4BGSUsJXiq6nXAjQdoBWnn8g?e=YQSGNr
If I need to reinstall LibreOffice on a different computer I will need to manually input all the elements again. That's why I said a create/save/load theme would be great.
I am sorry, I do not know of other way. I am not a programmer or something of the kind.

Though I noticed that LO stores the theme color codes on this file: c:\Users\{WindowsUserName}\AppData\Roaming\LibreOffice\4\user\registrymodifications.xcu
and around line 355 it stores information about the modified Light theme:
<item oor:path="/org.openoffice.Office.UI/ColorScheme/ColorSchemes/org.openoffice.Office.UI:ColorScheme['COLOR_SCHEME_LIBREOFFICE_LIGHT']/AccentColor"><prop oor:name="Color" oor:op="fuse"><value>6553600</value></prop></item>

I hope this helps. Please let me know if I can do something else.
Comment 9 Heiko Tietze 2025-10-30 09:20:18 UTC
Created attachment 203606 [details]
Screencast

This appears to be a bug. With Tools > Options > Appearance: [x] Enable application theming being active the inactive menu items receive the hover/highlighht background while the default is some other color. Sahil, do you have a quick solution at hand?

It's a Windows-only issue since on Linux, at least with Qt, the disabled menu entries are not altered/highlighted at all.
Comment 10 Commit Notification 2025-12-07 14:35:14 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a4ff4bcc4d7432af65a17e489ebf5f88a06d74d7

Related tdf#165225 - Correct theme color for disabled menu items on Qt

It will be available in 26.8.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.
Comment 11 Mihai Vasiliu 2025-12-08 22:30:37 UTC
It seems that this is not fixed in

Version: 26.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1e275b2e0f07249a88d760b5a9c63a9589737d3e
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: CL threaded

Maybe because of: tdf#164773
Comment 12 Commit Notification 2025-12-09 07:25:32 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b03fc7bb20902d47f4b4cee70229d831d64401f1

Resolves tdf#165225 - Correct theme color for disabled menu items on Windows

It will be available in 26.8.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.
Comment 13 Heiko Tietze 2025-12-09 07:28:23 UTC
(In reply to Mihai Vasiliu from comment #11)
> It seems that this is not fixed in
> VCL: win

The first patch solved the problem for Qt, the second on Win.
Comment 14 Commit Notification 2025-12-10 06:38:51 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

https://git.libreoffice.org/core/commit/94c80cc59abc50cc2721bb054c235b56dd02c545

Related tdf#165225 - Correct theme color for disabled menu items on Qt

It will be available in 26.2.0.0.beta2.

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.
Comment 15 Commit Notification 2025-12-10 11:42:33 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

https://git.libreoffice.org/core/commit/aa347a75ed7138328c084fdde30dd3f4937f31c3

Resolves tdf#165225 - Correct theme color for disabled menu items on Windows

It will be available in 26.2.0.0.beta2.

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.
Comment 16 Mihai Vasiliu 2025-12-10 11:49:57 UTC
Tested in

Version: 26.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 31ed14cdc3880d3cd04fe70724ec62c286eca715
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: CL threaded

There is no hightlight color for disabled menu-items, so the text is now visible.