Open kimduquan01 opened 1 month ago
Perhaps the relevant code is https://github.com/appium/appium-uiautomator2-server/blob/bb18a50f6131b0ffa8c353de7f995ab48a59ae2b/app/src/main/java/io/appium/uiautomator2/core/AxNodeInfoHelper.java#L217-L234. You could debug it if the return values were by the Android OS itself. If it was by Android API (not in the uia2 server's calculation code), unfortunately, nothing can be done on the Appium side right now.
Reproduce steps:
The value of "bounds" attribute is incorrect, the height value is too small.