Support Portal

for ProcessRobot and WinAutomation

Start a new topic

Flyout Window that doesn't receive Clicks or Keyboard Keys


image


This flyout window will not receive any clicks, mouse movements or keys whatsoever. WinAutomation UISpy is unable to recognize its existence either. In Inspector.exe it has the following properties:


WINDOW PROPERTIES



 

How found:	Mouse move (1042,513)
	hwnd=0x0000000000320E72 64bit class="Shell_Flyout" style=0xFFFFFFFF96000000 ex=0x0
Name:	"Location access for this device"
ControlType:	UIA_WindowControlTypeId (0xC370)
LocalizedControlType:	"window"
BoundingRectangle:	{l:948 t:485 r:1218 b:645}
IsEnabled:	true
HasKeyboardFocus:	true
ProcessId:	1224
RuntimeId:	[2A.320E72]
FrameworkId:	"XAML"
ClassName:	"Shell_Flyout"
NativeWindowHandle:	0x320E72
ProviderDescription:	"[pid:10436,providerId:0x320E72 Main:Nested [pid:1224,providerId:0x320E72 Main(parent link):Unidentified Provider (unmanaged:Windows.UI.Xaml.dll)]; Hwnd(parent link):Microsoft: HWND Proxy (unmanaged:uiautomationcore.dll)]"
ClickablePoint:	{x:1083 y:565}
IsDialog:	false
LegacyIAccessible.ChildId:	0
LegacyIAccessible.DefaultAction:	""
LegacyIAccessible.Description:	""
LegacyIAccessible.Help:	""
LegacyIAccessible.KeyboardShortcut:	""
LegacyIAccessible.Name:	"Location access for this device"
LegacyIAccessible.Role:	window (0x9)
LegacyIAccessible.State:	focused,focusable (0x100004)
LegacyIAccessible.Value:	""
Window.CanMaximize:	false
Window.CanMinimize:	false
Window.IsModal:	true
Window.IsTopmost:	false
Window.WindowInteractionState:	ReadyForUserInteraction (2)
Window.WindowVisualState:	Normal (0)
IsAnnotationPatternAvailable:	false
IsDragPatternAvailable:	false
IsDockPatternAvailable:	false
IsDropTargetPatternAvailable:	false
IsExpandCollapsePatternAvailable:	false
IsGridItemPatternAvailable:	false
IsGridPatternAvailable:	false
IsInvokePatternAvailable:	false
IsItemContainerPatternAvailable:	false
IsLegacyIAccessiblePatternAvailable:	true
IsMultipleViewPatternAvailable:	false
IsObjectModelPatternAvailable:	false
IsRangeValuePatternAvailable:	false
IsScrollItemPatternAvailable:	false
IsScrollPatternAvailable:	false
IsSelectionItemPatternAvailable:	false
IsSelectionPatternAvailable:	false
IsSpreadsheetItemPatternAvailable:	false
IsSpreadsheetPatternAvailable:	false
IsStylesPatternAvailable:	false
IsSynchronizedInputPatternAvailable:	false
IsTableItemPatternAvailable:	false
IsTablePatternAvailable:	false
IsTextChildPatternAvailable:	false
IsTextEditPatternAvailable:	false
IsTextPatternAvailable:	false
IsTextPattern2Available:	false
IsTogglePatternAvailable:	false
IsTransformPatternAvailable:	false
IsTransform2PatternAvailable:	false
IsValuePatternAvailable:	false
IsVirtualizedItemPatternAvailable:	false
IsWindowPatternAvailable:	true
IsCustomNavigationPatternAvailable:	false
IsSelectionPattern2Available:	false
FirstChild:	"Location access for this device" toggle switch
LastChild:	"Location access for this device" toggle switch
Next:	"Settings" 
Previous:	[null]
Other Props:	Object has no additional properties
Children:	"Location access for this device" toggle switch
Ancestors:	"Settings" window
	"Desktop 1" pane
	[ No Parent ]


TOGGLE PROPERTIES

