After resuming an application, I’m trying to show the user a pause screen over the game. When the application resumes from being suspended, the display contentWidth and contentHeight have been reset. That is, an app only in landscapeRight will resume from ‘suspend’ into portrait mode. This has the strange effect of typically rendering the existing storyboard scene correctly and rendering the overlay with the correct orientation but chopped off because of the current values of contentWidth and contentHeight.
To reproduce this bug, use the following config, build, and main. Execute the app then suspend the device, then hit rotate left or right, then resume. You should see the contentWidth and height swap from suspend to resume. Rotating and then suspending causes the problem in my real app but not in this sample app so please suspend then rotate here. 
--Build.settings
settings = {
orientation = {
default = "landscapeRight",
supported = {
"landscapeRight",
},
},
iphone = {
plist = {
UIApplicationExitsOnSuspend = false,
},
}
}
[lua]–config.lua
application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
imageSuffix =
{
["-x2"] = 1.8,
},
}
}[/lua]
[lua]local storyboard = require(‘storyboard’)
local function main()
local onSystem = function(event)
if event.type == “applicationSuspend” then
print(display.contentWidth, display.contentHeight)
elseif event.type == “applicationResume” then
print(display.contentWidth, display.contentHeight)
end
end
Runtime:addEventListener(“system”, onSystem)
end
main()[/lua]
I have tried repeatedly to find any information about this problem using the forums and been unable to effectively search the forums. All the links generated directly from the search or from a site-specific Google search no longer point to the original content. If this issue has been addressed before, will someone please provide an active link and method for accessing old forum content? Thanks in advance! [import]uid: 168249 topic_id: 30796 reply_id: 330796[/import]