Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find UI element issue
#1
Hi,
An error message came up while I was trying to use Ctrl+Shift+E to find UI element. Please feel free to look into, Thanks!

System.InvalidOperationException: Cannot show Window when ShowActivated is false and WindowState is set to Maximized.
   at System.Windows.Window.VerifyConsistencyWithShowActivated()
   at System.Windows.Window.CoerceVisibility(DependencyObject d, Object value)
   at System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at System.Windows.Window.UpdateVisibilityProperty(Visibility value)
   at System.Windows.Window.Show()
   at System.Windows.Window.ShowDialog()
   at Au.Tools.TUtil.<>c__DisplayClass14_0.<ShowDialogInNonmainThread>g___Show|1(Boolean dialog) in C:\code\au\Au.Editor\Tools\TUtil.cs:line 397
Warning: Non-disposed WindowsHook (ThreadCbt) variable.
#2
The window was closed while maximized.

Open the window with the toolbar button (not with Ctrl+Shift+E). Restore, close. Then Ctrl+Shift+E will work again.


Forum Jump:


Users browsing this thread: 1 Guest(s)