View Issue Details

IDProjectCategoryView StatusLast Update
0002267NoesisGUIC++ SDKpublic2022-12-15 12:20
Reporterspadapet Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version3.1.2 
Target Version3.2.0Fixed in Version3.2.0 
Summary0002267: Centered Popup shows in the corner until the view is resized
Description

I want to show a Popup in the center of its parent. Setting <Popup Placement="Center"> is supposed to do the trick, but the layout is incorrect until the view is resized. I'd rather not use a workaround like write code to manually place the Popup in the center.

Steps To Reproduce

STEPS:

  1. Paste the following XAML in XamlToy (https://www.noesisengine.com/xamltoy)

<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Popup Placement="Center" IsOpen="True">
<Border BorderBrush="Black" BorderThickness="2" Padding="50">
<Button Content="Button in popup" />
</Border>
</Popup>
</Grid>

RESULT:
The popup shows in the upper left corner. If you resize the browser, then the popup shows in the center like it should.

EXPECT:
Start off in the center

PlatformAny

Activities

spadapet

spadapet

2022-02-10 15:10

reporter   ~0007796

I realized this only happens when Popup.IsOpen has an initial value of True. That's rare for a Popup so this bug is really trivial, I can easily work around it.

Issue History

Date Modified Username Field Change
2022-02-10 07:10 spadapet New Issue
2022-02-10 15:10 spadapet Note Added: 0007796
2022-02-10 15:59 sfernandez Assigned To => sfernandez
2022-02-10 15:59 sfernandez Status new => assigned
2022-02-10 15:59 sfernandez Target Version => 3.1
2022-12-15 12:20 sfernandez Status assigned => resolved
2022-12-15 12:20 sfernandez Resolution open => fixed
2022-12-15 12:20 sfernandez Fixed in Version => 3.2.0
2022-12-15 12:20 sfernandez Target Version 3.1 => 3.2.0