Bug 109171

Summary: cut of a (closed) parent to-do makes children disappear until the next view rebuild
Product: [Applications] korganizer Reporter: Thomas Zander <zander>
Component: todoviewAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: christophe, smartins, stevodestructo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Zander 2005-07-16 14:42:23 UTC
Version:           3.5 pre (using KDE 3.4.89 (>= 20050615), compiled sources)
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-13)
OS:                Linux (i686) release 2.6.11.1

Selectin a parent todo and pressing 'cut' and then pressing 'paste' is kinda broken.

I expect;
- all child-todos to be cut as well.
- on paste the items to be reparented. This happens in the view, but on in a remote-resource so a restart shows disconnected items.

Even worse;
if I have the parent TODO collapsed the whole hierarchy is removed. (as I expect)
but a paste only lets the top-level one reappear.  This seems to be another bug in the remove resource though; a restart lets them appear again.
Comment 1 Reinhold Kainhofer 2005-07-23 12:25:22 UTC

*** This bug has been marked as a duplicate of 105215 ***
Comment 2 Thomas Zander 2005-07-23 13:25:47 UTC
Reopening due to the fact that visually the hierarchy is removed on 'cut'; but only the top level one is re-added on paste.
This fact makes it a bug; not a wishlist.

As discussed with reinhold on IRC.
Comment 3 Reinhold Kainhofer 2005-07-23 15:39:58 UTC
I can confirm the bug that when cutting a parent to-do (where the group is closed) the children seem to appear (they reappear when the to-do view is refreshed, though, so they are not lost, only "temporary invisible"). When the group is open, the children become top-level to-dos, which is the correct way (well, one can argue if they should become children of the parent's parent...).

All other issues of your report are really a duplicate of 105215 (cut/copy/paste sub-to-dos together with the parent to-do).

Cheers,
Reinhold
Comment 4 Reinhold Kainhofer 2006-11-02 19:03:08 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 5 Christophe Marin 2008-12-06 22:05:05 UTC
*** Bug 105215 has been marked as a duplicate of this bug. ***
Comment 6 Sergio Martins 2010-06-20 16:12:26 UTC
Fixed in trunk.

When cutting you are asked if you want to cut the hierarchy or only the parent.

If only the parent, then the children will be independent.

If you cut the hierarchy all to-dos will go to the clipboard.