How found:	Mouse move (1006,571)
	hwnd=0x0000000000E10E0C 64bit class="Shell_Flyout" style=0xFFFFFFFF96000000 ex=0x0
Name:	"Location access for this device"
ControlType:	UIA_ButtonControlTypeId (0xC350)
LocalizedControlType:	"toggle switch"
BoundingRectangle:	{l:970 t:532 r:1170 b:588}
IsEnabled:	true
IsOffscreen:	false
IsKeyboardFocusable:	true
HasKeyboardFocus:	true
ProcessId:	13288
RuntimeId:	[2A.E10E0C.4.5]
FrameworkId:	"XAML"
ClassName:	"ToggleSwitch"
IsControlElement:	true
IsContentElement:	true
ProviderDescription:	"[pid:13288,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:Windows.UI.Xaml.dll)]"
IsPeripheral:	false
LiveSettingProperty:	Off (0)
IsPassword:	false
IsRequiredForForm:	false
IsDataValidForForm:	true
ClickablePoint:	{x:1008 y:572}
Culture:	1033
Orientation:	0
PositionInSet:	4294967295
SizeOfSet:	4294967295
Level:	4294967295
LandmarkType:	none (0x0)
IsDialog:	false
HeadingLevel:	HeadingLevel_None (0x138B2)
LegacyIAccessible.ChildId:	0
LegacyIAccessible.DefaultAction:	"Press"
LegacyIAccessible.Description:	""
LegacyIAccessible.Help:	""
LegacyIAccessible.KeyboardShortcut:	""
LegacyIAccessible.Name:	"Location access for this device"
LegacyIAccessible.Role:	push button (0x2B)
LegacyIAccessible.State:	focused,focusable (0x100004)
LegacyIAccessible.Value:	""
Toggle.ToggleState:	Off (0)
IsAnnotationPatternAvailable:	false
IsDragPatternAvailable:	false
IsDockPatternAvailable:	false
IsDropTargetPatternAvailable:	false
IsExpandCollapsePatternAvailable:	false
IsGridItemPatternAvailable:	false
IsGridPatternAvailable:	false
IsInvokePatternAvailable:	false
IsItemContainerPatternAvailable:	false
IsLegacyIAccessiblePatternAvailable:	true
IsMultipleViewPatternAvailable:	false
IsObjectModelPatternAvailable:	false
IsRangeValuePatternAvailable:	false
IsScrollItemPatternAvailable:	true
IsScrollPatternAvailable:	false
IsSelectionItemPatternAvailable:	false
IsSelectionPatternAvailable:	false
IsSpreadsheetItemPatternAvailable:	false
IsSpreadsheetPatternAvailable:	false
IsStylesPatternAvailable:	false
IsSynchronizedInputPatternAvailable:	false
IsTableItemPatternAvailable:	false
IsTablePatternAvailable:	false
IsTextChildPatternAvailable:	false
IsTextEditPatternAvailable:	false
IsTextPatternAvailable:	false
IsTextPattern2Available:	false
IsTogglePatternAvailable:	true
IsTransformPatternAvailable:	false
IsTransform2PatternAvailable:	false
IsValuePatternAvailable:	false
IsVirtualizedItemPatternAvailable:	false
IsWindowPatternAvailable:	false
IsCustomNavigationPatternAvailable:	false
IsSelectionPattern2Available:	false
FirstChild:	"Location access for this device" text
LastChild:	"" thumb
Next:	[null]
Previous:	[null]
Other Props:	Object has no additional properties
Children:	"Location access for this device" text
	"Off" text
	"On" text
	"" thumb
Ancestors:	"Location access for this device" window
	"Settings" window
	"Desktop 1" pane
	[ No Parent ]

 This custom selector won't work either:

> window[class="Shell_Flyout"][name="Location access for this device"] > button[class="ToggleSwitch"][name="Location access for this device"]


I believe this is a bug and perhaps should be addressed in the future.


Thanks

1 Comment

Microsoft needs to fire the person who thought that design was a good idea...


1 person likes this
Login or Signup to post a comment