View Issue Details

IDProjectCategoryView StatusLast Update
0003917NoesisGUIC++ SDKpublic2026-04-27 12:17
Reporternikobarli Assigned Tosfernandez  
PrioritynormalSeveritymajor 
Status assignedResolutionopen 
Product Version3.2.4 
Target Version3.2.14 
Summary0003917: Weird behavior when having another Popup on top of a Popup
Description

We found a problem when trying to use a Popup on top of another Popup.
Assume that we have a button to open a "Popup1", then inside "Popup1" we have another button to open "Popup2".
(Please use the attached patch to reproduce the issue)

The expected behavior is as follows:

  • Clicking the "Show Popup1" button displays Popup1
    • Clicking anything outside Popup1 closes Popup1
    • Clicking the "Show Popup2" button inside Popup1 displays Popup2
      • Clicking anything outside Popup2 (including inside Popup1 that doesn't include Popup2) closes Popup2
      • Click outside once again outside Popup1 closes Popup1

The currently observed behavior is as follows:

  • Clicking the "Show Popup1" button displays Popup1
    • Clicking anything outside Popup1 closes Popup1
    • Clicking the "Show Popup2" button inside Popup1 displays Popup2
      • Clicking anything outside Popup2 and Popup1 closes both Popup1 and Popup2 (unexpected behavior)
      • Clicking anything outside Popup2 and inside Popup1 sometimes closes Popup2 and sometimes doesn't (unexpected behavior)
Attached Files
NoesisPopupSample.patch (1,920 bytes)   
Index: Native/Src/Packages/Samples/HelloWorld/Data/MainWindow.xaml
===================================================================
--- Native/Src/Packages/Samples/HelloWorld/Data/MainWindow.xaml	(revision 177917)
+++ Native/Src/Packages/Samples/HelloWorld/Data/MainWindow.xaml	(working copy)
@@ -209,6 +209,26 @@
                                 </TransformGroup>
                             </TextBlock.RenderTransform>
                         </TextBlock>
+                        <Grid>
+                          <ToggleButton IsChecked="{Binding IsOpen, ElementName=TempPopup}" FontSize="10" Content="Show Popup 1" Height="15" Width="100" />
+                          <Popup x:Name="TempPopup" Placement="Bottom" StaysOpen="False" Focusable="False">
+                            <Grid>
+                              <Border Background="Green">
+                                <StackPanel>
+                                  <TextBlock Text="In Popup!" FontSize="10"></TextBlock>
+                                  <ToggleButton IsChecked="{Binding IsOpen, ElementName=TempPopup2}" FontSize="10" Content="Show Popup 2" Height="15" Width="100" />
+                                </StackPanel>
+                              </Border>
+                              <Popup x:Name="TempPopup2" Placement="Bottom" StaysOpen="False" Focusable="False">
+                                <Border Background="Yellow">
+                                  <StackPanel>
+                                    <TextBlock Text="In second Popup!" FontSize="10"></TextBlock>
+                                  </StackPanel>
+                                </Border>
+                              </Popup>
+                            </Grid>
+                          </Popup>
+                        </Grid>
                     </StackPanel>
                 </Grid>
             </Grid>
NoesisPopupSample.patch (1,920 bytes)   
PlatformAny

Activities

Issue History

Date Modified Username Field Change
2025-01-27 02:51 nikobarli New Issue
2025-01-27 02:51 nikobarli File Added: NoesisPopupSample.patch
2025-01-27 09:40 sfernandez Assigned To => sfernandez
2025-01-27 09:40 sfernandez Status new => assigned
2025-01-27 09:40 sfernandez Target Version => 3.2.8
2025-06-06 12:52 jsantos Target Version 3.2.8 => 3.2.9
2025-10-02 00:48 jsantos Target Version 3.2.9 => 3.2.10
2025-10-20 18:25 jsantos Target Version 3.2.10 => 3.2.11
2026-01-20 19:32 jsantos Target Version 3.2.11 => 3.2.12
2026-03-04 00:39 jsantos Target Version 3.2.12 => 3.2.13
2026-04-27 12:17 jsantos Target Version 3.2.13 => 3.2.14