Copy text in Textfield bug apk

I’m not sure I understand what the problem is.  The screenshot you showed at the top of this thread shows the clipboard appearing under the statusbar.  Are you saying that after you paste the text, your app shrinks/scales-down in size?  Can you point me to another screenshot of what’s going on please?  Thanks.

Yes, exactly. I made movies to show You how it’s works.

When height of the application is 570 then:

http://pl.tinypic.com/r/9rnnup/8

When height is smaller ( 500 ) problem didn’t occure:

http://pl.tinypic.com/r/309tx8i/8

570 px is suitable height for this phone.

Thanks for your time  :slight_smile:

Right.  That makes sense.  What’s happening is that the clipboard is resizing your app to a smaller width and height.  If you are using Corona’s content scaling feature, then this causes the display.contentScaleX/Y values to change after the resize occurs.  To see what I mean, try adding the following code to your main.lua file.  It’ll print the content scale change…

local function onResize(event) print("@@@ Content Scale = " .. tostring(display.contentScaleY)) end Runtime:addEventListener("resize", onResize)

So, Corona is correctly handling the resizing of your app by rescaling its content.  But for your app, that’s not the behavior you want.  The only work-around is to use our “adaptive” scaling mode or to turn content scaling off and to scale things yourself via Corona group objects.  Or… you can re-layout your app based on the resize event and content scale change to maintain the same size.