Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3685] Android: Facebook - d-pad fires off 2X events for certain test cases

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-11-05T15:34:22.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 1.7.0, Sprint 2011-20, Release 1.8.0
ComponentsAndroid
Labelsregression
ReporterThomas Huelbert
AssigneeBill Dawson
Created2011-04-26T08:20:39.000+0000
Updated2011-11-05T15:34:22.000+0000

Description

1.droid1 or N1 2.Base UI > window standalone 3.use dpad to launch a window 4.use touch to close (note it does not close), tap a second time results: 2 windows were spawned. also 1.Base UI > Window properties 2.use the d pad to give focus to and select "layout dimension properties button" results: objects appear then dissapear quickly expecetd: as when using touch, one tap to spwan, one tap to dismiss

Comments

  1. Don Thorp 2011-05-10

    I wonder if this is related to touch fixes.
  2. Bill Dawson 2011-05-17

    Simple failcase app.js shows that using the D-Pad button increases the click count by 2:
       Titanium.UI.setBackgroundColor('#000');
       var win = Titanium.UI.createWindow({  
           title:'Test',
           backgroundColor:'#000',
       	exitOnClose: true
       });
       var console = Ti.UI.createLabel({
       	backgroundColor: 'blue',
       	color: 'red',
       	left: 10, right: 10, bottom: 20, height: 'auto'
       });
       win.add(console);
       
       var clickCount = 0;
       var b = Ti.UI.createButton({
       	title: 'Click moi'
       });
       b.addEventListener('click', function(){
       	clickCount++;
       	console.text = clickCount + ' clicks';
       });
       win.add(b);
       
       win.open();
       
  3. Bill Dawson 2011-05-17

    Also fixes TIMOB-4083. Fix put to master and 1_7_X
  4. Eric Merriman 2011-05-18

    Verified fixed in kitchenSink and with test app on Droid 1 (2.2.1), Titanium Studio, build: 1.0.0.201105131803, Titanium SDK version: 1.7.X (r187fe3fd)
  5. Don Thorp 2011-11-05

    Standardizing summary and labels.

JSON Source