Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

[Core][Preview image]: It should pop up Error opening file dialog if click the image which is deleted from OS. #5742

@julieyuan

Description

@julieyuan

Updating description because the scenario overlaps with #5978.
Steps:

  1. Launch Brackets and open the default sample folder.
  2. open index.html
  3. switch to finder/explorer and delete screenshots/quick-edit.png from project
  4. Back to Brackets and click this image quick-edit.png.
    Expected Result:
    At step 4, it doesn't pop up Error opening file dialog, but empty ImageViewer is displayed

ENV: MAC 10.8 and Win8.1 English OS

----------- original description:
Steps:

  1. Launch Brackets and open the default sample folder.
  2. Right click on the image quick-edit.png and select "Show in OS".
  3. Delete this image from OS.
  4. Back to Brackets and click this image quick-edit.png.
  5. Try to rename or delete this image from Brackets by right clicking menu.

Results:
At step 4, it doesn't pop up Error opening file dialog.
At step5, it will pop up Error renaming file and Error deleting file dialog. (correct behavior)

Expected:
At step4, it should pop up Error opening file dialog to update the change outside of Brackets.

ENV: MAC 10.8 and Win8.1 English OS
Build: 0.33.0-10155

Snapshots:
Please refer to snapshot for details:
capture decran 2013-10-29 a 12 13 03 am

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions