org.mate.panel.toplevel.background: glib-compile-schemas doesn't compile panel "color" unless "type" is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mate-panel (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# gsettings (control)
* Check the default system settings in Ubuntu MATE 23.04:
```
gsettings get org.mate.
# Output:
# '#ffffff'
gsettings get org.mate.
# Output:
# 'none'
```
* Set a panel background with gsettings, then verify it:
```
gsettings set org.mate.
gsettings get org.mate.
# Output:
# '#00ff00'
```
* Reset the color: `gsettings reset org.mate.
# glib-compile-
* Run this in a terminal:
```
sudo tee /usr/share/
# green mate-panel background color. type='color' must be set in addition
[org.mate.
color='#00ff00'
EOF
sudo glib-compile-
```
* No error was reported by glib-compile-
* Log out, and log in from MATE
* Run this
```
gsettings get org.mate.
# Output:
# '#ffffff'
gsettings get org.mate.
# Output:
# 'none'
#######
# Reset to the new system wide default settings:
gsettings reset-recursively org.mate.
# Check the values again to compare them with their previous output:
gsettings get org.mate.
# Output:
# '#ffffff'
gsettings get org.mate.
# Output:
# 'none'
```
* As you can see, the values don't change. My under
## Workaround: Include type='color'
* Run this in a terminal:
```
sudo tee /usr/share/
# green mate-panel background color. type='color' must be set in addition
[org.mate.
color='#00ff00'
type='color'
sudo glib-compile-
```
* No error was reported by glib-compile-
* Log out, and log in from MATE
* Run this
```
# Check the values:
gsettings get org.mate.
# Output:
# '#00ff00'
gsettings get org.mate.
# Output:
# 'color'
#######
# Reset to the new system wide default settings:
gsettings reset-recursively org.mate.
# Check the values again to compare them with their previous output:
gsettings get org.mate.
# '#00ff00'
gsettings get org.mate.
# Output:
# 'color'
```
* As you can see, the values are changed.
## Why the color variable should not be required
The color is selected even if the style is changed to "none"
![Screenshot at 2023-08-07 12-32-54](https:/
![Screenshot at 2023-08-07 12-33-36](https:/
![Screenshot at 2023-08-07 12-33-48](https:/
# Distributions
Ubuntu MATE 22.04:
```
$ apt-cache show libglib2.0-bin | head -8
Package: libglib2.0-bin
Architecture: amd64
Version: 2.72.4-0ubuntu2.2
Multi-Arch: foreign
Priority: optional
Section: misc
Source: glib2.0
Origin: Ubuntu
```
Ubuntu MATE 23.04:
```
$ apt-cache show libglib2.0-bin | head -8
Package: libglib2.0-bin
Architecture: amd64
Version: 2.76.1-1
Multi-Arch: foreign
Priority: optional
Section: misc
Source: glib2.0
Origin: Ubuntu
```
# Upstream issue link
https:/
description: | updated |
description: | updated |
affects: | ubuntu → mate-panel (Ubuntu) |
description: | updated |