files-community / files-community/Files

Bug: Shortcuts to SMB show up only after multiple refreshes

Open
#17,715 4 comments 0 reactions 0 assignees View on GitHub
area - network drives
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### Description

When navigating to certain folders (they are synchronized, local OneDrive folders) that contain shortcuts that point to files on a SMB network share, the shortcuts do not display. After I refresh, 2 or 3 of the shortcuts will appear. After yet another refresh, all 5 of the shortcuts will finally appear. Sometimes, shortcuts that appeared previously will disappear upon refresh.

This appears to be a sporadic issue, happening most of the time, but not all the time. Sometimes they all come back with one refresh. Rarely, no refreshes are necessary. Also rarely, they will not all show up after two refreshes, but it requires multiple refreshes.

### Steps To Reproduce

1. Open a local OneDrive folder that contains multiple shortcuts that point to files on an SMB share.
2. Refresh until all shortcuts appear.

### Files Version

4.0.11.0

### Windows Version

10.0.22631.5909

### User ID

e96e6a8b-94a9-4f77-a95c-5f478de851ed

### Log File

[debug.log](https://github.com/user-attachments/files/22651391/debug.log)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in a local OneDrive folder containing multiple shortcuts to files on an SMB share, then inspect the linked debug.log while refreshing. Done means all shortcuts appear reliably without multiple refreshes and previously visible shortcuts do not disappear.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.