Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1567] Swipe event only works in portrait mode on iPad

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:31.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsdefect, ios, ipad
ReporterKevin Whinnery
AssigneeReggie Seagraves
Created2011-04-15T02:56:13.000+0000
Updated2011-04-17T01:56:31.000+0000

Description

Just discovered swipe event does not work on any orientations other than portrait/right side up on iPad. The event is not fired at all when in landscape mode, and incorrectly reports the direction when upside down. I pulled the events example from the Kitchen Sink out into an independent app.js to illustrate:

http://gist.github.com/527209">http://gist.github.com/527209

Comments

  1. Thomas Huelbert 2011-04-15

    Valid, has testcase. When in landscape, swiping vertically will erroneously generate left or right, swiping left/right in landscape fails silently.

  2. Thomas Huelbert 2011-04-15

    oops, set to open

  3. Jeff Haynie 2011-04-15

    (from [24dc5ff49fd3f2fd0fe05d294ddaf1f1990ebc73]) [#1567 state:fixed-in-qa]: Swipes are now calculated based on position in the root view. http://github.com/appcelerator/titanium_mobile/commit/24dc5ff49fd3f2fd0fe05d294ddaf1f1990ebc73"> http://github.com/appcelerator/titanium_mobile/commit/24dc5ff49fd3f...

  4. Thomas Huelbert 2011-04-15

    confirmed against 1.4.1.82947a

  5. Nikolai Derzhak 2011-04-15

    rollback wrong update

JSON Source