Skip to content
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

max.widget.black中设置的控件偶尔仍然被点击 #41

Closed
xiaohengdai opened this issue Apr 14, 2021 · 4 comments
Closed

max.widget.black中设置的控件偶尔仍然被点击 #41

xiaohengdai opened this issue Apr 14, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@xiaohengdai
Copy link

image

max.widget.black中的内容:
[
{
"activity":"com.yxcorp.gifshow.aggregate.AggregateActivity",
"xpath":"//[@resource-id='com.kuaishou.nebula:id/left_btn']"
},
{
"activity":"com.yxcorp.gifshow.aggregate.AggregateActivity",
"xpath":"//
[@resource-id='com.kuaishou.nebula:id/avatar']"
},
{
"activity":"com.yxcorp.gifshow.aggregate.AggregateActivity",
"xpath":"//[@resource-id='com.kuaishou.nebula:id/name']"
},
{
"activity":"com.yxcorp.gifshow.aggregate.AggregateActivity",
"xpath":"//
[@resource-id='com.kuaishou.nebula:id/text']"
}
]

@zhangzhao4444 zhangzhao4444 self-assigned this Aug 24, 2021
@zhangzhao4444 zhangzhao4444 added the bug Something isn't working label Aug 24, 2021
@sadmenmen
Copy link

我也发现这个问题了,然后打算加上黑区域bounds。但是规则怎么写都不对

@sadmenmen
Copy link

这样会报错
[
{
"activity":"com.xiaomi.smarthome.SmartHomeMainActivity",
"xpath":"//*[@resource-id='com.xiaomi.smarthome:id/ax0']/android.widget.FrameLayout[2]",
"bounds":{'left': 216, 'top': 2178, 'right': 432, 'bottom': 2308}
}
]

@sadmenmen
Copy link

这样也会
[
{
"activity":"com.xiaomi.smarthome.SmartHomeMainActivity",
"xpath":"//*[@resource-id='com.xiaomi.smarthome:id/ax0']/android.widget.FrameLayout[2]",
"bounds":"[296,2264][352,2302]"
}
]

@geron-cn
Copy link
Collaborator

related: #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants