mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

Color Tooltips are behaving inconsistently for Setters #230

Closed ravero closed 4 years ago

ravero commented 4 years ago

The color Tooltip doesn't always appear on every spot where the color adornment appears. A few screenshots to exemplify:

Screen Shot 2020-05-26 at 21 56 33 Screen Shot 2020-05-26 at 21 56 42

There you can see that for the same XAML file tooltips appears for colours from Static Resources but not from raw color values. Before I tried to reproduce this error the exact opposite was happening (raw colours rendered Tooltips while color Static Resouces doesn't).

It's important to note that this inconsistent isn't always reproducible. So there's probably something happening on the engine that resolves Tooltips. Color adornments on the other hand always appear, so base on how the color adornment places are being resolve is good start trying to find those inconsistencies.

matthewrdev commented 4 years ago

This is because the symbol resolver is not functioning for Setters. Will need to update the XAML symbol resolvers behaviour to also return symbolication data for setter colors and then this should work correctly for tooltips.

matthewrdev commented 4 years ago

This has been fixed and will be available in MFractor 4.2.2.

Screen Shot 2020-06-04 at 7 02 14 pm