Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Explorer .svg thumbnail preview plugin Memory Leak #37544

Open
Shkyrockett opened this issue Feb 20, 2025 · 2 comments
Open

File Explorer .svg thumbnail preview plugin Memory Leak #37544

Shkyrockett opened this issue Feb 20, 2025 · 2 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@Shkyrockett
Copy link

Shkyrockett commented Feb 20, 2025

Microsoft PowerToys version

0.88.0

Installation method

WinGet

Running as admin

No

Area(s) with issue?

File Explorer: Thumbnail preview

Steps to reproduce

There seems to be a memory leak in the File Explorer .svg thumbnail preview plugin.

✔️ Expected Behavior

The File Explorer .svg thumbnail preview handler shouldn't fill up all ram on the machine.

❌ Actual Behavior

Placing the attached https://openclipart.org/download/289287/ht28.svg file in a folder open in Explorer with medium or larger icon view causes a WebView2 process to chew up ram until it completely fills all available ram.

The .svg file came from: https://openclipart.org/detail/289287/houndstooth-15

Other Software

Windows 11 24H2 (OS Build 26120.3281)

@Shkyrockett Shkyrockett added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 20, 2025
@aluhrs13
Copy link
Member

aluhrs13 commented Feb 25, 2025

It looks like GitHub tries to render the attached SVG, and causes the issue. Might be a good idea to remove it and just put the link, made it hard to reply to this 😅

From an Edge/WebView2 perspective - That's quite the SVG. It seems like it hangs Edge, Chrome, and Firefox on Windows. Safari on iOS doesn't event attempt to render it.

Given this repros on Chrome, can you open a Chromium bug at https://crbug.com? If you do that and link it here that'd be helpful for getting routed to the right team.

I'll leave it to PowerToys folks to make the call on if PowerToys should handle this type of leak/hang differently.

@Shkyrockett
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

2 participants