bugGNUstep - Bugs: bug #31299, performFileOperation destroy and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31299: performFileOperation destroy and recycle do not work

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Mon 11 Oct 2010 10:50:46 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 12 Oct 2010 04:02:41 PM UTC, comment #1:

This is not a gui bug but one of GWorkspace (in fact its Operation tool). It interprets the source and destination arguments of -performFileOperation:source:destination:files:tag: incorrectly for the recycle and destroy operations. The recycle operation expects the path to the trash folder in the destination parameter, which seems to default to the user's home directory when one passes an empty string (as recommended by the NSWorkspace documentation). The destroy operation is even worse: It expects the path of the file(s) to be deleted in the destination argument rather than the source argument.

Wolfgang Lux <wlux>
Mon 11 Oct 2010 10:50:46 AM UTC, original submission:

when invoking performFileOperation the operation has no success. Neither for destroy nor for recycling.

GWorkspace may be running or not, it doesn't work.

Riccardo Mottola <rmottola>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wlux (Posted a comment)
  • -unavailable- added by rmottola (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Nov 2010 05:08:16 PM UTCrmottolaStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1