musescore / musescore/MuseScore
Fix 'Swap with clipboard' for frames
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue
The 'Swap with clipboard' action does not work properly with frames.
If I...
- Copy Frame A
- Right-click Frame B and select 'Swap with clipboard'
The expected result is Frame B is replaced with Frame A, and Frame B is now on the clipboard.
Instead, right now Frame B is not replaced with Frame A, but Frame B is still copied to the clipboard
Task
I should be able to swap:
- Vertical frames, text frames, and fretboard diagram legends with other vertical frames, text frames, and fretboard diagram legends
- Horizontal frames with other horizontal frames
Alternatively, if we don't get around to this before 4.7, we should just disable the 'Swap with clipboard' action for all four frame types (including legends).
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
Reproduce the issue by copying Frame A, selecting Frame B, and using “Swap with clipboard”; compare the behavior across vertical, text, fretboard diagram legend, and horizontal frames. No file or test is named, so locate the frame clipboard-swap handling first. Done means compatible frame types exchange places and clipboard contents, or the action is disabled for all four types.
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
- 45/100