Skip to content

Lower Opacity of Previous Branches in Kando Tree & Put Them Below New Branch #758

Open

Description

@WMan22

Description

Currently, if you have a heavily occupied kando menu, there is a chance for buttons to overlap on top of each other, like so:
kandoclash

I would like for kando to not only put older branches beneath new branches, but lower the opacity of branches closer to the root of the kando menu every time you open into a new branch.

Affected Desktop Environments

All

Additional Information

Tested on Kando 1.7.0 Appimage, KDE Plasma Wayland, Nobara Project 41.

Activity

  1. added
    feature request
    on Dec 28, 2024
  2. Schneegans commented on Jan 1, 2025

    @Schneegans
    Contributor

    Thanks for the suggestion! I think both aspects are controlled by the menu theme. But keeping older branches below the current one should be indeed the default behavior. With the transparency, we have to experiment, I think. I am not sure that it will look good with every theme.

  3. added
    contributions welcome
    on Jan 1, 2025
  4. WMan22 commented on Jan 2, 2025

    @WMan22
    Author

    Thanks for the suggestion! I think both aspects are controlled by the menu theme. But keeping older branches below the current one should be indeed the default behavior. With the transparency, we have to experiment, I think. I am not sure that it will look good with every theme.

    Perhaps it doesn't have to lower opacity, but rather desaturate the color of older branches into becoming more dark grey and featureless as you click into newer branches.

    Essentially the whole point of this is more of a bugfix meets QoL than a feature request, since my main issue is more that, as seen in the picture, for some reason the older branch of the kando menu is put in render priority above the new one that I'm actually trying to click on.

  5. nruir commented on Oct 30, 2026

    @nruir

    Hi @Schneegans , I’d like to work on this issue.

    I checked on the latest version and the issue still happens: items of earlier levels are drawn on top of the items of the currently opened submenu, so they can cover the items you are trying to select.

    Tested on Kando 3.0.1, Windows 11, default theme.

    Image

    Following your comment, I’d focus on making sure older branches are always drawn below the current one as the default behavior. Since you mentioned the transparency needs some experimenting, I’d leave that out of this first change.

    Does that sound good to you? Any pointers on where this is handled (theme CSS or the menu rendering code) would be very helpful!

  6. Schneegans commented on Oct 31, 2026

    @Schneegans
    Contributor

    @nruir Thank you for your offer! Maybe that's possible with CSS only, yet I'm not sure. The root css style sheet is here. I would suggest to use the dev-tools to inspect the menu tree and see what's going on there. Maybe a z-index based on the menu depth is sufficient.

  7. added a commit that references this issue on Nov 25, 2026
  8. nruir commented on Nov 26, 2026

    @nruir

    Hi @Schneegans, I implemented a fix and opened a pull request.

    The active selection path is now rendered above older branches. Older ancestor visuals and off-path sibling branches use reduced opacity, while the active menu and its children remain fully opaque.

    I also added E2E regression tests for the stacking and opacity behavior.

    PR: #1629

    Tested on Windows 11 with the default theme. Feedback on other themes and platforms would be very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

contributions welcomefeature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions