b1ll1onaire / mobileterminal

Automatically exported from code.google.com/p/mobileterminal
0 stars 0 forks source link

Keyboard gets cut off on iPad with rotation lock on #291

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get an iPad with iOS 5. 
2. Rotate it to landscape and lock its rotation. 
3. Open MobileTerminal. 

What is the expected output? What do you see instead?
The keyboard would always come up properly on iOS 4.3.1 for me. Now, on iOS 5, 
it gets stuck at the bottom of the screen while the auto rotation occurs. 

What version of the product are you using? On what operating system?
Version 592 from the iJailbreak repo, on iOS 5 on my iPad 1

Please provide any additional information below.
Screenshot: http://db.tt/z2ijvu1r
This is happening because of the rotation lock automatically rotating from 
portrait to landscape, due to there not being any iPad-sized default images 
(Default-Portrait.png and Default-Landscape.png). It doesn't happen if I unlock 
the rotation before opening the app and manually rotate the device when the 
keyboard appears. 

Original issue reported on code.google.com by addydmasi on 26 Oct 2011 at 10:45

GoogleCodeExporter commented 9 years ago
I apologise, I meant revision 520 above, not 592. 

Original comment by addydmasi on 26 Oct 2011 at 11:19

GoogleCodeExporter commented 9 years ago
I tried testing this with the simulator, but was not able to reproduce it 
(couldn't figure out how to stop it from rotating back on startup).  If anyone 
can reproduce this in the simulator, please report back here.

Original comment by allen.po...@gmail.com on 26 Oct 2011 at 10:40

GoogleCodeExporter commented 9 years ago
Fixed it! It just needed to know the supported orientations in Info.plist. I 
also added default images for the iPad screen. 
The patch is here: http://db.tt/mMnycYTx

Original comment by addydmasi on 30 Oct 2011 at 9:12

GoogleCodeExporter commented 9 years ago
Has anyone added my patch yet? It has worked perfectly for me in the past few 
weeks. 

Original comment by addydmasi on 12 Nov 2011 at 2:11