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

Inserting Pictures message doesn't disappear when the powerpoint tab is not in active view/selected. #4221

Open
1 of 3 tasks
nikhilatsap opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
Area: PowerPoint Issue related to PowerPoint add-ins Status: under investigation Issue is being investigated

Comments

@nikhilatsap
Copy link

nikhilatsap commented Mar 6, 2024

Provide required information needed to triage your issue

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: Office on the web
  • Host [Excel, Word, PowerPoint, etc.]:Powerpoint
  • Office version number: Office 365
  • Operating System: windows or mad
  • Browser (if using Office on the web): Chrome

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

  1. Write a simple setSelectedDataAsync code block with coercion type image and insert some sample images to powerpoint preferably more than 3
  2. When you initiate this action of insertion, as soon as you initiate it, change the tab of the browser to go to some other tab or minimize the browser and open some other application such as outlook or teams etc.
  3. Come back to the browser and open your powerpoint tab, you will notice that the images have been inserted but the toast messages are still there on the top

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.
Screenshot 2024-03-06 135448

Useful logs

  • Console errors
  • Screenshots
  • Test file (if only happens on a particular file)

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.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Mar 6, 2024
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Mar 6, 2024
@exextoc exextoc self-assigned this Mar 6, 2024
@DivyaPatidar DivyaPatidar added Area: PowerPoint Issue related to PowerPoint add-ins and removed Area: Outlook Issue related to Outlook add-ins labels Mar 6, 2024
@DivyaPatidar DivyaPatidar added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Mar 6, 2024
@AkhileshShah-MS AkhileshShah-MS removed the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Mar 8, 2024
@AkhileshShah-MS
Copy link
Collaborator

Hi @nikhilatsap ! Thanks for reaching out to us.
Looping in @EsterBergen to help with the issue.
Thanks!

@EsterBergen EsterBergen added Status: under investigation Issue is being investigated and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: PowerPoint Issue related to PowerPoint add-ins Status: under investigation Issue is being investigated
Projects
None yet
Development

No branches or pull requests

5 participants