microsoft / microsoft/PowerToys

[Peek] Images do not size to fill the entire client area

Open
#50,445 0 comments 0 reactions 1 assignee Claimed by @daverayment View on GitHub
Issue-Bug Needs-Triage Product-Peek
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Microsoft PowerToys version and release channel

0.102 (current main)

### Installation method

Dev build in Visual Studio

### Area(s) with issue?

Peek

### Steps to reproduce

Open an image with Peek.

### ✔️ Expected Behavior

The image is opened and is sized appropriately to fill the client area of the window.

### ❌ Actual Behavior

Gaps or 'seams' often appear between the image and the window chrome.

### 1024x1024 opened on 1920x1080 display at 125% scaling:

Bottom gap:

Image

### 1428x582 opened on 1920x1080 display at 125% scaling

Left + right gap:

Image

### 1681x67 opened on 1920x1080 display at 125% scaling

Left + right gap:

Image

### 1408x768 opened on 3840x2160 display at 175% scaling

Bottom gap:

Image

### 1280x896 opened at 3840x2160 display at 175% scaling

Bottom gap:

Image

### 1024x1024 opened on 3840x2160 display at 175% scaling

Bottom gap:

Image

### 1080x1920 opened on 3840x2160 display at 175% scaling

Tall bottom gap:

Image

Gaps are consistent at each of these sizes. Note that some of the instances of 'bottom gaps' here are also likely to include gaps at the top of the client area, but it is difficult to tell because of the title bar and client area being the same colour.

### Upload Bug Report ZIP-file

_No response_

### Additional Information

_No response_

### Other Software

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.