Scene breaks setting new position

Hi,

I’m testing my application in a iPad2, iOS version 6.0.1. My cocos2d-x version is now 2.1.1. I didn’t have this problem when I had the cocos2d-x version 2.0.4.

If I change the scene position with “CCDirector::sharedDirector()->getRunningScene()->setPositionY(350);”, my scene breaks. If I set Y position to 340 or 360, it works fine…

Here is the screen before the “setPosition” call:
https://dl.dropbox.com/u/15473948/Vox4All%20bug/IMG_0392.PNG

And here is the screen after the “setPosition” call:
https://dl.dropbox.com/u/15473948/Vox4All%20bug/IMG_0393.PNG

In other devices (iPad1 (which has the same screen size), iPad simulator, iPod, android) it works fine too…

Can anyone reproduce this issue and/or help me?

Thanks in advance

I updated the iOS version to 6.1, and the problem still exists.

Does anyone have an iPad2 and could try this, with a cocos2d-x 2.1.1 app?

I want to know if I really need to return to 2.0.4 cocos2d-x version…

Can you post the intended result? A screenshot of the working ones, perhaps. I just don’t see why you need to move the scene itself.

Thanks for the response!
It’s not this the case, but I need to move the scene so that my CCTextFieldTTF is not hidden by keyboard.
I know that there are other ways to do this, but it was working and I’d rather not to change it.
The expected result is this: https://dl.dropbox.com/u/15473948/Vox4All%20bug/IMG_0394.PNG

Is your class a subclass of CCLayer? If it is, try moving the layer instead of the scene. The this keyword usually does the job (like this -> setPosition; ).

I changed and I got the same problem…