After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155273 - Cannot paste text from clipboard
Cannot paste text from clipboard
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.92.2
Other Windows
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
: 446788 (view as bug list)
Depends on: 151115
Blocks:
 
 
Reported: 2004-10-13 09:24 UTC by R Duke
Modified: 2011-04-17 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description R Duke 2004-10-13 09:24:51 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.
Comment 1 R Duke 2004-10-13 09:38:20 UTC
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?
Comment 2 Hans Breuer 2005-12-28 20:34:58 UTC
Edit/Paste as Text works for me.
The usability issue is cross-platform.
Comment 3 Hans Breuer 2007-10-14 17:16:57 UTC
*** Bug 446788 has been marked as a duplicate of this bug. ***
Comment 4 Lars Clausen 2007-10-27 12:09:23 UTC
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.
Comment 5 Lars Clausen 2007-10-27 12:12:09 UTC
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.
Comment 6 Hans Breuer 2011-04-17 12:55:52 UTC
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.