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

Cursor is below Embeded Signature whe using SetSignatureAsync in New outlook (in owa its work as expected) #5474

Closed
3 tasks
zeeveladzim opened this issue Mar 11, 2025 · 6 comments
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback Possible-Solution Similar-Issue

Comments

@zeeveladzim
Copy link

Provide required information needed to triage your issue

Your Environment

*Pc Desktop

  • new outlook
    Microsoft Outlook Version: 1.2025.219.400 (Production)
    Client Version: 20250228007.08
    WebView2 Version: 133.0.3065.92 (Stable)
    Session ID: 349d2f01-85ed-467e-8fe3-369e6be99bc5
  • Office version number: 365
  • Operating System: WIndows 10
  • Browser (if using Office on the web): ______

Expected behavior

Should be working the same as in web version:
Cursor need to be on first line of message after Embeding Signature when reply all/forward is used

Current behavior

Cursor is below Embeded Signature whe using SetSignatureAsync in New outlook in owa its work as expected

Steps to reproduce

this simple function is used to embed html content into signature this will work good on web version but on outlook (new) the cursosr is below the signature

Image

function saveBody(updatedContent, callback) {
Office.context.mailbox.item.body.setSignatureAsync(updatedContent, { coercionType: Office.CoercionType.Html }, function (asyncResult) {
if (asyncResult.status === Office.AsyncResultStatus.Succeeded) {
console.log("Signature updated successfully.");
} else {
console.error("Failed to update signature:", asyncResult.error.message);
}
// Always call the callback to complete the event
callback();
});

Link to live example(s)




Provide additional details




Context

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 11, 2025
@zeeveladzim zeeveladzim changed the title Cursor is below Embeded Signature whe using SetSignatureAsync in New outlook in owa its work as expected Cursor is below Embeded Signature whe using SetSignatureAsync (in New outlook in owa its work as expected) Mar 11, 2025
@zeeveladzim zeeveladzim changed the title Cursor is below Embeded Signature whe using SetSignatureAsync (in New outlook in owa its work as expected) Cursor is below Embeded Signature whe using SetSignatureAsync in New outlook (in owa its work as expected) Mar 11, 2025
Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.


Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

Solution 1:

Thanks for reporting this issue regarding Signature API. It has been put on our backlog. We unfortunately have no timelines to share at this point.

Reference:

Solution 2:

The rollout for this fix is now complete and the change is available in client version [20240520053] or greater.

Reference:

Powered by issue-sentinel

Copy link

Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.


Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)

We have fixed the bug, and the fix should be available in the next ~2 weeks. Closing the bug, please feel free to reactivate the thread if you have any comments.

Reference:

Powered by issue-sentinel

@exextoc exextoc added Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Mar 11, 2025
@exextoc exextoc self-assigned this Mar 11, 2025
@arpitsangwanmsft
Copy link

Hey @zeeveladzim!
We could not repro the mentioned issue in New Outlook. We've tried reproducing with following assuming that setSignatureAsync is being called with a onNewMessageCompose type of addin here but the cursor focus stays on first line. Its not a repro in owa/ New outlook for any of the new message compose / reply / replyAll / forward scenarios.

Can you please provide us with a recording of the repro scenario for clear steps along with a sample addin (if possible), where the issue can be reproduced?

@arpitsangwanmsft arpitsangwanmsft added Needs: author feedback Waiting for author (creator) of Issue to provide more info and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Mar 12, 2025
@zeeveladzim
Copy link
Author

Recording-20250312_121114.webm

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: author feedback Waiting for author (creator) of Issue to provide more info labels Mar 12, 2025
@zeeveladzim
Copy link
Author

I was able to solve this issue was related to cache ,but not outlook cache
there was a cache issue coming from webedge process
this was located here:
%AppData%\Local\Microsoft\Olk\EBWebView
this was only hapening on my device which was also the device I was developing on so might be related to some debug deployment that was cached

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback Possible-Solution Similar-Issue
Projects
None yet
Development

No branches or pull requests

3 participants