Property Grid only updates properties that are directly touched by the user
Nobody has claimed this yet.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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