Sometimes Peek image previews are blurry
Microsoft PowerToys version
v0.80.1
Installation method
PowerToys auto-update, Microsoft Store
Running as admin
No
Area(s) with issue?
Peek
Steps to reproduce
- Enable the Peek module
- Navigate to a picture file (could be a PNG, JPG, etc.) and activate Peek on it (press Ctrl+Space)
✔️ Expected Behavior
The preview should be clear and sharp if it can fit within the Peek window.
❌ Actual Behavior
Sometimes the preview is slightly blurry. I think it's because the Peek window is having its size miscalculated, making the previewed image shrink to fit.
If you maximize or increase the size of the window (usually vertically), it looks fine.
Now, of course, larger images that can't fit in the Peek window will have this issue, but I have also seen most medium-sized pictures that touch the top or bottom edges of the Peek window have this issue. Here's a good example: https://github.com/microsoft/PowerToys/blob/main/doc/images/launcher/plugins/program.png?raw=true
https://github.com/microsoft/PowerToys/assets/106490990/3d631b19-edf4-4b37-95f0-800a670bf3bb
If you look very closely at the video, there are lines on the left and right edges of the preview. That's the background.
Here, and pretty much every time, the window's height is one pixel less than it should be.
Exactly how the blurring shows up might depend on the graphics components of your device.
Other Software
No response
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- [Peek] Missing image aliasing (#28192), similarity score: 0.82
- [Peek] Preview is way too small for unsupported files on high resolution and scale (#26133), similarity score: 0.80
- Peek Only Showing App Icons (#26595), similarity score: 0.77
- Peek — Window Size is Too Big on Large Monitors (or allow resizing of default window size) (#26535), similarity score: 0.76
- Peek images do not load when browsing (#28142), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Is this issue still relevant in v0.87? /needinfo
Is this issue still relevant in v0.87?
Well, yes, I'm on v0.87.1 now but this time the window is too thin both horizontally and vertically, so I have to resize it diagonally by several pixels to get the image to fit at actual size and not be blurry, as you can see here:
https://github.com/user-attachments/assets/5e254148-229a-4017-97c0-975e3415e8f3
This happened with various different image sizes that should've fit.