Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS closes multiple open dialogs when one is closed #3218

Open
2 of 8 tasks
SusanRatiLane opened this issue Aug 6, 2024 · 6 comments
Open
2 of 8 tasks

iOS closes multiple open dialogs when one is closed #3218

SusanRatiLane opened this issue Aug 6, 2024 · 6 comments

Comments

@SusanRatiLane
Copy link
Contributor

Describe the bug

From the forum: Ferran_SIMON has posted an example app that opens a progress dialog and a choose dialog at the same time. They appear on top of each other in both Android and iOS, with whichever dialog was created last on top.

In Android, if you dismiss one dialog, you see the second one underneath. In iOS, if you dismiss one dialog, they both go away.

Affects

  • Designer
  • Blocks editor
  • Projects Explorer
  • Companion (iOS)
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

iOS and Android should behave as Android does now.

Also discussed in this issue: #3213

@ewpatton
Copy link
Member

@ghu999 This might be a good starter issue for you to work on for iOS.

@ghu999
Copy link

ghu999 commented Nov 1, 2024

I tried running the Android Emulator on the AppInventor for this project but it says "The aiStarter helper does not appear to be running". I can't really debug this issue until I see what the difference is between the Android and iOS version is for the bug, so how do I get the Android Emulator to start working?

@ewpatton
Copy link
Member

ewpatton commented Nov 1, 2024

If you're on an Apple Silicon Mac, install this new emulator package for arm64: https://www.dropbox.com/scl/fi/bf795thgp7rtsydzujv6k/MIT-App-Inventor-Support-Tools.pkg?rlkey=0vtt13uivv8n2msjt53ntg39t&st=4n3of9k2&dl=0

@ghu999
Copy link

ghu999 commented Nov 1, 2024

my computer can't verify it and i get the "Apple could not verify “MIT App Inventor Support Tools.pkg” is free of malware that may harm your Mac or compromise your privacy." error... is the link wrong or is there something wrong with my computer (i am apple m2, so apple silicon)

@ewpatton
Copy link
Member

ewpatton commented Nov 1, 2024

@ghu999 This is a beta build so it's not signed. You'll have to go into the settings app to tell it that you still want to launch it.

@ghu999
Copy link

ghu999 commented Nov 5, 2024

Hi Evan, I wanted to give you an update. Right now, the Android app shows a dismiss dialog (which clears after 3 seconds), and then an optiondialog with 2 buttons and a cancel. any press of a button clears the dialog. in the original ios bug, the dismiss dialog wouldn't even show up. basically the ios code never took in account for multiple dialogs so i've added a dialog array which keeps track of the alerts in an array. after adding this, the dismiss dialog shows up and correctly dismisses after 3 seconds, but now the second dialog (2 buttons + cancel) is unresponsive. so i've basically semi-fixed the issue. i will probably come in tomorrow morning to work on this issue in case any of you guys are here. just wanted to give you an update and have a good night

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants