Titanium JIRA Archive
Appcelerator Community (AC)

[AC-201] Ti.UI.View.bubbleParent - not handled with applyProperties

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2015-11-05T08:56:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterManojkumar Murugesan
AssigneeShak Hossain
Created2015-07-07T16:43:49.000+0000
Updated2015-11-05T15:53:18.000+0000

Description

Ti.UI.View.bubbleParent - http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Proxy-property-bubbleParent is not handled with *applyProperties* method. +Testcase+
var win = Ti.UI.createWindow({
  backgroundColor: "#fff"
});
win.addEventListener("open", function(e){
     console.log(button.bubbleParent);
     button.applyProperties({
       title: "Bubble disabled",
       bubbleParent: false
    });
     console.log(button.bubbleParent);
});
var button = Ti.UI.createButton({
  title: "Bubble Parent"
});
win.add(button);
win.open();
+Result+ *iOS* - Works as expected, first statement prints true and second prints false. *Android* - Doesn't work, both statement prints true. Setting false on creation only works.

Comments

  1. Amimul Hossain 2015-09-14

    Hello, I have tested this issue in latest SDK 4.1.0.GA and 4.1.1.GA with Android 5.1.0. The issue is fixed. iOS - Works as expected, first statement prints true and second prints false. Android -Works as expected, first statement prints true and second prints false. Please update your Titanium SDK. Thanks.
  2. Manojkumar Murugesan 2015-09-15

    Works as expected, we can mark this as resolved.
       var win = Ti.UI.createWindow({
       	backgroundColor : "#fff"
       });
       win.addEventListener("click", function didClick(e) {
       	console.log(button.bubbleParent);
       	button.bubbleParent = false;
       	console.log(button.bubbleParent);
       });
       var button = Ti.UI.createButton({
       	title : "Bubble Parent"
       });
       win.add(button);
       win.open();
       
  3. Manojkumar Murugesan 2015-10-29

    It works with getter or setter methods / properties but not when we use *applyProperties*
  4. Manojkumar Murugesan 2015-11-05

    [~mrahman]: The issue is not fixed, please re-open. setBubbleParent / getBubbleParent only works on Android. *applyProperties* is still failing.

JSON Source