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 203853 - Cut/Copy key bindings don't work in day and week views
Cut/Copy key bindings don't work in day and week views
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.2.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Milan Crha
Evolution QA team
: 231723 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-07-01 00:23 UTC by Rodrigo Moya
Modified: 2009-07-27 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (1.70 KB, patch)
2009-06-15 14:40 UTC, Milan Crha
accepted-commit_now Details | Review
proposed evo patch ][ (3.64 KB, patch)
2009-07-09 08:44 UTC, Milan Crha
committed Details | Review

Description Rodrigo Moya 2001-07-01 00:23:47 UTC
Cut/copy key bindings (CTRL-X and CTRL-C) don't work in the day and week
views, since the key presses seem to be captured by the text item, which is
activated in "editing" mode as soon as the event is selected
Comment 1 Erik Pukinskis 2002-06-06 15:36:06 UTC
The problem seems to be that there's no way to select an appointment
without placing the cursor in the text box.  There is a workaround for
this problem... you can right click on the appointment and choose
cut/copy/paste from the context menu.

What should ideally happen is that when you click the blue bar to the
left of the appointment the appointment itself should be selected and
keyboard input should apply to the appointment.  Then when you click
on the white part of the appointment the current behaviour would apply
and the cursor would be placed in the text.
Comment 2 Richard Zach 2002-10-06 22:09:59 UTC
*** bug 231723 has been marked as a duplicate of this bug. ***
Comment 3 Richard Zach 2004-05-05 20:38:55 UTC
In Evo 1.5.7, Ctrl-X and Ctrl-C work.  However, if an event is cut
(Ctrl-X), then it can't be pasted  by Ctrl-V or by Edit > Paste, only
by context menu > Paste.  If it is copied, Ctrl-V and Edit > Paste works.
Comment 4 Gerardo Marin 2004-05-06 04:48:28 UTC
Sounds so resolved that this one deserves 2.1
Comment 5 André Klapper 2005-03-31 17:41:24 UTC
in evolution-2.2.0.0.200503210410-0.snap.ximian.10.1, right-click menu
copy and paste works, but at first i couldn't see the copy of my
appointment because evolution changed the calendar the original
appointment is part of to the highlighted one in the list of my
calendars in the left pane (though that one wasn't enabled!) and did
not keep the original calendar the appointment is part of in the copy,
so this is still buggy - retargetting to 2.3.
crtl+c and ctrl+v didn't work.
Comment 6 André Klapper 2006-05-31 13:39:36 UTC
removing old target milestone
Comment 7 . 2008-05-13 07:46:01 UTC
using Evolution 2.22.1 (HU_hu) copying and pasting an entry (i.e. with keyboard or context menu) in weekly view crashes evo at pasting, making the user loose the given entry.
Comment 8 Milan Crha 2009-06-15 14:40:44 UTC
Created attachment 136634 [details] [review]
proposed evo patch

for evolution;

It doesn't crash to me on 2.27.2, as described above, but the bug still applies.
This change makes Paste available when moving on the time range, and disables Cut when nothing selected. The problem in a day view was because the stop editing selects toplevel widget, and thus calendar things the focus has something else, thus disabled commands. I kept this part and rather re-used the E_CAL_MENU_SELECT_EDITABLE when disabling commands. It's quite similar when moving in the source selector, it also enables commands in the menu.
Comment 9 Chenthill P 2009-07-08 17:40:12 UTC
I still see the issue mentioned in comment #3, so i think the bug should remain open.

Patch looks good to commit.
Comment 10 Milan Crha 2009-07-09 08:44:01 UTC
Created attachment 138106 [details] [review]
proposed evo patch ][

for evolution;

Extended patch to work comment #3 work as well.
Comment 11 Chenthill P 2009-07-27 12:44:21 UTC
looks good. please commit.
Comment 12 Milan Crha 2009-07-27 15:43:59 UTC
Created commit c9f8c3b in evo master (2.27.6+)