Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15715] Blackberry: Window click event not working

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-14T19:27:56.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsBlackBerry
Labels3.2.0, look1
ReporterPriya Agarwal
AssigneePedro Enrique
Created2013-11-14T05:41:39.000+0000
Updated2017-03-14T21:08:39.000+0000

Description

Window click event is not working. Controls on window with respective click event working fine. Example Button on window. Buttons click event is working. Code Used to test:
var win = Ti.UI.createWindow({
backgroundColor:"white"
});

win.addEventListener('click',function(e){
	Ti.API.info('am clicked');
	alert('window clicked');
});
win.open();
Steps to reproduce: 1. Copy Paste the code in app.js. Run the App. 2. Click on Window. Expected Result: 2.Alert and Console logs must be printed. Actual Result: 2.No Alert as well as Logs are printed.

Comments

  1. Pedro Enrique 2013-11-14

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/189
  2. Russell McMahon 2013-11-14

    Click on window has been enabled. To test add click event to window.
       
       var win = Ti.UI.createWindow({
          backgroundColor: 'yellow'
       });
       
       win.addEventListener('click', function(e) {
          Ti.API.info('click works');
       });
       
       win.open();
       
       
       
  3. Eric Merriman 2017-03-14

    Closing as resolved.

JSON Source