Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha Premium Member
    Join Date
    Jun 2011
    Location
    NL
    Posts
    39
    Vote Rating
    11
    richardvd will become famous soon enough

      0  

    Default Ext.MessageBox displayed twice

    Ext.MessageBox displayed twice


    REQUIRED INFORMATION

    Ext version tested:
    • Sencha Touch 2.2.0
    Browser versions tested against:
    • Android 4.0.3 WebView and stock browser (HTC Sensation)
    Description:
    • Ext.MessageBox appears twice on Android 4.0.3 in a Sencha Cmd native packaged app / production build. The problem does not happen with the same apk installed on an Android 2.2.2 device (HTC Desire).
    Steps to reproduce the problem:
    • Package the code below using Sencha Cmd and run the .apk on an Android device. Or do a production build and run it using the stock browser.
    The result that was expected:
    • The messagebox appearing once.
    The result that occurs instead:
    • The messagebox appearing twice.
    Test Case:
    Code:
    Ext.application({
        name: 'messagebox',
    
        requires: [
            'Ext.MessageBox'
        ],
    
        launch: function() {
            Ext.Msg.confirm('Please Confirm', 'Are you sure you wish to logout?', function(btnId) {
                console.log(btnId);
            },this);
        },
    });
    Richard

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Does the launch method fire twice?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2011
    Location
    NL
    Posts
    39
    Vote Rating
    11
    richardvd will become famous soon enough

      0  

    Default


    No, launch() runs just once. Additional info:

    The same problem occurs with the MessageBox in the List example, if I package that unchanged and run the apk or production build on Android 4.0.3.

    The first MessageBox comes up as expected, I can press the buttons and read the value. Directly after the first MessageBox animates out, the same MessageBox animates in again and stays on screen, but now I cannot press the buttons. I can tap outside the second MessageBox to escape (if a container exists).

    What I noticed in Android 2.2.2:
    • Sencha Touch runs much faster and is more responsive
    • no problem with Ext.MessageBox
    • Ext.browser.getPreferredTranslationMethod() returns 'cssposition' (on Android 4.0.3: 'csstransform')
    I wonder if these three are related?
    To test this, how can I force Sencha Touch in Android 4.0.3 to render like it does on Android 2.2.2?
    Richard

Thread Participants: 1