App icon indicating copy to clipboard operation
App copied to clipboard

Workspace settings - App's orientation does not change to Landscape

Open kavimuru opened this issue 4 years ago • 16 comments

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:

  1. Launch the app
  2. Go to settings
  3. Tap on a workspace
  4. 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:

View all open jobs on GitHub

kavimuru avatar Dec 11 '21 01:12 kavimuru

: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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

OSBotify avatar Dec 11 '21 01:12 OSBotify

Triggered auto assignment to @mountiny (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Dec 11 '21 01:12 MelvinBot

Triggered auto assignment to @MitchExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Dec 11 '21 02:12 MelvinBot

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.

mountiny avatar Dec 11 '21 02:12 mountiny

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 avatar Dec 11 '21 03:12 luacmartins

@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? 😅

mountiny avatar Dec 11 '21 08:12 mountiny

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 avatar Dec 12 '21 10:12 mountiny

@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 avatar Dec 13 '21 12:12 ogumen

@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 avatar Dec 13 '21 13:12 mountiny

@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

.

kavimuru avatar Dec 13 '21 14:12 kavimuru

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.

mountiny avatar Dec 13 '21 16:12 mountiny

@ogumen Brought this issue up in Slack.

mountiny avatar Dec 13 '21 16:12 mountiny

Discussion still going on.

mountiny avatar Dec 19 '21 23:12 mountiny

The teams are still discussing this coming to Christmas break.

mountiny avatar Dec 26 '21 23:12 mountiny

@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

mountiny avatar Jan 04 '22 21:01 mountiny

Gonna close it for now, feel free to reopen anytime.

mountiny avatar Jan 04 '22 21:01 mountiny