Skip to content

Z-indexing for desktop widgets #2715

Description

@Nidrax

Feature Description

(using the latest DMS release v1.4.6)
An option to force a specific rendering z-index for desktop widgets

Use Case

I have a clock widget and Dank Audio Visualizer placed at the same position within the desktop. It looks like the order in which is drawn on top is determined at random every time the shell is initialized which requires user intervention to reposition them accordingly.

How I have them set up in my Settings:
Image

How one would expect them to be rendered (clock is rendered in front of audio visualizer):
Image

How it renders at times after relogging/reboot (visualizer is in front of the clock):
Image

Compositor(s)

Niri

Proposed Solution

Desktop widgets should either have an option to set their rendering z-index, or be drawn according to the order they are added (loaded) in the Desktop Widgets menu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions