Skip to content

Consider reinstating Z-index support #100

@ajyoon

Description

@ajyoon

A user recently reported they were relying on the z-index support removed in 0.1.7. If I remember right, I did this because work on inherited transforms was changing the way the Qt scene object graph was organized, and maintaining Z-index semantics was tricky, and unlikely to work in a backwards compatible manner.

Since there are real use-cases for this feature, this decision is worth revisiting. I think z-index support probably could be reimplemented, using or not using Qt's z-index system. Not using it would be a matter of changing the child object render order in PositionedObject.render from a simple list iteration to a pretty simple 'group by z index, then iterate' process. Alternatively, there probably is a way to use Qt's z-index system, but some care would be needed since the scene graph structure changes when objects are in or outside of flowable contexts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions