Possible bug in UXComboBox and UXDialogBox in WPF

2 replies. Last post: July 1, 2013 7:54 AM by Bill Gower
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Bill GowerMember

I have found the most peculiar bug when developing my WPF application and I am able to reproduce in the sample I am sending you. It occurs as follows:

Using the sample application built you click on contacts the contacts.xaml UXPage is displayed in the Content Panel. On the page is a dialog button that when clicked will display a dialog box called DialogBox1. On the dialog box is a UXComboBox which displays a list of products. If you click on an item in the combo box, it displays a MessagePresenter popup that says "Made it". The Message box displays properly on top of dialog box but a breakpoint in the MessageBoxServiceProivder class at the following line says that the logical container of the Message box is MainPanel which is incorrect the logical container should be Dialog Box1

DependencyObjectlogicalContainer=ISFocusManager.GetLogicalContainerScope(element);

I then placed a button on DialogBox1 which when clicked opens up a second dialog box. On this dialog box is the exact same combobox. When I click on an item I pop up a Message box saying "Made it". A breakpoint also says the logical container is MainPage which is incorrect it should now be DialogBox2. This time the Message box appears behind Dialog box2 which is wrong as it should appear on top of dialog box 2.

If i place buttons on the dialog boxes and pop up a message when the buttons are clicked the logical container is correctly shown as the dialog box and the message box is correctly displayed on top of the appropriate dialog box. So there seems to be an issue with the UXComboBox and the Dialog box as to the logical container of the UXComboBox

All times are GMT -5. The time now is 3:25 AM.
Previous Next