Skip to content

Caching Causing File Mixing #1436

@roteck-anomaly

Description

@roteck-anomaly

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Cache causing old file to remain after it was modified elsewhere.

  1. Open a file in the app (mine have been .md or .py files). It has now been cached, even with cache turned off in the settings.json
  2. Modify the file from a different device or medium. I code on both my laptop and my phone. So I've gone and made some modifications to the file on my laptop.
  3. Back on my phone, I close and reload the file, the newly modified file and old file are now mixed together. For example, if the modified version had less lines than the old version, the old version lines would remain added on to the modified version. Or if you use folding, it sees that as less lines and causes weird mixing of old and new versions.
  4. The change only applies if you save on your phone. If you exit out of the file, exit the app, clear the cache, reopen the app, reopen the file, the newly modified version is cleaned of the issues from the old version of the file.
  5. This happens with caching enabled or disabled in the settings.json

Environment

App version 1.11.4 and previous 4 versions.

Samsung Galaxy S24
Android Version 15 API 38

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log

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