Skip to content

software clears .ico File contents upon opening without warning #187

@xiaoditx

Description

@xiaoditx

Describe the bug
When I tried to open an .ico file, the editor emptied the file without any prompt, making the .ico file unopenable. I had to resort to a previous backup.

To Reproduce
Use the software to open an .ico file. The .ico file originally contains data.

Expected behavior
The software should display "Unsupported format" or show garbled characters when encountering this file type, instead of directly clearing the entire file and treating it as a text file for editing.

Desktop:

  • OS: [Windows 10]
  • Version: [V1.2.2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions