musescore / musescore/MuseScore

Fix 'Swap with clipboard' for frames

Open
#31,304 0 comments 0 reactions 0 assignees View on GitHub

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

Issue

The 'Swap with clipboard' action does not work properly with frames.

If I...

  1. Copy Frame A
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.