-
-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash if Ribbon is collapsed (after Update to Version 8.0.1) #869
Comments
Environment
Exception
|
Same issue here. |
That's because MONITORINFO was converted from a class to a struct in ControlzEx to fix issues with .NET 5. Sorry for the issues this has caused, i don't know why we didn't notice that it's a breaking change. |
Describe your issue:
Programm crashed if the Ribbon is collapsed and any TabItem Header is clicked (Menu is working).
Tried to refresh project and reload Nuget Packages.
If IsCollapsed = False is setted Ribbon works as expected.
Fluent Ribbon Version 8.0.1
ControlzEx Version 4.4
Steps to reproduce the issue:
Minimize Ribbon
Click on any TabItem Header
Windows version: Win 10
.NET-Framework version: .net 4.7
System.TypeLoadException: Der Typ "ControlzEx.Standard.MONITORINFO" in der Assembly "Fluent, Version=8.0.0.0, Culture=neutral, PublicKeyToken=3e436e32a8c5546f" konnte aufgrund eines Werttypenkonflikts nicht geladen werden.
bei Fluent.RibbonTabControl.CustomPopupPlacementMethod(Size popupsize, Size targetsize, Point offset)
bei System.Windows.Controls.Primitives.Popup.UpdatePosition()
bei System.Windows.Controls.Primitives.Popup.OnWindowResize(Object sender, AutoResizedEventArgs e)
bei System.Windows.Interop.HwndSource.Resize(Size newSize)
bei System.Windows.Interop.HwndSource.OnLayoutUpdated(Object obj, EventArgs args)
bei System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
bei System.Windows.ContextLayoutManager.UpdateLayout()
bei System.Windows.Interop.HwndSource.SetLayoutSize()
bei System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
bei System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
bei System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
bei System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
bei System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
bei System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
bei System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
bei System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry
Environment
The text was updated successfully, but these errors were encountered: