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 335881 - Ctrl-V Paste doesn't work in the Task List
Ctrl-V Paste doesn't work in the Task List
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Tasks
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 343974 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-24 20:13 UTC by Karsten Bräckelmann
Modified: 2013-09-13 00:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (5.14 KB, patch)
2007-07-11 05:04 UTC, Hiroyuki Ikezoe
none Details | Review
revised patch (5.14 KB, patch)
2007-07-11 11:13 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Karsten Bräckelmann 2006-03-24 20:13:51 UTC
Pasting text by using the shortcut Ctrl-V doesn't work inside the task list.
Middle-click paste works fine, though.
Comment 1 Duncan Lithgow 2006-03-24 20:30:50 UTC
I can confirm this bug, I should note that I can paste from the text of an email, but not from things outside evolution (text files, webpages etc.)
Comment 2 Karsten Bräckelmann 2006-03-24 20:40:15 UTC
Confirming as per comment 1.

For me, Ctrl-V doesn't even work from an email.
Comment 3 Poornima 2006-06-06 04:15:37 UTC
*** Bug 343974 has been marked as a duplicate of this bug. ***
Comment 4 arvind 2006-08-02 12:14:10 UTC
i think that this bug is not valid ....

because cntrl-V is supposed to paste tasks and not text...

there is a clear conflict of functionality...

u might say that it should copy both.. but it cant...

because we use an GTK+ API to get the content in the clipboard and only if the content is a task it will be pasted ...

why it doesnt paste text is the API cannot convert the task into a text format...


Comment 5 arvind 2006-08-02 12:21:26 UTC
further observations on this :

i can use cntrl-V to paste text when i access the tasks from the calendar component of evolution

i, however cant paste tasks using cntrl-V... 

which is correct....because from the calendar component you are supposed to paste text and not tasks

and from the task component , we are supposed to paste tasks and not text...


srini, i suggest this bug be declared invalid ....
Comment 6 Hiroyuki Ikezoe 2007-07-11 05:04:59 UTC
Created attachment 91594 [details] [review]
proposed patch

almost the same as the patch in bug 350725
Comment 7 Hiroyuki Ikezoe 2007-07-11 11:13:37 UTC
Created attachment 91608 [details] [review]
revised patch

sorry, previous patch causes memory leak.
Comment 8 André Klapper 2007-07-11 15:35:04 UTC
when reviewing this, also see bug 455862 for memos and bug 350725.

hiroyuki: great patches, thanks so much (from a user like me), because these issues are highly visible.
Comment 9 Chenthill P 2007-07-16 09:40:45 UTC
The patch works just fine !!
I have a small doubt, 
+	} else {
+		gtk_clipboard_set_can_store (clipboard, target_types + 1, n_target_types - 1);
+	}
Why is this set when copying to clip board fails ?
Comment 10 Hiroyuki Ikezoe 2007-07-18 04:14:18 UTC
Actually, I do not know exactly the reason, but GTK+ does.
see http://svn.gnome.org/viewcvs/gtk%2B/trunk/gtk/gtktextbuffer.c?view=diff&r1=11666&r2=11667 

Maybe support for clipboard manager.
Comment 11 Chenthill P 2007-07-29 17:50:54 UTC
I am not sure how usage of set_can_store function helps. I guess if the setting data in clipboard fails, this will enable the cp manager it some other temporary area so that it remains even when teh application exits. Committed the fix.