Skip to content

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

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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