[Cyberduck-trac] [Cyberduck] #10719: Editing with BBEdit sometimes opens file from Trash

Cyberduck trac at cyberduck.io
Fri May 31 11:53:23 UTC 2019


#10719: Editing with BBEdit sometimes opens file from Trash
---------------------------+------------------------
    Reporter:  tempelmann  |      Owner:
        Type:  defect      |     Status:  new
    Priority:  normal      |  Milestone:
   Component:  core        |    Version:  6.9.4
    Severity:  major       |   Keywords:  edit trash
Architecture:  Intel       |   Platform:
---------------------------+------------------------
 Using BBEdit (12.6.4) as the designated Editor, I often edit text files
 from a sftp server on my Mac, and then close the text window in BBEdit
 again. Later, I double click the same file in Cyberduck's sftp browser so
 it opens again in BBedit. This generally works.

 However, after a while, it happens that BBEdit opens the file not from the
 tmp directory but from a file in the Trash (which Cyberduck apparently
 moved there, or so I gather from other tickets related to "edit trash").
 When this happens, saving my changes in BBEdit does not lead to updating
 them on the server any more. I don't even get any kind of error message,
 which sometimes caused me '''some lost work''' (hence it should be
 considered a rather severe bug) when I did not notice this.

 Two observations:

 1. When I double click a file in CD to edit, it ALWAYS shows "Prepare
 thefilename (Trash)" in the window's bottom text field, even if the file
 ends up being opened on the local tmp folder, not in the Trash. In wonder
 what's up with that?
 2. Once this gets stuck with the Trashed file being opened by BBEdit, I
 need to empty my trash and also restart BBEdit to make it work again.

 So, is this a bug in CD or in BBEdit?

 This has been bugging quite a while now, i.e. it also happens in version
 5. Several years ago, though, this did not happen. Not sure what changed.

 Unfortunately, I have no idea how to reproduce it at will. That's why I
 haven't reported it for so long.

 Please have at least a check about why "(Trash)" appears in the status
 during download. Maybe that's part of the cause of this?

 I have no log files to attach because system.log shows nothing about it
 when I search for "cyberduck", and it's not a ftp protocol issue (and only
 those appear in the log drawer, it seems to me).

--
Ticket URL: <https://trac.cyberduck.io/ticket/10719>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list