microsoft / Windows-Dev-Performance

A repo for developers on Windows to file issues that impede their productivity, efficiency, and efficacy
MIT License
439 stars 21 forks source link

Extremely slow Context Menu launch in Windows Explorer #114

Closed vadimkantorov closed 2 months ago

vadimkantorov commented 10 months ago

I have a modern laptop (Dell XPS13-9310) with 16Gb of RAM, i7-1195G7 @ 2.9GHz (4 physical cores) CPU, big SSD, Win11 22H2 (22621.2715)

Still, every launch of Windows Explorer takes a second or more - for drawing the file tree, the file icons.

Worse, any first context menu click in Windows Explorer or Desktop is flickering and takes like 500ms up to 1-2 seconds and has flickers (first a smaller viewport gets drawn which later gets expanded to fit all the items and then it flickers one more time). I saw this being reported on answers.microsoft.com for a long time since Win11 release, but this is still present on 22H2 (22621.2715)

Probably this is because various XAML technologies taking too much time somewhere and maybe requiring some uncached disk access or parsing or library loading or icon fetching/drawing. Unfortunately, I don't have skills or time for properly tracing and debugging this (I'll try my chance later to have it video-taped with Win+G), but if this is the proper place, maybe someone will add some traces.

AdamBraden commented 10 months ago

I can move this along to the right team, but its not very actionable in its current state. It would help to file a Feedback Hub issue under "Files, Folders, and Online Storage" -> "File Explorer" and attach a recording to capture the problem. That will give the team traces to analyze and see where the problem is.

AdamBraden commented 9 months ago

Confirmed with the team that opening a Feedbackhub issue, and repro'ing the issue, is the correct path forward to engage with the team. Feel free to post the url so we can track it.

AdamBraden commented 2 months ago

closing due to lack of activity