Submission checklist
Bug description
OS: CachyOS
Noctalia version: noctalia-git 5.0.0.r1191.g39a4a335c-6
I have a minimal configuration file located in ~/.config/labwc/rc.xml
When I apply the Catppuccin theme using Noctalia configuration, this file is updated incorrectly.
Specifically, the following lines are prepended to the very beginning of the file:
<theme>
<name>noctalia</name>
</theme>
This places them right before the XML prologue and the root tag:
<?xml version="1.0" encoding="utf-8"?>
<labwc_config>
<keyboard>
<device>
<layout>es</layout>
</device>
</keyboard>
<desktops>
<number>2</number>
<names>
<name>1</name>
<name>2</name>
</names>
</desktops>
</labwc_config>
As a result, the final configuration becomes a malformed XML file. Consequently, labwc fails to parse it properly, and settings like virtual desktops are lost/ignored.
Steps to reproduce
- Enable theming for labwc
Expected behavior
Well-formed XML configuration file.
In this example:
<?xml version="1.0" encoding="utf-8"?>
<labwc_config>
<theme>
<name>noctalia</name>
</theme>
<keyboard>
<device>
<layout>es</layout>
</device>
</keyboard>
<desktops>
<number>2</number>
<names>
<name>1</name>
<name>2</name>
</names>
</desktops>
</labwc_config>
Actual behavior
Malformed configuration file.
<theme>
<name>noctalia</name>
</theme>
<?xml version="1.0" encoding="utf-8"?>
<labwc_config>
<keyboard>
<device>
<layout>es</layout>
</device>
</keyboard>
<desktops>
<number>2</number>
<names>
<name>1</name>
<name>2</name>
</names>
</desktops>
</labwc_config>
Logs / error output
Noctalia version
5.0.0.r1191.g39a4a335c-6
Compositor
Labwc
Distribution
Arch-based
Environment information
AUR file: https://aur.archlinux.org/packages/noctalia-git
Additional context
No response
Submission checklist
Bug description
OS: CachyOS
Noctalia version: noctalia-git 5.0.0.r1191.g39a4a335c-6
I have a minimal configuration file located in
~/.config/labwc/rc.xmlWhen I apply the Catppuccin theme using Noctalia configuration, this file is updated incorrectly.
Specifically, the following lines are prepended to the very beginning of the file:
This places them right before the XML prologue and the root tag:
As a result, the final configuration becomes a malformed XML file. Consequently, labwc fails to parse it properly, and settings like virtual desktops are lost/ignored.
Steps to reproduce
Expected behavior
Well-formed XML configuration file.
In this example:
Actual behavior
Malformed configuration file.
Logs / error output
Noctalia version
5.0.0.r1191.g39a4a335c-6
Compositor
Labwc
Distribution
Arch-based
Environment information
Additional context
No response