You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .net48 library (Autodesk Revit plugin) and I need to show window in new AppDomain (to avoid version conflict between different versions of MaterialDesign - other uploaded plugins). Everything looks good, but ComboBoxes are broken, they are not expandable, the only way to change selection is using keyboard arrows.
I also tried running the same Windows without creating a new AppDomain, and everything was fine;
Replacing a Global.xaml dictionary with a local one does not affect;
PerfilyevID
changed the title
ComboBox doesn't expand running from another AppDomain
Broken ComboBox when starting a window in a new AppDomain
Sep 6, 2023
Though I am not able to reproduce, I did go through the ComboBox popup code and found a reference that I think may be related (PR #3344). I suspect the issue that that the ComboBoxes are expanding but due to the custom positioning code, something is causing the location to be incorrect. Are you able to do a debug build of the library and see what is being returned from the ComboBoxPopup.ComboBoxCustomPopupPlacementCallback method?
Bug explanation
I have a
.net48
library (Autodesk Revit plugin) and I need to show window in newAppDomain
(to avoid version conflict between different versions ofMaterialDesign
- other uploaded plugins). Everything looks good, butComboBoxes
are broken, they are not expandable, the only way to change selection is using keyboard arrows.WPF Library
Global.xaml
Windows\MainWindow.xaml
Engine library
Plugin.cs :
MarshalByRefObject
PluginManager.cs :
MarshalByRefObject
Version
4.9.0.0
The text was updated successfully, but these errors were encountered: