Skip to content

airtestIDE 横屏游戏错误展示为竖屏 #1310

Description

@Michael-LiK

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)

(重要!问题分类)
测试开发环境AirtestIDE使用问题 图像识别、设备控制相关问题

描述问题bug
目前在测试中的安卓设备进入到横屏游戏时,ide无法横屏旋转,脚本内截图也保持竖屏,导致图片(横竖问题导致)和点击(横竖坐标坐标)错误

相关截图
(贴出遇到问题时的截图内容,如果有的话)
(在AirtestIDE里产生的图像和设备相关的问题,请贴一些AirtestIDE控制台黑窗口相关报错信息)
预期正常截图
Image
错误截图
Image

复现步骤
部分机器进入游戏后为横屏展示,部分为竖屏,之前全部为横屏展示,手机在qtscrcpt都能正常横屏展示

预期效果
横屏游戏进入airtest,横屏展示,

python 版本: python3.11

airtest 版本: 1.4.3 ide时最新版

设备:

  • 型号: [e.g.一加13T 红米k80 pro]
  • 系统: [e.g. Android 15 16]

其他相关环境信息
mac Air最新版m4 上运行

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions