Search

XAML Editor: Split View Typing, errors stealing focus. by -JM-

Closed
as Fixed Help for as Fixed

0
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 379960
Opened: 11/4/2008 8:10:21 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
If you are in split view, as you type, the Design View is updated. Many times as you type, this refresh takes place before you finish typing valid XAML, in these instances an error message appears. This error message steals focus away from the XAML editor, oftentimes while you are in the process of typing.
Details (expand)

Product?

Blend

Product Version?

Blend 2 SP1 (2.1.1760.0)

Issue Type?

Suggestion
Repro Steps? (N/A for Suggestion)
 
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 12/2/2008 at 4:58 PM
The exception being displayed on the artboard should not grab the focus away from the XAML editor, if there are more specific steps that you know of, please let us know.

Otherwise, we try to only update the design surface when there's syntactically valid XAML to cut down on the number of errors displayed.
Posted by -JM- on 12/3/2008 at 2:38 PM
It has been happenning to me today when working within HierarchicalDataTemplates, but I've seen it in less obscure areas as well. Probably ControlTemplates, but I can look for steps to repeat it in the upcoming weeks.
Posted by -JM- on 12/19/2008 at 11:47 AM
This happens a lot. Just now I was inside of a ControlTemplate that is inside of a style. This style is in a resourceDictionary, but I'm not sure that matters. Typing in xaml, lets say adding a MaxWidth property to a stackPanel reveals the problem. If I pause mid word, like 'MaxW' Blend will steal the focus away from the xaml editor so I have to click back in the document exactly where I was and resume.

Thanks for listening.
-Jeff McLean
Posted by -JM- on 12/31/2008 at 1:40 PM
One other thing to note is that I have the "Results" window torn off of the layout. It is free floating. I also have "Resources" torn off as well.