Konqueror delete unification

Koos Vriezen koos.vriezen at xs4all.nl
Mon Jul 14 14:02:36 BST 2003


On Mon, 14 Jul 2003, David Hugh-Jones wrote:

> If you have a large file on another partition, could you not just force
> a delete? I don't think we can make the system clever enough to guess
> whether to delete a file or trash it (based on size, ioslave, partition
> etc.)

KURL::isLocalFile() and stat(2) if true.

> and I don't think we want to make the config dialog any more
> complex than it is.

No indeed, it should do the right thing defaultly. But again it has
nothing to do with your patch but the trash implementation..

Koos

> On Mon, 2003-07-14 at 12:42, Koos Vriezen wrote:
> > On Mon, 14 Jul 2003, David Hugh-Jones wrote:
> >
> > > On Mon, 2003-07-14 at 12:18, Koos Vriezen wrote:
> > > >
> > > > I'm sorry I missed that discussion. My point isn't really about delete vs
> > > > trash but more about where to put the trash. As said, copying files from
> > > > other (remote) partitions to my home dir, means for me I'm not going to
> > > > use it.
> > > > It's a 'how should trash work' discussion. I would use it if trash popups
> > > > with a question 'Hey /data1 or smb://companyserver/projects doesn't have a
> > > > trash installed. Install one?' and use that for trash. Or something else,
> > > > as long as it don't start copying files.
> > >
> > > Well, I haven't got a facility to install trash files on remote servers,
> >
> > Yes, there should be a real trash app and not just a dir for it I
> > suppose..
> >
> > > but if you try to trash a remote file, a message will pop up "Are you
> > > sure you want to trash this remote file" with options "Yes", "No just
> > > delete it" and "Cancel". And a "don't ask again" option. So if you then
> > > hit "no just delete it" and "don't ask again", it will change your
> > > delete option to "DEL_REMOTE" ie delete remote files, trash local files.
> >
> > Sound great, but other partition problem remains (and I really think it's
> > not uncommon to have a partion for big files iso/movies/etc, for some a
> > vfat shared with another os) that makes default trashing in it's current
> > implementation useless.
> >
> > Koos
>
>
>




More information about the kfm-devel mailing list