files-community / Files

A modern file manager that helps users organize their files and folders.
https://files.community
MIT License
34.59k stars 2.2k forks source link

Tag still cause crash after the update, and the same thing happens in the preview version. #15426

Closed rospirit closed 6 months ago

rospirit commented 6 months ago

Description

This is a continuation of the question I asked last time. I compared the preview version with the official version and recorded.

https://github.com/files-community/Files/issues/15413


The video shows the Preview Version without my old tag datas(in official version path), it doesn't crash.

https://github.com/files-community/Files/assets/81501083/0a767446-8c45-4f2c-b12f-24206d2627ea

When I copy the old Tag data into the Preview version path, The Tags in perview Version are the same as the Tags in official Version .

https://github.com/files-community/Files/assets/81501083/883dc85f-2be5-4a26-892b-752101cae7b2

Steps To Reproduce

Steps To Reproduce

  1. Right-click on the file to edit the tags.
  2. Files APP crash.
  3. (manually, not automatically) Reopen the files app.
  4. Check this path: C:\Users"myUserName"\AppData\Local\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState Reopen the Files APP after it has crashed, and this path will add an new file. "filestags-temp-1.db","filestags-temp-1-log.db",and 2,3,4,......

Requirements

Files Version

3.4.1.0

Windows Version

11

Log File

debug.log

hez2010 commented 6 months ago

We no longer use the LiteDB for tags storage anymore. When you copy those files under LocalState, can you try skipping the filetags.db?

Generally it should automatically upgrade the internal storage to the new one, but your tag database seems to be corrupted.

rospirit commented 6 months ago

Delete the old .db files, The problem is solved..