musescore / musescore/MuseScore
Fix 'Style...' behavior when right-clicking on frames
Open
Nobody has claimed this yet.
community
P3
UX/interaction
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Task
When right-clicking on the blank space in each of these frame types, the 'Style...' option should either jump to the relevant page in the dialog or be disabled entirely if no such page exists.
- Vertical frame: 'Style...' should open to the 'Spacing' page of the style dialog (since there are options there for 'Vertical frame top margin' and 'Vertical frame bottom margin')
- Horizontal frame: 'Style...' should be disabled*
- Text frame: Since a text frame can only contain one text type, right-clicking in the blank area of a text frame and pressing 'Style...' should open the style dialog on the same text style page that would open if doing the same right-click on the text itself. By default, this is the 'Frame' text style, but if the user changed the text style in properties, it should open to that text style instead.
- Fretboard diagram legend: 'Style...' should open to the 'Fretboard diagrams' page.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the context-menu handling for vertical, horizontal, text, and fretboard diagram legend frames, then trace how the 'Style...' action selects a page in the style dialog. Verify the requested enabled, disabled, and page-selection behavior for each frame type, including the text style selected in properties.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100