Trisquel layout toplevel-id is incorrect
Bug Report Template
dconf watch / is commonly used to monitor changes in GUI elements like the MATE Panel. However, the default bottom panel currently has the toplevel-id "top," which can confuse users interpreting the output.
1. Affected Package revision / version
2. Steps to Reproduce
- Right-click on the panel and select "New Panel". It will automatically be placed in the top.
- Open mate-terminal and run
dconf watch / - Add anything to the bottom panel
- Right-click on the panel
- Choose "Add to Panel..."
- add anything
- Add anything to the new empty top panel
- Right-click on the panel
- Choose "Add to Panel..."
- add anything
3. Current Behavior
dconf output for the bottom panel:
/org/mate/panel/objects/object-0/toplevel-id
'top'
dconf output for the top panel:
/org/mate/panel/objects/object-0/toplevel-id
'toplevel-0'
4. Expected Behavior (optional)
To follow the current approach (also used by Ubuntu MATE)
Expected dconf output for the bottom panel:
/org/mate/panel/objects/object-0/toplevel-id
'bottom'
Expected dconf output for the top panel remain unchanged:
/org/mate/panel/objects/object-0/toplevel-id
'toplevel-0'
To add MATE's "New Panel" approach
Expected dconf output for the bottom panel:
/org/mate/panel/objects/object-0/toplevel-id
'toplevel-0'
Expected dconf output for the top panel:
/org/mate/panel/objects/object-0/toplevel-id
'toplevel-1'
5. Workaround (optional)
6. Suggestions, Investigation and Possible Causes (optional)
Open /usr/share/mate-panel/layouts/trisquel.layout
In Ubuntu MATE 22.04 the bottom panel is identified as "bottom":
[Toplevel bottom]toplevel-id=bottom
In Trisquel the default bottom panel is currently identified as "top" in /usr/share/mate-panel/layouts/trisquel.layout even though it is located at the bottom:
-
[Toplevel top]-- please replace it to[Toplevel bottom]or[toplevel-0] -
toplevel-id=top-- replace it withtoplevel-id=bottomortoplevel-id=toplevel-0
7. Other Tests (optional)
Edited by David Hedlund