View.Modified desynch editing .editorconfig #58607
Labels
Area-IDE
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
Feature - Editor Config UI
This issue has been moved from a ticket on Developer Community.
Note to the 1st line CCP representative: No, I don't have any more information to give you about this. If you need more information you simply have to start using VS to experience this for yourself.
No solid repro, it seems to be stochastic, but frequent enough to warrant an investigation.
??? VS... not again.
*sigh*
Ctrl-S, Ctrl-S, Ctrl-S. Nope, still displays as modified.Note that this was the ONLY display of the error - the asterisk NOT going away on the tab of the View you commanded VS to save. No audio feedback. No big red "Uh-oh, we've gone effed up again". Nothing. That is Bad Design(tm).
My suspicion is as follows:
If that analysis is correct, the root cause should be obvious. The view _shall not (!) _ have its own copy of Modified. It shall ONLY query the Document. Having two separate copies of the same mutable property WILL, sooner or later, desynch.
You already know this from the mess of the disappearing caret, and how you tried to polish the to make it less obvious by synching on a timer - yet the bug is still there, and it still negatively affects your users. Sweeping a under the rug doesn't make it go away, it doesn't hide the smell, it just temporarily hides it from view. From a large enough distance.
Alternatively, some part of VS modified the .editorconfig from underneath the View, but the change due to other bugs in VS didn't propagate to notify the view that "Document has changed".
Whatever the root cause, this is only one of the many bugs involved with editing or trying to edit .editorconfig, whether manually or using the "Configure Severity" popup sub-menu (where it never works if you don't also have .editorconfig already open in VS, and only works 20-50% of the time if you do have it open). You really, really need to work on your quality.
Original Comments
Feedback Bot on 12/1/2021, 00:45 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 12/1/2021, 10:15 AM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: