After upgrading from 13.2.6 to 15.1.6 we not get this exception when pressing the 'Alt' key when the window is open. Please help.
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.BarControl.GetCanEnterMenuMode.AnonymousMethod__38(DevExpress.Xpf.Bars.BarControl x) Unknown
System.Core.dll!System.Linq.Enumerable.WhereSelectEnumerableIterator<DevExpress.Xpf.Bars.BarControl,<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>>.MoveNext() Unknown
System.Core.dll!System.Linq.Buffer<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>>.Buffer(System.Collections.Generic.IEnumerable<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>> source) Unknown
System.Core.dll!System.Linq.OrderedEnumerable<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>>.GetEnumerator() Unknown
mscorlib.dll!System.Collections.Generic.List<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>>.List(System.Collections.Generic.IEnumerable<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>> collection) Unknown
System.Core.dll!System.Linq.Enumerable.ToList<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>>(System.Collections.Generic.IEnumerable<<>f__AnonymousType1<DevExpress.Xpf.Bars.BarControl,int>> source) Unknown
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.BarControl.GetCanEnterMenuMode() Unknown
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.LinksControl.DevExpress.Xpf.Bars.INavigationOwner.CanEnterMenuMode.get() Unknown
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.NavigationTree.EnterMenuMode(DevExpress.Xpf.Bars.IBarsNavigationSupport element, bool enableKeyboardCues, bool checkCanEnterMenuMode) Unknown
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.NavigationTree.ToggleMenuMode(DevExpress.Xpf.Bars.IBarsNavigationSupport element, bool enableKeyboardCues, bool checkCanEnterMenuMode) Unknown
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.NavigationManager.OnEnterMenuMode(object sender, System.EventArgs args) Unknown
DevExpress.Xpf.Core.v15.1.dll!DevExpress.Xpf.Bars.MenuModeHelper.OnEnterMenuMode(object sender, System.EventArgs e) Unknown
PresentationFramework.dll!System.Windows.Input.KeyboardNavigation.OnEnterMenuMode.AnonymousMethod__6(object obj) Unknown
PresentationFramework.dll!System.Windows.Input.KeyboardNavigation.WeakReferenceList.Process(System.Func<object,bool> action) Unknown
PresentationFramework.dll!System.Windows.Input.KeyboardNavigation.OnEnterMenuMode(object eventSource) Unknown
PresentationFramework.dll!System.Windows.Input.KeyboardNavigation.ProcessForMenuMode(System.Windows.Input.InputEventArgs inputEventArgs) Unknown
PresentationFramework.dll!System.Windows.Input.KeyboardNavigation.ProcessInput(System.Windows.Input.InputEventArgs inputEventArgs) Unknown
PresentationCore.dll!System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(System.Windows.Input.ProcessInputEventHandler postProcessInput, System.Windows.Input.ProcessInputEventArgs processInputEventArgs) Unknown
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() Unknown
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) Unknown
PresentationCore.dll!System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawKeyboardActions actions, int scanCode, bool isExtendedKey, bool isSystemKey, int virtualKey) Unknown
PresentationCore.dll!System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(ref System.Windows.Interop.MSG msg, ref bool handled) Unknown
PresentationCore.dll!System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers) Unknown
PresentationCore.dll!System.Windows.Interop.HwndSource.OnPreprocessMessage(object param) Unknown
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority priority, System.Delegate method, object arg) Unknown
PresentationCore.dll!System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(ref System.Windows.Interop.MSG msg, ref bool handled) Unknown
WindowsBase.dll!System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(ref System.Windows.Interop.MSG msg) Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(ref System.Windows.Interop.MSG msg) Unknown
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) Unknown
PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) Unknown
PresentationFramework.dll!System.Windows.Application.Run() Unknown
> Jpmc.QT.Shell.exe!Jpmc.QT.Shell.Activation.Initializer.Main() Line 53 C#
Hi Alex,
It is difficult to diagnose the issue based only on the provided information. Would you please send us a sample project that we can use to replicate this issue? This way, we will be able to research it and determine the cause.
OK. Reproduced!
Here's what to do:
The workaround is to add a main menu (hidden) to the barContainer:
barContainer.Bars.Add(new Bar() { IsMainMenu = true, Visible = false });
Hi Alex,
Thank you for the sample project. I have passed it to our developers so they can research it thoroughly. We will let you know as soon as we get any results.
Thanks,
Michael
Any news?
Hi,
We have fixed this issue. Please request a hotfix.
Thanks,
Michael