Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Bug with shake event after a blur event!?

I think there is a bug with the shake event.
This event is fired without any problem until i use the blur event on a textfield.
After that, even if i try to re register the shake event, it never fires.. :/

Any idea ?

— asked May 19th 2010 by BSoft Co
  • event
  • iphone
  • shake
1 Comment
  • I faced the same problem and found something weird about it: after I have pressed the return key and have not been able to shake anymore, I clicked somewhere else which gave me a redscreen error, and after that, shake event was alive again (holy miracle)!

    So I don't know if it helps someone to understand what is the ground problem.

    — commented June 15th 2010 by Brice Torriani

9 Answers

  • yes I think is a bug
    I post it about here

    http://developer.appcelerator.com/question/21431/gesture–properties-bug

    and even put a ticket on lighthouse

    https://appcelerator.lighthouseapp.com/projects/32238/tickets/851-textfield-focus-disables-gesture-and-orientation-events#ticket-851-1

    but until now I have no answer…

    — answered May 19th 2010 by Dan Tamas
    permalink
    0 Comments
  • Yes i also saw some questions about it.. it seems that the shake event is a little buggy in some cases..
    But it also seems there is no answer about it.. :/

    — answered May 19th 2010 by BSoft Co
    permalink
    0 Comments
  • In my case the input was only numeric and between a range so I replaced the input with a slider.
    Maybe it helps you somehow :)

    — answered May 19th 2010 by Dan Tamas
    permalink
    0 Comments
  • Thx, but i need a text input.. :/

    — answered May 19th 2010 by BSoft Co
    permalink
    0 Comments
  • Any word on this bug, it seems it only happens when you keyboard goes away, you can still shake and it works, but as soon as you hit return you can no longer shake… Super Annoying.

    — answered May 21st 2010 by John Hass
    permalink
    0 Comments
  • Well i tried to fired the blur event without using the return key, and it's the same thing. The shake event is no more detected after.. :/

    — answered May 22nd 2010 by BSoft Co
    permalink
    0 Comments
  • I faced the same problem and found something weird about it: after I have pressed the return key and have not been able to shake anymore, I clicked somewhere else which gave me a redscreen error, and after that, shake event was alive again (holy miracle)!

    So I don't know if it helps someone to understand what is the ground problem.

    — answered June 15th 2010 by Brice Torriani
    permalink
    0 Comments
  • Yes! Please someone on the dev team fix this.. completely annoying!

    — answered June 22nd 2010 by Ross Waycaster
    permalink
    0 Comments
  • This is fixed in SDK 1.4

    — answered June 28th 2010 by Richard Baughman
    permalink
    1 Comment
    • No, it's not… Testing on an app with the Facebook login and there's always the same problem.
      (SDK 1.4)

      — commented August 13th 2010 by Nicolas Arcay Bermejo
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.