ICEmobile
  1. ICEmobile
  2. MOBI-526

Flipswitch double click on Transformer Prime tablet

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Beta
    • Fix Version/s: 1.2 Beta
    • Component/s: Containers
    • Labels:
      None
    • Environment:
      ICEmobile Flipswitch demo on Asus Transformer Prime tablet

      Description


      In the flipswitch demo, I'm seeing two click events. The net effect is to submit two POST requests
      which negates any switch state change.

      -Only occurs with the flipswitch component. I don't see twin clicks on buttons or other components.
      -Only occurs on Asus tablet. Other devices don't see the problem.
      -Attempting to reconstruct the flipswitch markup doesn't seem to help. Moving the input element outside the anchor tag doesn't. Altering the position of the spans just breaks the Styling.


        Activity

        Migration created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32170 Thu Nov 15 12:31:48 MST 2012 greg.dick MOBI-526 Added detection of transformer prime tablet and passing flag to JS level
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/FlipSwitchTag.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32171 Thu Nov 15 12:32:42 MST 2012 greg.dick MOBI-526 Suppress second click if necessary in Transformer prime tablets
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/javascript/icemobile.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32172 Thu Nov 15 12:33:31 MST 2012 greg.dick MOBI-526 Detect Transformer prime tablet and pass flag to JS level
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/flipswitch/FlipSwitchRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32173 Thu Nov 15 12:34:03 MST 2012 greg.dick MOBI-526 Suppress double click if necessary
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.flipswitch/flipswitch.js
        Hide
        Greg Dick added a comment - - edited

        I've checked in a fix that passes a flag from the renderer indicating a Transformer Prime has been detected, and then some changes in the javascript that ignores a second click event.
        This change is necessary despite the change to a fully hardware accellerated Application.
        Also attempts to quell a bubbling event by cancelling bubbling and stopping propagation didn't work.

        Show
        Greg Dick added a comment - - edited I've checked in a fix that passes a flag from the renderer indicating a Transformer Prime has been detected, and then some changes in the javascript that ignores a second click event. This change is necessary despite the change to a fully hardware accellerated Application. Also attempts to quell a bubbling event by cancelling bubbling and stopping propagation didn't work.
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Greg Dick [ greg.dick ]
        Migration made changes -
        Assignee Steve Maryka [ steve.maryka ] Greg Dick [ greg.dick ]
        Migration made changes -
        Fix Version/s 1.2 Beta [ 10344 ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32603 Tue Dec 04 10:46:41 MST 2012 greg.dick MOBI-526 Added method for detecting Asus Transformer Prime
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/util/Utils.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32604 Tue Dec 04 10:47:37 MST 2012 greg.dick MOBI-526 Added code to suppress double click error on Accordion
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/javascript/icemobile.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32605 Tue Dec 04 10:48:15 MST 2012 greg.dick MOBI-526 Added code to suppress double click error in Accordion also
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.accordion/accordion.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32606 Tue Dec 04 10:49:21 MST 2012 greg.dick MOBI-526 pass flag for Transformer double click suppression to JS layer
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/ContentPaneCoreRenderer.java

          People

          • Assignee:
            Greg Dick
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: