Inserting Pictures message doesn't disappear when the powerpoint tab is not in active view/selected. #4221
Labels
Area: PowerPoint
Issue related to PowerPoint add-ins
Status: under investigation
Issue is being investigated
Provide required information needed to triage your issue
Your Environment
Expected behavior
We are adding pictures into the slide using setSelecetedDataAsync and whenever that happens Powerpoint shows an inserting picture toast message on the top indicating that the picture is being inserted. This toast should disappear when the image has been inserted successfully.
Current behavior
The current behaviour is that if we change tabs while the images are getting added to the slide , then when we come back to the powerpoint we see that the images have been successfully added to the slides but the toast messages don't disappear as they should after successful insertion of images. And sometimes neither does the image get added nor the inserting picture message disappears. This behaviour can only be observed when we change tabs or application/Browser while the insertion of images is still going on. It seems that the mechanism to dismiss the inserting pictures toast/ mechanism to add images(setSelectedDataAsync) is not working when the powerpoint is not in active focus.
Steps to reproduce
Context
When the user has multiple images of different charts(business specific images) pasted on different slides, we enable the user to refresh the image so that if the chart data has changed, the user is able to get the latest chart image.
While we are in the process of fetching the latest version of the chart, if the user switches to a different tab (such as Designer) within PPT or to a different application, then we end up seeing the message “Inserting picture” (see attached image ) indefinitely and the process of pasting the new image doesn’t complete.
Useful logs
Thank you for taking the time to report an issue. Our triage team will respond to you in less than 72 hours. Normally, response time is <10 hours Monday through Friday. We do not triage on weekends.
The text was updated successfully, but these errors were encountered: