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

The picture stream of ios device is displayed with black edges #20092

Closed
Giteers opened this issue May 11, 2024 · 4 comments
Closed

The picture stream of ios device is displayed with black edges #20092

Giteers opened this issue May 11, 2024 · 4 comments
Labels
Needs Info typically non-actionable; needs author to respond

Comments

@Giteers
Copy link

Giteers commented May 11, 2024

When I set the font size to a larger font in iOS Settings-Display and Brightness-Scale Display, I will find that the iOS screenshots taken back from the wda service have black edges. like this:

screen_example

so, how to deal with it?

@KazuCocoa
Copy link
Member

KazuCocoa commented May 12, 2024

How about reloading the view? I guess it is viewer matter that does not handle screen-size change dynamically. (Or the screenshot itself included the black screen area?)

@Giteers
Copy link
Author

Giteers commented May 13, 2024

The screenshot itself included the black screen area. So I wonder if the wda service needs to be compatible with this situation?

@KazuCocoa
Copy link
Member

KazuCocoa commented May 13, 2024

Could you share more concrete steps to reproduce it?

  • iPhone SE, SE2
  • iOS 15.8.2, iOS 17.4.1
  • Change the display brightness and text font with Settings -> Display & Brightness -> Brightness/Text Size -> to max

but a screenshot command below did not include such space.

driver.save_screenshot "test.png"

Could you share more logs and info by following https://github.com/appium/appium/issues/new?assignees=&labels=Bug%2CNeeds+Triage&projects=&template=bug_report.yml&title=bug%3A+%3Ctitle%3E ?

@KazuCocoa KazuCocoa transferred this issue from appium/WebDriverAgent May 13, 2024
@KazuCocoa KazuCocoa added the Needs Info typically non-actionable; needs author to respond label May 13, 2024
@mykola-mokhnach
Copy link
Collaborator

Closed because of no response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Info typically non-actionable; needs author to respond
Projects
None yet
Development

No branches or pull requests

3 participants