microsoft / microsoft/microsoft-ui-xaml

Live Property Explorer doesn't show ActualOffset value (computed values)

Open
#9,926 4 comments 0 reactions 0 assignees View on GitHub
area-LiveVisualTree bug team-Core
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

The Live Property Explorer doesn't show the `ActualOffset` value. I was thinking it was because it is a Vector3, but `DesideredSize` is correctly shown even if it isn't a scalar value.

### Steps to reproduce the bug

Just create a Winui3 project from scratch and check the ActualOffset of the button.

### Expected behavior

_No response_

### Screenshots

![computed_properties](https://github.com/user-attachments/assets/cb66d6dc-1887-48df-99d8-27930c2116f5)

### NuGet package version

WinUI 3 - Windows App SDK 1.5.6: 1.5.240802000

### Windows version

Windows 10 (21H2): Build 19044

### Additional context

Visual Studio 17.11.2

Contributor guide

Open the contributing guide

Research direction

Start with the Live Property Explorer in a WinUI 3 project and compare how ActualOffset is handled with the displayed DesiredSize value. Reproduce the issue using the button example from the report; it is done when ActualOffset is shown in the explorer alongside other computed property values.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.