web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Aspect ratio corrupt w...
Power Apps
Answered

Aspect ratio corrupt when importing from another environment

(0) ShareShare
ReportReport
Posted on by

Hi, I'm using the packaging preview (export / import) to promote a powerapp from the dev/default environment to another powerapp environment (production) in the same O365 tenant. The app's aspect ratio is landscape with locked orientation, however when importing to the prod environment, it forces portrait when run, even though the app settings indicate landscape with locked orientation. Worse still, it has corrupted the orientation because if i restore the prod app back to an earlier working version, it still stuffers the same problem.

 

Here's what works:

  • Save-as from dev to file system, then from file system into the prod environment. This only works if save-as to a new app in prod, or to an existing app in prod that hasn't been corrupted by import.
  • Save-as or import to another app within the default environment (ie not across environments)
  • Run in browser (always shows landscape)

 

Here's what doesn't work:

  • Importing to a new or replace existing app in the prod environment
  • Rolling back to an earlier working version after corrupting from an import
  • Save-as to an existing prod app that was corrupted by an import

 

I only see the corruption when running in iPad or convertable Win10 laptop in tablet mode (keyboard detached). If my Win10 laptop has keyboard attached, or I run the app in a browser, then the app always renders landscape.

 

The source app is version 2.0.690, though i also saw this bug in 2.0.681. Not sure if the bug was there earlier than that.

 

I am not the source app owner, but i do have edit rights.

 

-Mark

Categories:
I have the same question (0)
  • Verified answer
    bean Profile Picture
    568 on at

    Hey, I think I had the same problem...

     

    Try, once you have imported the application, go edit it (maybe  add a blank label) and then save + publish it.. See if this works..

     

    Sean

  • bean Profile Picture
    568 on at

    My own post for referece. It's not very descriptive because well.. I don't know why it stuffed up like it did. But I managed to get it working, so I resolved it.

     

    https://powerusers.microsoft.com/t5/PowerApps-Forum/App-locking-to-portrait-orientation/m-p/57835#M23935

     

    Sean

  • Community Power Platform Member Profile Picture
    on at

    Ha, yeh that restores the orientation. Thanks Sean!

  • Community Power Platform Member Profile Picture
    on at

    I noticed that powerapps version 2.0.702 has just been released. I tried import again and it worked fine. Unless your save-and-republish allowed subsequent imports to avoid corrputing aspect?

  • bean Profile Picture
    568 on at

    @Anonymous

     

    Good to hear that it worked.

     

    Sean

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard