Unselect files after copy/move

4 views
Skip to first unread message

franz steinhaeusler

unread,
Dec 9, 2010, 7:21:02 AM12/9/10
to krusader-devel
There is an old feature request:
http://www.krusader.org/phpBB/viewtopic.php?p=11246
(Unselect files after copy/move)

Would it be complicated to impolement this behaviour?

Maybe a setting in configuration settings: delete selection after
operation

Jan Lepper

unread,
Dec 9, 2010, 12:33:09 PM12/9/10
to krusade...@googlegroups.com

If it's possible at all, it should be easy. I will try it the next days.

Jonas Bähr

unread,
Dec 9, 2010, 3:04:58 PM12/9/10
to krusade...@googlegroups.com
Hi,

I'd make it the default behaviour; without a configuration entry but
with a new menu entry "restore selection" that can also be used to
restore it when you made a wrong click and lost your current selection
by accident.

Anyways, it might be difficult to get the information from KIO which
files actually have been copied/moved. IIRC Csaba said it wasn't
possible, but this was in the middle of KDE3 times...

bye,
Jonas

>
> --
> You received this message because you are subscribed to the Google
> Groups "krusader-devel" group.
> To post to this group, send email to krusade...@googlegroups.com.
> To unsubscribe from this group, send email to krusader-deve...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/krusader-devel?hl=en
> .
>

Jan Lepper

unread,
Dec 28, 2010, 4:26:09 PM12/28/10
to krusade...@googlegroups.com
Hi,

On Thursday 09 December 2010 21:04:58 Jonas Bähr wrote:
> Hi,
>
> Am 09.12.2010 um 18:33 schrieb Jan Lepper:
> > On Thursday 09 December 2010 13:21:02 franz steinhaeusler wrote:
> >> There is an old feature request:
> >> http://www.krusader.org/phpBB/viewtopic.php?p=11246
> >> (Unselect files after copy/move)
> >>
> >> Would it be complicated to impolement this behaviour?
> >>
> >> Maybe a setting in configuration settings: delete selection after
> >> operation
> >
> > If it's possible at all, it should be easy. I will try it the next
> > days.
>
> I'd make it the default behaviour; without a configuration entry but
> with a new menu entry "restore selection" that can also be used to
> restore it when you made a wrong click and lost your current selection
> by accident.
>
> Anyways, it might be difficult to get the information from KIO which
> files actually have been copied/moved. IIRC Csaba said it wasn't
> possible, but this was in the middle of KDE3 times...
>
> bye,
> Jonas
>

Unfortunately it is still true. KIO notifies us when a directory which is to
be copied is created at the destination, but not when copying the contents is
finished.
So the only thing we could do now is either deselecting everything at the
start of the operation, or when it is finished.

Bye,
Jan

Stanislav Řehák

unread,
Dec 29, 2010, 4:39:39 AM12/29/10
to krusader-devel
That is unfortune.. anyway I vote for deselection after operation as
possibity in configuration dialog.

haldyr

Gregor Petrin

unread,
Dec 29, 2010, 5:06:23 AM12/29/10
to krusade...@googlegroups.com
I propose a bit more complicated (unfortunately), but more expressive
option: clear the selection right away when the operation starts but
mark the file names as being 'in operation' somehow - one option would
be changing the file's icon or displaying an icon overlay or changing
the color/font of the file. That way the user would know this file is
being handled one way or another, and when the operation ends, the
indicators would be cleared. If KIO some day lets us know the exact
status of the operation, the 'in operation' indicators could be
removed one at a time instead all at once on operation completion.

IMHO the user's selection and operations on files are two separate
concepts and as such the selection should not change arbitrarily. If
the 'in operation' marker idea is not acceptable, I propose either
clearing the selection on operation start or not at all (current
behavior).


Regards,
Gregor

2010/12/29 Stanislav Řehák <hal...@gmail.com>:

Jonas Bähr

unread,
Dec 29, 2010, 5:21:40 AM12/29/10
to krusade...@googlegroups.com

There is a third option though: Write a patch for KIO got the the
needed notifications. KDE-4.6 is nearly out of the door so tunk should
be open for new features very soon.

bye,
Jonas

>
> Bye,
> Jan

franz steinhaeusler

unread,
Dec 29, 2010, 9:30:05 AM12/29/10
to krusader-devel
Or let the user decide: keep marking or not keep markings? And maybe a
function Restore last markings (if possible)? ;)

Jan Lepper

unread,
Dec 29, 2010, 9:36:36 AM12/29/10
to krusade...@googlegroups.com

This is possible too, of course. But I'm afraid, I currently don't have time
to look into this.

Bye,
Jan

Jan Lepper

unread,
Dec 29, 2010, 9:41:35 AM12/29/10
to krusade...@googlegroups.com
On Wednesday 29 December 2010 15:30:05 franz steinhaeusler wrote:
> Or let the user decide: keep marking or not keep markings? And maybe a
> function Restore last markings (if possible)? ;)

This should be possible.

franz steinhaeusler

unread,
Dec 29, 2010, 10:32:06 AM12/29/10
to krusader-devel
Very good. Maybe to much for an extra function?

I meant: Given, not keeping selections: there are some files/dirs
selected, an operation follows, the selection is cleared. a (menu)
function restore last selection (try to restore, if files were moved,
forget simply that one or more selection and try to restore, what is
possible). If the directory is changed, clear the flag, the
possibility to restore, afterwards.

franz steinhaeusler

unread,
Dec 29, 2010, 10:42:37 AM12/29/10
to krusader-devel
But if this is to awkward or make the code/the menus/ui worse, then if
you think, it doesn't make sense, then it is also ok.

Stanislav Řehák

unread,
Dec 30, 2010, 4:37:29 AM12/30/10
to krusader-devel
ehm, I meant at the start of operation of course. Just like Total
Commander does it when runs the operations on background.
Reply all
Reply to author
Forward
0 new messages