Bug 167977 - configmgr warns about unknown property "Dark" / "Light" in theme xcu
Summary: configmgr warns about unknown property "Dark" / "Light" in theme xcu
Status: RESOLVED DUPLICATE of bug 166942
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: console-noise
  Show dependency treegraph
 
Reported: 2025-08-16 17:36 UTC by Eyal Rozenberg
Modified: 2025-08-18 20:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-08-16 17:36:08 UTC
When starting LibreOffice (start center), I get a large number of repetitions of the following pair of error messages:

warn:configmgr:1586:1586:configmgr/source/xcuparser.cxx:646: unknown property "Dark" in "file:///home/eyalroz/.config/libreofficedev/4/user/uno_packages/cache/uno_packages/lu1814huj8ju.tmp_/OceanBlue.oxt/Theme.xcu"
warn:configmgr:1586:1586:configmgr/source/xcuparser.cxx:646: unknown property "Light" in "file:///home/eyalroz/.config/libreofficedev/4/user/uno_packages/cache/uno_packages/lu1814huj8ju.tmp_/OceanBlue.oxt/Theme.xcu"

So, first, this must not appear more than once. The dozens of appearances means we're parsing the same XML a zillion times.

Second - I have not messed with the OceanBlue theme. So, either it is up-to-date, in which case we should not get these messages at all; or it is out-of-date, in which case it should be discarded from the get-go based on some kind of version compatibility check.
Comment 1 Eyal Rozenberg 2025-08-16 17:37:11 UTC
Build:

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8ffeca7af4302da21d33494342017c3737d540e1
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US
Calc: CL threaded
Comment 2 V Stuart Foote 2025-08-18 13:04:19 UTC
The Ocean Blue theme is a 25.2 theme against the initial theme scheme (Light & Dark flavors covered within a theme). It is not suitable for the theme rework done for 25.8 onward.

See bug 166942
Comment 3 Eyal Rozenberg 2025-08-18 19:56:07 UTC
(In reply to V Stuart Foote from comment #2)
> The Ocean Blue theme is a 25.2 theme against the initial theme scheme (Light
> & Dark flavors covered within a theme). It is not suitable for the theme
> rework done for 25.8 onward.

In that case, it should be quietly ignored as incompatible with 26.2, instead of parsed repeatedly. Given what you've said, you should really mark this as NEW.
Comment 4 V Stuart Foote 2025-08-18 20:31:29 UTC
OK, see cmnt #14 and #15 this duplicates for some theme logic. Which likely will not happen as 25.2 framework passes into EOL.

*** This bug has been marked as a duplicate of bug 166942 ***