Author Topic: Folder Delete without warning  (Read 8401 times)

Offline ocris1

  • Member
  • **
  • Posts: 57
    • View Profile
Folder Delete without warning
« on: May 01, 2007, 12:31:11 PM »
It is possible to delete a whole folder with the mouse's right-click menu. PM does not require a confirmation of the delete, but just goes ahead. This is very dangerous when your images are sitting on a server. Thousands of images can be deleted with a simple accidental click.

Can you please put in a confirmation dialog, so that this doesn't happen. We just found out the hard way, fortunately we're backed up on an external drive.

Thanks

Christian

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25054
    • View Profile
    • Camera Bits, Inc.
Re: Folder Delete without warning
« Reply #1 on: May 01, 2007, 02:03:26 PM »
Christian,

It is possible to delete a whole folder with the mouse's right-click menu. PM does not require a confirmation of the delete, but just goes ahead. This is very dangerous when your images are sitting on a server. Thousands of images can be deleted with a simple accidental click.

Can you please put in a confirmation dialog, so that this doesn't happen. We just found out the hard way, fortunately we're backed up on an external drive.

What OS are you running?
What version of PM are you running?

-Kirk

Offline ocris1

  • Member
  • **
  • Posts: 57
    • View Profile
Re: Folder Delete without warning
« Reply #2 on: May 01, 2007, 08:15:56 PM »
Mac 10.4.9 and PM 4.5

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25054
    • View Profile
    • Camera Bits, Inc.
Re: Folder Delete without warning
« Reply #3 on: May 01, 2007, 08:24:41 PM »
Mac 10.4.9 and PM 4.5

PM on the Mac tells the Finder to move the folder to the Trash.  Doesn't the folder get moved to the Trash instead of being deleted outright?

-Kirk

Offline ocris1

  • Member
  • **
  • Posts: 57
    • View Profile
Re: Folder Delete without warning
« Reply #4 on: May 02, 2007, 03:46:17 AM »
That is correct, but when viewing images on a networked server they get deleted outright. If I try to delete a folder in the finder, a dialog box appears warning that the files will be deleted immediately.


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25054
    • View Profile
    • Camera Bits, Inc.
Re: Folder Delete without warning
« Reply #5 on: May 02, 2007, 06:21:54 AM »
That is correct, but when viewing images on a networked server they get deleted outright. If I try to delete a folder in the finder, a dialog box appears warning that the files will be deleted immediately.

OK, well I'll see if there is a way for me to tell that a given folder is on a non-local volume and if so, provide a warning dialog.

-Kirk

Offline ocris1

  • Member
  • **
  • Posts: 57
    • View Profile
Re: Folder Delete without warning
« Reply #6 on: May 02, 2007, 12:40:22 PM »
Thanks, much appreciated. The potential to loose data on a server is really great...

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25054
    • View Profile
    • Camera Bits, Inc.
Re: Folder Delete without warning
« Reply #7 on: May 02, 2007, 12:46:42 PM »
Thanks, much appreciated. The potential to loose data on a server is really great...

I added the warning dialog in this morning.  You'll see it in 4.5.1...

-Kirk

Offline ocris1

  • Member
  • **
  • Posts: 57
    • View Profile
Re: Folder Delete without warning
« Reply #8 on: May 14, 2007, 02:58:24 PM »
Just found out that it is still possible to delete a folder without warning by dragging it to the trash. On a networked volume the folder (and it's contents) get deleted outright. This is in PM 4.5.1 beta 2.

I know we discussed mouse right-click before, but this is still an issue.

Offline ocris1

  • Member
  • **
  • Posts: 57
    • View Profile
Re: Folder Delete without warning
« Reply #9 on: May 15, 2007, 04:57:54 PM »
Kirk or anybody?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25054
    • View Profile
    • Camera Bits, Inc.
Re: Folder Delete without warning
« Reply #10 on: May 15, 2007, 05:46:45 PM »
Kirk or anybody?

I added the code to warn when dragging to the trash (folders only).  It will appear in the final 4.5.1 version.

-Kirk