Search

Blend locks up while working with Popup control by D Lamb

Closed
as Duplicate Help for as Duplicate

0
0
Sign in
to vote
Type: Bug
ID: 750817
Opened: 6/25/2012 4:42:50 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Under certain situations when working with a Popup control on the XAML design surface in Blend the application will freeze and lock up requiring it to be shut down with Task Manager and causes a loss of all work since previous last save point.

Originally posted in the MSDN Tools for Metro Style Apps discussion forum as part of the thread:
Popup control in Blend/Design Surface?
Details (expand)

Product Version?

 

Blend for Visual Studio 11 Beta

Language?

C#

Issue Type?

Bug

Repro Steps? (N/A for Suggestion)

1. Open Blend, create a new XAML C# project based on the Blank App Template. MainPage.xaml should appear in the design surface.

2. With focus set on the Grid element in the Objects and Timeline pane, click the Assets tab and search for "popup"

3. Double-click the Popup control to add an instance of it to the main grid on the page.

4. Select the new Popup in the Objects and Timeline pane, expand the Miscellaneous section of the Properties pane and set IsLightDismissEnabled to True by clicking the associated checkbox.

5. Move the mouse cursor casually around the design surface around the edges of the page content. You should see things like the orange grid column and row creation hint adornments appear as you mouse over those areas.

6. Toggle the IsOpen property (found in the Common section of the Properties pane) by clicking its checkbox.

7. Repeat steps 5 and 6 if you can.


Continue steps 5 thru 7 a number of times if possible (I find this particular series of steps will now lock up rather quickly and predictably for me now)
There seems to be some relationship with the mouseover events maybe both (or either) in the design surface and the tooltips in the Properties pane. So if it does not lock up right away you might experiment and try mousing over a few more items each time you cycle through the steps including triggering the IsOpen tooltip and then back over the design surface.


I also found that the IsLightDismissEnabled property being set to true played a major contributing factor to being able to predictably reproduce this behavior.

Setting other layout and formatting properties ultimately did not seem necessary.

In the interest of clarity and completeness I have pasted a copy of the page xaml that I had just prior to cycling through steps 5-7.

<Page
    x:Class="App2.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App2"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Popup IsLightDismissEnabled="True">
            <Grid Background="#FFE5E5E5" Height="100" Width="100"/>
        </Popup>

    </Grid>
</Page>
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 6/26/2012 at 12:05 PM
Hi D Lamb,
         We have successfully repro'd this on our latest internal bits. Unfortunately we wont able to fix this for RTM . We will re-vamping the design time experience for Popup control in general as soon as we have a release channel available.
Regards
Harikrishna Menon
Program Manager
Sign in to post a workaround.