Lines can't be pasted

• Sep 22, 2009 - 09:00
S5 - Suggestion

Drag a line
Select it
Press Ctrl + C, or in the contextual menu Copy
Select a note, press Ctrl + V.
-->Nothing happens

Remark: Cut works. But paste after cut does not.

Discussion: If it's on purpose maybe the menu items can be disable.


I've reproduced the same problem. It's particularly painful in my case as I start with a line, and I add "hooks" to both ends. No big deal to do that once, then copy the line, and drag the ends as needed. But because the adjusted line (with the hooks) cannot be copied, every time I need a line (which is often in my genre), I need to drag a new line, then open the properties and add the hooks.

I looked into adding a special version of the Line into the Line palette; that is, one with my customizations, but no luck on that front.

If anyone knows a workaround to this problem, please post.


Smarmit, if you want to add a custom line with hooks to the palette you can although it is a little technical and not really intended for casual users. It requires basic understanding of XML structure and use of a decent text editor. I give the instructions only because you asked for a workaround; not because I expect most users would actually want to do this.

  1. Quit MuseScore
  2. Search for the file mscore-palette.xml (on my computer it is C:\Documents and Settings\David Bolton\Local Settings\Application Data\MusE\MuseScore\mscore-palette.xml)
  3. If the mscore-palette.xml file doesn't exist then it means you have never edited the palette. (Look how to do this on the forums, then repeat from step 1 above)
  4. Open mscore-palette.xml using a decent text editor (Windows Notepad does not always read line breaks correctly so you will need a text editor such as "Notepad++" or one of many others)
  5. Search for the cell called "line"
  6. Look for the first </cell> after the line you found in step 5 above
  7. Paste the following text after the line you found in step 6 above:
        <Cell name="Hooked Line">
            <lineColor r="0" g="0" b="0"/>
  8. Change any of the values listed above as desired
  9. Restart MuseScore

Thank you very much Mr. Bolton. I will be doing this tonight. I'm a software engineer so I'm comfortable giving this a go.
Again, thank you! Another reason I try to use community software.

Just a follow up to say that this workaround worked perfectly. Thank you again!

For anyone on Mac, your mscore-palette.xml file is (as of 0.95) in ~/Library/Application Support/MuseScore/. Also, if you wanted this "hooked line" to remain horizontal even if you stretch the ends, then set element to '0' instead of '1'. Looks like MuseScore just removes it if set to '0' after a save anyway, so I suppose you could just leave it off altogether.

but it would be great to be able to do it ^^

with the last nightly builds I was able to copy trill lines (as the one that are at the same place than hairpins) but not hairpins....

Title Lines can't be copied/pasted Lines can't be pasted
Status (old) fixed active

I can still reproduce.

1. Open attached score (produced in 1.3).
2. Click on Text Line.
3. 'Edit'>'Copy'.
4. Click on first note of Electric Guitar 1.
5. 'Edit'>'Paste'.

Result: The Text Line isn't pasted.

Using MuseScore 2.0 Nightly Build (b6480b7) - Mac 10.7.5.

Attachment Size
Lines can't be pasted.mscz 1.68 KB

The part that was fixed by lasconic was copy/paste of *regions containing hairpins*. I still don't think copy of individual hairpins was ever intended to work, although it makes a fine feature request. We allow individual element pasting currently for a very limited number of element types - articulations, lyrics, chord symbols are about it I think.

In case anyone else stumbles upon this, editing mscore-pallete.xml as in David's reply doesn't seem to work in 2.0 beta (for me at least)

Instead, create the line style in the score, then Ctrl+Shift+Drag it into the palette as per

Then right-click the cell, select properties and give it a name.

May need to restart Musescore for the image of the line to show up in the cell.