GNOME Bugzilla – Bug 155273
Cannot paste text from clipboard
Last modified: 2011-04-17 12:55:52 UTC
Have some text in the clipboard. While editing label text in Dia, try pasting it at the cursor: nothing happens. Ctrl-V doesn't paste, and the Edit/Paste menu is grayed out. This is on Windows. Don't know if the problem is Windows-specific or not.
Well, it turns out that this may not be exactly a bug, but a more general user interface design problem. There are separate menu entries in the edit menu for text cut-copy-paste. The standard editing commands work on the whole object. This also means one cannot delete the next character while editing: pressing Delete deletes the whole object. Seems very unintuitive to me. Maybe text labels should be separate objects, linked to the graphic object?
Edit/Paste as Text works for me. The usability issue is cross-platform.
*** Bug 446788 has been marked as a duplicate of this bug. ***
This can be improved with the new text edit mode. Currently, cut and copy cuts/copies the entire text, as there is no support for selecting a part of it.
Forgot to mention: Rather than spending time on adding selection support to the current notion of text edit, it would probably be better to eventually use a proper GtkTextEntry widget in the diagram. We just have to be sure that we remove it properly at text edit end.
I consider this original issue fixed by Lars commit from 2007, for paste there is no selection of a selection necessary. The whole text is just pasted at the current cursor position by: http://git.gnome.org/browse/dia/commit/?id=3699fa0cc0d711e23829bcbf1609e3a4e51e4b4a Also the followup bug 626921 is fixed.