Skip to content

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

@core-ai-bot

Description

@core-ai-bot

Issue by julieyuan
Tuesday Oct 29, 2013 at 07:16 GMT
Originally opened as adobe/brackets#5742


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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions