Files icon indicating copy to clipboard operation
Files copied to clipboard

Why is there's a duplicate folder on the home page of my files APP? AND when I change my files tag , Files APP crash.

Open rospirit opened this issue 2 years ago • 5 comments

Description

螢幕擷取畫面 2024-05-10 144216 AND when I change my files tag , Files APP crash.

AND... The function of searching files is very unstable. I have a file P in my folder A. I type P in the search box. I can't find the file in Files APP, and the text "File does not exist" is displayed. But when I search again and wait for 1 minute, I can find the file again.

The above problem has always existed, but it has worsened since this update.

Steps To Reproduce

  1. open FilesApp
  2. duplicate folders on the home page, double.
  3. Refresh Page
  4. duplicate folders on the home page, triple.

  1. change file tags.
  2. crash and APP closed.

  1. key in some words in search bar
  2. cannot find the files that files name include words.

Requirements

Fix crash that occurs when go to homepage. Fix crash that occurs when change tags.

Files Version

3.4.0.0

Windows Version

10.0.22631.3527

Log File

[ debug.log debug_server.log ](url)

rospirit avatar May 11 '24 06:05 rospirit

Thanks for the feedback, we have a similar issue we're working on, while we cannot reproduce yet. #14555

@Josh65-2201 Do you think we can merge?

0x5bfa avatar May 11 '24 07:05 0x5bfa

Would it be the same cause? This one is home page drives and the linked one is for quick access. If so then yeah I think it can be merged

Josh65-2201 avatar May 11 '24 15:05 Josh65-2201

The same logic, which insert new items that are not in previous collection without emptying and inserting everything. It’s asynchronous operation and so maybe the changed event is called twice or more and finish differently.

0x5bfa avatar May 11 '24 23:05 0x5bfa

Do you think this would be fixed by using Semaphore? @hishitetsu

0x5bfa avatar May 11 '24 23:05 0x5bfa

Since such collections should already be thread-safe, I don't think Semaphore will fix the issue. It is simply a matter of not adding the same item if it already exists. In any case, I think it can be fixed once the procedure to reproduce the issue is clarified.

hishitetsu avatar May 12 '24 01:05 hishitetsu

Description

When I change my files tag , Files APP crash immediately.

螢幕擷取畫面 2024-05-12 212802 螢幕擷取畫面 2024-05-12 212823

** Steps To Reproduce**

open FilesApp duplicate folders on the home page, double. Refresh Page duplicate folders on the home page, triple. change file tags. APP crash and closed.

Requirements

Files Version

3.4.0.0

Windows Version 10.0.22631.3527

Log File

debug.log debug_server.log

rospirit avatar May 12 '24 13:05 rospirit

Please open an issue per issue. Can you open new one for it?

0x5bfa avatar May 12 '24 14:05 0x5bfa

Since it the same cause we can track this in #14555 and update the title. You can check there or click subscribe in the right sidebar for updates.

Josh65-2201 avatar May 12 '24 15:05 Josh65-2201