Replies: 3 comments 3 replies
-
The reproduction code is for reproducing the problem simply, and is different from the situation in which the problem occurred. |
Beta Was this translation helpful? Give feedback.
-
@cat0363 Is it possible to move this over to an issue rather than a discussion? I can't tell you what the issue is and whether it is something we have control over but it certainly sounds like we can do something even if it is documenting the use around popups better. It does feel like this should be solvable though |
Beta Was this translation helpful? Give feedback.
-
Closed as moved to issue #1213 |
Beta Was this translation helpful? Give feedback.
-
I am using Popup to display the indicator. Indicators using Popup are displayed before the
start of processing and closed after the end of processing. The length of the processing varies,
some long, some short.
The Indicator using the Popup is displayed as follows.
The Indicator using the Popup is closed as follows.
pIndicator is an instance of Indicator class that inherits from Popup class and is a class variable.
Popups are managed by class variables, and only one Popup is displayed at a time.
I use it as follows.
If there is no problem, it will be displayed as follows.
If the following warning is displayed, it will be displayed as follows.
Warning: Attempt to dismiss from view controller <CommunityToolkit_Maui_Core_Views_MauiPopup: 0x16c8d4250> while a presentation or dismiss is in progress!
A Indicator using an Popup will appear in a position other than the center of the screen and will not close at all.
The above phenomenon rarely occurs.
Below is the code to reproduce the issue.
https://github.com/cat0363/MauiComm-IssuePopup.git
Run the above app on iOS and tap multiple buttons on the screen at the same time.
Originally, when you press the button, heavy processing is executed, and it takes a load on the terminal.
Since heavy processing cannot be reproduced here, press the button repeatedly.
As far as I can see from the warnings, it looks like the object was not destroyed immediately after
calling the Popup's Close method and is still there.
Am I using Popup wrong? Should I wait for the popup to be completely destroyed after it's closed?
Or is it a Popup bug? Please let me know if you have any good ideas to solve this problem. Thank you.
Additional Information:
I ran it in the following environment.
Beta Was this translation helpful? Give feedback.
All reactions