Coder Social home page Coder Social logo

Comments (15)

lindalu-MSFT avatar lindalu-MSFT commented on August 10, 2024

@scemis Hi, and thanks for reporting this! I'm the PM who has been assigned to track down old issues and see if they still need to be assigned. Can you confirm that this still happens when you run presentation slide show? And also, if so, please report the repro steps. Thanks for your help!

from office-js.

scemis avatar scemis commented on August 10, 2024

Thanks for your final reply.
I just test my add-in with latest office.js
https://appsforoffice.microsoft.com/lib/1/hosted/office.js

And I found no changes regarding my problem.
So still no difference between modes (always edit)

Below you can find a code example:

Office.context.document.getActiveViewAsync(function (asyncResult) {
console.log('ActiveView mode: ' + asyncResult.value);
});

// result: ActiveView mode: edit

Please, let me know if you have any questions.

from office-js.

ElizabethSamuel-MSFT avatar ElizabethSamuel-MSFT commented on August 10, 2024

@JuaneloJuanelo Can you help get this directed appropriately? Thanks.

from office-js.

scemis avatar scemis commented on August 10, 2024

@JuaneloJuanelo Do we have any progress here? Please let me know if I can help anyhow. Thanks.

from office-js.

gordonmleigh avatar gordonmleigh commented on August 10, 2024

I have the same issue. The reproduction is simple; getActiveViewAsync always returns edit and the handler for Office.EventType.ActiveViewChanged doesn't fire when you start presenting.

from office-js.

gordonmleigh avatar gordonmleigh commented on August 10, 2024

@JuaneloJuanelo @ElizabethSamuel-MSFT @lindalu-MSFT is anyone looking at this?

from office-js.

lindalu-MSFT avatar lindalu-MSFT commented on August 10, 2024

@mscaitlina Can you help us assign this to the correct person?

from office-js.

lindalu-MSFT avatar lindalu-MSFT commented on August 10, 2024

Note: This is a browser issue. Works as expected in desktop. Is this is the backlog?

from office-js.

donlvMSFT avatar donlvMSFT commented on August 10, 2024

@scemis , thanks for reporting the issue. I did some quick repro but the API works well with my test content add-in (In below).
So I would like to get more clear about your scenario during following questions.

  1. Do you use Content Add-in or Taskpane Add-in?
  2. If it's Content Add-in, could you share your add-in for us to repro?
  3. If it's Taskpane Add-in, could you share with us the add-in and how you trigger the API during presenting mode?

Thanks for your information, that will be very helpful.

Here is the add-in manifest file I use, inner Find Mode button the code is

Office.context.document.getActiveViewAsync(function (asyncResult) {
    console.log('ActiveView mode: ' + asyncResult.value);
});

from office-js.

jipinshi avatar jipinshi commented on August 10, 2024

@scemis , can you specify which kind of addin do you use here? Content addin or taskpane addin? Can you share the manifest you used? I tried with scriptlab which is a taskpane addin which cannot be executed when in slide show mode.

from office-js.

scemis avatar scemis commented on August 10, 2024

from office-js.

lumine2008 avatar lumine2008 commented on August 10, 2024

A bug (5021004) is created to track this issue.

from office-js.

CaptainTammy avatar CaptainTammy commented on August 10, 2024

@gingerjia @ElizabethSamuel-MSFT @lindalu-MSFT
Is there any progress expected on this in the near future? We have the same problem for our TaskPane-App that we would need to know when we are in edit or read (edit or presenting) mode. We are also stuck for getting our app submitted as we can not proceed without the web version working. We have also posted an issue about this #2756

Example: here

from office-js.

ElizabethSamuel-MSFT avatar ElizabethSamuel-MSFT commented on August 10, 2024

@jipinshi Any update on this? Thanks.

from office-js.

gingerjia avatar gingerjia commented on August 10, 2024

Hi @ElizabethSamuel-MSFT seems @jipyua addressed the issue in thread #2756. Thanks!

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.