Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percussion panel - refinements round 5 #26075

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mathesoncalum
Copy link
Contributor

@mathesoncalum mathesoncalum commented Jan 13, 2025

In this round of refinements:

Assorted small fixes (7469191)

  1. The panel now automatically resizes to fit the number of pads (see PercussionPanel.qml). Unfortunately we have some technical limitations relating to DockBase::resize meaning the panel will only increase in size to fit the pads and can't shrink.
  2. The duplicate pad action has been disabled for now (see percussionpanelpadmodel.cpp)
  3. Fixed a bug where the panel wasn't always updating when deleting pads (see notationinteraction.cpp)
  4. Fixed panel switching to first staff on copy/paste (see select.cpp)
  5. Pad shortcut labels should be empty instead of showing a dash when no shortcut has been specified (see percussionpanelpadlistmodel.cpp). This also fixes a bug where the undo stack was being altered unnecessarily.
  6. Deleted pads are now restored on reset layout (see percussionpanelpadlistmodel.cpp)

Percussion preferences tweaks (68e434e)

Implemented small UI changes to percussion preferences per designers' request. Choosing the legacy panel option now disables new panel options instead of hiding them.

Fixed bug when switching voices while entering notes (9dcbfac)

Resolves: #22741

This was a general limitation of our note input logic. While adding notes to "overlapping ChordRests" was made possible in other contexts after #23911, the logic was still missing from Score::addPitch (the method used by the percussion panel and piano keyboard).

- Automatically resize panel to fit number of rows
- Disable duplicate pad functionality for now
- Update note input state on undo stack changed
- Fix inconsistent panel behaviour on copy/paste (set selection m_activeTrack)
- Don't use dashes for empty shortcut
- Restore deleted pads on reset layout
@mathesoncalum mathesoncalum force-pushed the percussion_refinements_5 branch from 59a197b to 9dcbfac Compare January 13, 2025 13:57
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.

Drum Kit: can't enter notes of another voice with MIDI keyboard in a single measure
3 participants