[TIMOB-8064] Android: events on V8 show them firing 3 times in logcat so tag should be added for clarity
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-14T19:52:15.000+0000 |
| Affected Version/s | Release 1.8.0.1 |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | tbs-2.1.0 |
| Reporter | Opie Cyrus |
| Assignee | Eric Merriman |
| Created | 2012-03-16T14:09:25.000+0000 |
| Updated | 2017-06-14T19:52:15.000+0000 |
Description
When triggering any event under V8, the event is shown being fired 3 times in the log:
03-16 16:47:07.786 32005 32012 V V8Object: [src/native/V8Object.cpp:74] firing event "change"
03-16 16:47:07.786 32005 32012 V V8Object: [src/native/V8Object.cpp:74] firing event "change"
03-16 16:47:07.786 32005 32012 V V8Object: [src/native/V8Object.cpp:74] firing event "change"
We should tag the logging so that the bubbling behavior is clear.
Test case:
var win = Titanium.UI.createWindow({
backgroundColor:'#fff'
});
var textField = Ti.UI.createTextField({
color: '#336699',
height: 50,
top: 100,
left: 100,
width: 100,
returnKeyType: Ti.UI.RETURNKEY_SEARCH
});
win.add(textField);
win.open();
When typing a single character in text field, event is fired 3 times in log.
Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.