clutter: x/y-expand not propagated to parent when first inserted in actor tree
Affected version
Ubuntu 23.04
GNOME Shell 44.2
The issue appears on XOrg and, although I haven't tested it, it probably also appears on Wayland
Bug summary
Given two actors parent
and child
, when child
is first added to parent
, its x/y-expand properties will not be propagated to parent
, but will still be applied by parent
's layout manager.
Steps to reproduce
You can find here a gnome shell extension that shows this issue.
What happened
(read the extension code first)
broken_container
filled main_container
only after removing and re-adding expandable_container
.
What did you expect to happen
broken_container
should have filled main_container
from the start because the y-expand
property of expandable_container
should have propagated to it.
Relevant logs, screenshots, screencasts etc.
You can find my technical analysis of the issue in the comments on the extension code.
Edited by Zacharie DUBRULLE