Skip to content

Add the ability to hide tracks in the pattern editor#8403

Draft
Itreza2 wants to merge 7 commits into
LMMS:masterfrom
Itreza2:hide-tracks
Draft

Add the ability to hide tracks in the pattern editor#8403
Itreza2 wants to merge 7 commits into
LMMS:masterfrom
Itreza2:hide-tracks

Conversation

@Itreza2
Copy link
Copy Markdown
Contributor

@Itreza2 Itreza2 commented May 20, 2026

This PR introduce the ability to hide tracks for a specific pattern in the pattern editor.

  • One option is added in the track's actions menu: "Hide track for the current pattern"
  • Two buttons are added in the pattern editor window toolbar: "Show all" and "Hide empty"
2026-05-20.19-55-18.mp4

General principle:
A new BoolModel member is added to Clip (m_hiddenModel).
In the PatternStore (the track container that stores all the patterns), each track contain one clip for each pattern. If m_hiddenModel is true for a clip, the track is hidden in the corresponding pattern.

Remaining tasks:

  • Update track view after an undo/redo of its visibility
  • Add svg icons for the new buttons
  • (Maybe) design a better UI for the new functionality

@Itreza2 Itreza2 marked this pull request as draft May 20, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant