Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17727] Insights: iOS 8: login keyboard causes login menu to disappear

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-09-26T18:30:41.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 3.4.0, Release 3.5.0
ComponentsiOS
Labelsinsights-2.0, insights-2.0.07161401
ReporterDustin Hyde
AssigneeVishal Duggal
Created2014-09-16T20:11:19.000+0000
Updated2014-11-21T20:22:00.000+0000

Description

Insights: iOS 8: login keyboard causes login menu to disappear. Test Steps: 1. View login menu. 2. Invoke login keyboard. Result: Keyboard appears, login menu scrolls out of sight to top of screen. User can enter username and password to login, though the fields are not visible during keyboard use. Expected Result: Login menu location persists during keyboard invocation.

Attachments

FileDateSize
ios7-keyboard.mp42014-09-18T15:06:20.000+00002568071
ios8-keyboard.mp42014-09-18T14:59:17.000+00004367314
login keyboard.PNG2014-09-16T20:11:19.000+0000232876
test-ios7-keyboard.mp42014-09-18T15:51:06.000+00001501161
test-ios8-keyboard.mp42014-09-18T15:49:07.000+0000710212

Comments

  1. Fred Spencer 2014-09-18

    Problem is less prominent when Insights is built with latest SDK RC: 3.4.0.v20140917120000 and Xcode 6 GM Attaching video. This is running on iOS 8 sim. The keyboard moves as expected when fields are focused. However, the documented issue beings to occur after splitting the keyboard. Additional issues include: - Field remains in focus, although keyboard has been dismissed. - Tapping the focused field does not re-expose the keyboard. - Vertically centered text under app select right menu disappears. Recommend that this is also tested with Swype and/or other custom keyboards: https://itunes.apple.com/us/app/swype-keyboard/id916365675
  2. Fred Spencer 2014-09-18

    Different problem occurs in iOS 7 sim. Field requires two taps before keyboard is exposed. Attaching video.
  3. Ingo Muschenetz 2014-09-18

    [~fspencer], [~dhyde] is it possible to get the outstanding issues into a generic set of test cases I can move over into TIMOB?
  4. Fred Spencer 2014-09-18

    [~ingo] In progress.
  5. Fred Spencer 2014-09-18

    iOS 8 test vid and code attached. Landscape.
       var win      = Ti.UI.createWindow({ width:Ti.UI.FILL, height:Ti.UI.FILL, backgroundColor:'#000', orientationModes:[Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT] }),
       	btnBlur  = Ti.UI.createButton({ width:200, height:50, top:20, left:20, title:'Blur', backgroundColor:'#f9f9f9' }),
       	btnFocus = Ti.UI.createButton({ width:200, height:50, top:20, right:20, title:'Focus', backgroundColor:'#f9f9f9' }),
       	content  = Ti.UI.createView({ width:Ti.UI.FILL, height:310, backgroundColor:'#f00' }),
       	field    = Ti.UI.createTextField({ width:200, height:50, backgroundColor:'#fff' });
       	
       btnBlur.addEventListener('click', function() { field.blur(); });
       btnFocus.addEventListener('click', function() { field.focus(); });
       
       Ti.App.addEventListener('keyboardframechanged', function(e) {
       	if (Ti.App.keyboardVisible) {
               content.animate({
                   center: {
                       x: Ti.Platform.displayCaps.platformWidth / 2,
                       y: (Ti.Platform.displayCaps.platformHeight - e.keyboardFrame.height) / 2 
                   },
                   duration: 250
               });
           } else {
               content.animate({
                   center: {
                       x: Ti.Platform.displayCaps.platformWidth / 2,
                       y: Ti.Platform.displayCaps.platformHeight / 2 
                   },
                   duration: 250
               });
           }
       });
       	
       content.add(field);
       
       win.add(content);
       win.add(btnBlur);
       win.add(btnFocus);
       
       win.open();
       
  6. Fred Spencer 2014-09-18

    iOS 7 test vid.
  7. Neeraj Gupta 2014-09-18

    Moving this issue to TIMOB as a blocker issue.
  8. Vishal Duggal 2014-09-19

    I can not reproduce this with the latest 3_4_X Probably fixed along with TIMOB-17372 (iOS8 incorrect platform width/height in landscape mode)
  9. Ingo Muschenetz 2014-09-19

    [~vduggal] I don't see how that would have fixed it. [~fspencer] is using build 3.4.0.v20140917, and that issue was fixed around 9/11.
  10. Vishal Duggal 2014-09-19

    Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6132 3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6133
  11. Dustin Hyde 2014-09-23

    Verified Fixed as per new Insights behavior. iOS 8 iPad 4 Insights v2.0.09221401

JSON Source