Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15874] iOS 7: Blinking title image in titleControl when assigning button to leftNavButton or rightNavButton

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2017-04-10T17:58:38.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios, leftNavButton, navbar, rightNavButton
ReporterWatcharaphong Rattanasree
AssigneeEric Merriman
Created2013-11-20T04:37:54.000+0000
Updated2017-07-26T03:37:27.000+0000

Description

Our development team informed that there was a blinking title image in titleControl when putting a Ti.UI.Button to window's leftNavButton property, as you can see in attached video files. We need to know what the problem is, and how to solve this. Video1 - ios7_button.mp4 Putting Ti.UI.Button to leftBavButton property, testing in iOS7 Video2 - ios7.mp4 Nothing put to leftBavButton property, testing in iOS7 Video3 - ios6_button.mp4 Putting Ti.UI.Button to leftBavButton property, testing in iOS6 Video4 - ios6.mp4 Nothing put to leftBavButton property, testing in iOS6 Thank you

Attachments

FileDateSize
ios10-native.mov2017-04-10T17:57:19.000+000080259
ios6_button.mp42013-11-20T04:37:54.000+0000127572
ios6.mp42013-11-20T04:37:54.000+0000142182
ios7_button.mp42013-11-20T04:37:54.000+0000171646
ios7.mp42013-11-20T04:37:54.000+0000162525

Comments

  1. Mauro Parra-Miranda 2013-11-21

    Hello! Do you mind to provide a test case? So we can move this bug to Platform faster. TIA! Best, Mauro
  2. Watcharaphong Rattanasree 2013-11-21

    Would you mind to provide me for an informations about the "Test case" , is it going to be a public case, or do I need to submit a whole source code to testing? Best, Watcharaphong R.
  3. Shak Hossain 2013-11-22

    Hi, You can provide some code sample that we can drop into an app.js file. It would be nice to have the steps as well. Regards,
  4. Mostafizur Rahman 2013-11-23

    Hello, I have tested this issue with the following sample code. I can reproduce this issue only on IOS simulator 7.0

    Testing environment:

    OS: MAC OS X 10.8.5 Ti SDK: 3.1.3 GA Ti CLI: 3.2.0 IOS simulator 6.0 and 7.0

    Test code

       var rightButton = Ti.UI.createImageView({
       	image : 'images/apple.png',
       	width : 40,
       	height : 40,
       });
       var win2 = Titanium.UI.createWindow({
       	backgroundColor : 'red',
       	title : 'Red Window',
       	rightNavButton : rightButton
       });
       
       var win1 = Titanium.UI.iOS.createNavigationWindow({
       	window : win2
       });
       
       var leftButton = Ti.UI.createImageView({
       	image : 'images/apple.png',
       	width : 40,
       	height : 40,
       });
       
       var win3 = Titanium.UI.createWindow({
       	backgroundColor : 'blue',
       	title : 'Blue Window',
       	//backButtonTitleImage : 'images/apple.png',
       	rightNavButton : leftButton
       });
       
       var button = Titanium.UI.createButton({
       	title : 'Open Blue Window'
       });
       button.addEventListener('click', function() {
       	win1.openWindow(win3, {
       		animated : true
       	});
       });
       
       win2.add(button);
       var button2 = Titanium.UI.createButton({
       	title : 'Close Blue Window',
       	bottom : 0,
       });
       button2.addEventListener('click', function() {
       	win1.closeWindow(win3, {
       		animated : false
       	});
       });
       
       win3.add(button2);
       
       win1.open();
       

    Step to Reproduces

    1. Create a new project 2. Paste test code in app.js 3. Run on sim 7.0 4. Click on 'Open Blue Window’ button and look at right Navigation button 5. Its blinking Thanks
  5. TM 2013-12-19

    I am experiencing the same behaviour. I hope this can be a quick-fix, as I'm receiving (small amounts of) feedback that the app looks buggy because of this blinking?
  6. Shameer Jan 2014-08-20

    Issue reproduces on both SDK version 3.1.3 and 3.4.0 (Unreleased) Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.4.0.GA Titanium SDK version 3.1.3 GA iOS SDK: 7.1 iOS iPhone: 7.1
  7. Hans Knöchel 2017-04-10

    This is the native iOS7+ flat-design behavior that was probably irritating during the switch from iOS 6 to iOS 7. See the attached clip "ios10-native.mov" for a native example that behaves the same.

JSON Source