Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16950

Blackberry : Titanium.UI.AlertDialog.hide() prevents any use of other dialog

    Details

      Description

      Problem Description

      if i hide one Titanium.UI.AlertDialog with .hide(), other dialogs after this will not show up too!
      Example:

      If a AlertDialog is hidden by .hide(), the Dialog can not be shown again using .show().
      Happens on Blackberry Simulator an on device.

      Steps to reproduce

      1. Create a new mobile project with bb support
      2. Add this to app.js:

      var win = Ti.UI.createWindow(
      var other = Ti.UI.createAlertDialog(
       
      { message: 'Message', buttonNames: ['OK'] }
      ); 
      var a = Ti.UI.createAlertDialog(
       
      { message: 'Message', buttonNames: [] }
      ); 
      a.show(); 
      a.hide(); 
      other.show();
      

      3. Run this in the emulator.

      Expected results

      The app showing the "other" alert dialog.

      Actual results

      The app doesn't show any dialog after using the .hide function in at least one dialog

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                Reporter:
                thodev Thorsten Meyer
                Reviewer:
                Pedro Enrique (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-18699
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code