Problem/Motivation

Sorting of slots does not conserve the insertion order when weights are all the same.

Steps to reproduce

Add a custom element with multiple sub-elements in a way that all child elements have the same weights.
When processed, the slots get out of initial order.

Proposed resolution

Alter the weights of slots by adding a small increasing value to each weight respectively.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 conserve_slots_insertion_order.patch650 bytespetar_basic

Comments

petar_basic created an issue. See original summary.

petar_basic’s picture

StatusFileSize
new650 bytes

Here is a quick patch.

fago’s picture

Status: Active » Reviewed & tested by the community

thanks, good fix. works as described.

mostepaniukvm’s picture

Assigned: petar_basic » Unassigned
Status: Reviewed & tested by the community » Fixed
mostepaniukvm’s picture

Status: Fixed » Closed (fixed)