Workspace settings - App's orientation does not change to Landscape
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue was found when executing #6648
Action Performed:
- Launch the app
- Go to settings
- Tap on a workspace
- Change the orientation to landscape
Expected Result:
App's orientation changes to landscape
Actual Result:
App's orientation remains in Portrait
Workaround:
Unknown
Platform:
Where is this issue occurring?
- iOS
- Android
Version Number: 1.1.20-0 Reproducible in staging?: Yes Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/145659906-07005970-a454-4533-8ab5-62626e430750.MP4
Issue was found when executing #6648
Expensify/Expensify Issue URL: Issue reported by: Applause Slack conversation:
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
- Identify the pull request that introduced this issue and revert it.
- Find someone who can quickly fix the issue.
- Fix the issue yourself.
Triggered auto assignment to @mountiny (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
Triggered auto assignment to @MitchExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
Removing deploy blocker as it does not seem very urgent. However, I have teated on staging and the I cant switch to landscape at any screen.
This is intentional after this PR https://github.com/Expensify/App/pull/6608. I think we can close this issue, unless not being able to change to landscape mode is blocking some functionality.
@luacmartins thank you for a heads up! Is there an official way to update QA tests so they test for not being able to turn to landscape instead? 😅
Based on the Slack thread linked in the issue by Carlos, also here, this is intentional and on phones, we should not be able to rotate to landscape anymore.
However, the rotation should be possible on tablets.
@kavimuru could you please update the testing instructions to make sure we correctly QA for this new expected behaviour? Thank you very much 🙇
@mountiny from the accessibility perspective restricting the content view and operation to a single display orientation fails WCAG 2.1 SC 1.3.4
@ogumen ah, thank you for raising this issue. It has been a decision made by more people so i will need to discuss with them.
@mountiny, I have edited the steps. Also it works fine in iPad though.
https://user-images.githubusercontent.com/43996225/145828062-b2a9ed8f-08e5-415a-a2c9-e60213c38416.MP4
.
Thank you @kavimuru! I will bring up the accessibility issues in Slack to see what is our approach here and whether to revert this decision now knowing it breaks accessibility rules.
@ogumen Brought this issue up in Slack.
Discussion still going on.
The teams are still discussing this coming to Christmas break.
@kavimuru We have come to conclusion we will keep it as is, therefore on mobile, we will only have portrait. On tablet, we will have both portrait and landscape.
We might come back to this issue later. cc @AndrewGable
Gonna close it for now, feel free to reopen anytime.