stride3d / stride3d/stride

Property Grid only updates properties that are directly touched by the user

Open
#2,729 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-GameStudio bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: GitHub

Version: Latest as of writing

Platform(s): GameStudio

Describe the bug
Add this script to an entity.

public class CompTest : StartupScript
{
    public bool Gamepad { get; set; } = false;
    
    public bool GamePad2 { get { return Gamepad; } set { Gamepad = value; } }
}

Changing GamePad2 through the property grid does not update the value shown on the property grid for Gamepad even though the actual object's value changed.

Expected behavior
Self explanatory

Screenshots
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in GameStudio using the provided CompTest StartupScript, changing GamePad2 in the property grid and checking Gamepad. Start by tracing the property-grid refresh path for related properties; done means the displayed Gamepad value updates when the underlying value changes indirectly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.