WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 10 posts ] 



 
Author Message
 Post subject: Recycle bin?
 Post Posted: Wed Feb 27, 2008 4:11 am 
Offline
Newbie
Newbie

Joined: Wed Feb 27, 2008 4:07 am
Posts: 2
When I use a program with wine, and delete a file, using that program (say, a photo manager/editor) the file is deleted forever. Is there maybe some recycle bin, where wine stores such deleted files?


Top 
 Post subject:
 Post Posted: Wed Feb 27, 2008 7:28 am 
Offline
Level 2
Level 2

Joined: Wed Feb 27, 2008 7:18 am
Posts: 20
If this file is on the same filesystem as your home directory and the app uses SHFileOperation to delete it (most apps do it when dealing with user files) then the file will be sent to the Trash. If there is a confirmation dialog then you can know what will happen as like on Windows you wil be asked either if you want to sent the file to Trash or to delete it.

The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash. The problem is that (at least the last time I checked) it is not supported by Gnome. To undelete a file you need to use e.g. KDE or simply manually copy the file from this directory.


Top 
 Post subject: Recycle bin?
 Post Posted: Wed Feb 27, 2008 9:44 am 
 
mikolajz wrote:
Quote:
If this file is on the same filesystem as your home directory and the app uses SHFileOperation to delete it (most apps do it when dealing with user files) then the file will be sent to the Trash. If there is a confirmation dialog then you can know what will happen as like on Windows you wil be asked either if you want to sent the file to Trash or to delete it.

The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash. The problem is that (at least the last time I checked) it is not supported by Gnome. To undelete a file you need to use e.g. KDE or simply manually copy the file from this directory.


Since this uses Operating System functionality, this should be work on a
Mac. I will test this soon and if it does not work, I will file a bug
if there is not one present.

James


Top 
 Post subject: Recycle bin?
 Post Posted: Wed Feb 27, 2008 11:09 am 
 
On Wed, Feb 27, 2008 at 6:37 AM, James McKenzie
<jjmckenzie51@sprintpcs.com> wrote:
Quote:
Since this uses Operating System functionality, this should be work on a
Mac. I will test this soon and if it does not work, I will file a bug
if there is not one present.

Yeah, let's file a bug against Mac OS X for not using the
freedesktop.org trash spec.

Oh, wait :-) Yeah, on a mac we should use the Mac trash mechanism
if we don't already...


Top 
 Post subject: Recycle bin?
 Post Posted: Wed Feb 27, 2008 9:02 pm 
 
Dan Kegel wrote:
Quote:
On Wed, Feb 27, 2008 at 6:37 AM, James McKenzie
<jjmckenzie51@sprintpcs.com> wrote:

Quote:
Since this uses Operating System functionality, this should be work on a
Mac. I will test this soon and if it does not work, I will file a bug
if there is not one present.


Yeah, let's file a bug against Mac OS X for not using the
freedesktop.org trash spec.

Oh, wait :-) Yeah, on a mac we should use the Mac trash mechanism
if we don't already...


Ok. I'll try it right now. Winefile deleted the test file and it did
not show in the trash. Is this expected?

James


Top 
 Post subject: Recycle bin?
 Post Posted: Wed Feb 27, 2008 9:57 pm 
 
On 2/27/08, James McKenzie <jjmckenzie51@sprintpcs.com> wrote:
Quote:
Ok. I'll try it right now. Winefile deleted the test file and it did
not show in the trash. Is this expected?

I dunno. Probably. Go ahead a file that bug.


Top 
 Post subject: Recycle bin?
 Post Posted: Wed Feb 27, 2008 10:18 pm 
 
Dan Kegel wrote:
Quote:
On 2/27/08, James McKenzie <jjmckenzie51@sprintpcs.com> wrote:

Quote:
Ok. I'll try it right now. Winefile deleted the test file and it did
not show in the trash. Is this expected?


I dunno. Probably. Go ahead a file that bug.


Ok, Dan I will.

Bug 11760 was created. Bug 5055 existed for Linux based PCs and the
work for it may or may not work on the Mac.

James McKenzie


Top 
 Post subject:
 Post Posted: Thu Feb 28, 2008 3:13 am 
Offline
Newbie
Newbie

Joined: Wed Feb 27, 2008 4:07 am
Posts: 2
Quote:
The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash.

This seems to work fine on my Ubuntu system. Too bad it is not supported by Gnome. But at least now I know where the files went and have a way to recover them, if needed. Thanks a lot! :D


Top 
 Post subject: Recycle bin?
 Post Posted: Thu Feb 28, 2008 7:55 am 
 
mariourk wrote:
Quote:
Quote:
The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash.



This seems to work fine on my Ubuntu system. Too bad it is not supported by Gnome. But at least now I know where the files went and have a way to recover them, if needed. Thanks a lot! :D



I'll have to add this to my bug report. I just looked and found a bunch
of files in this directory. However, the last file date was October 28
of last year, and I was not even using Wine at the time. The file I
deleted was not there.

James McKenzie


Top 
 Post subject: Recycle bin?
 Post Posted: Thu Feb 28, 2008 7:55 am 
 
mariourk wrote:
Quote:
Quote:
The Trash used is the standard Freedesktop trash directory in ~/.local/share/Trash.



This seems to work fine on my Ubuntu system. Too bad it is not supported by Gnome. But at least now I know where the files went and have a way to recover them, if needed. Thanks a lot! :D



I'll have to add this to my bug report. I just looked and found a bunch
of files in this directory. However, the last file date was October 28
of last year, and I was not even using Wine at the time.
The file I deleted was not there that I was using for the Trash test on
my MacIntosh.

James McKenzie


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 10 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: Google [Bot] and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: