Closed Bug 1764199 Opened 4 years ago Closed 3 years ago

Quick find bar is triggered after typing apostrophe while composing a message on outlook.com

Categories

(Web Compatibility :: Site Reports, defect)

Firefox 99
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ksenia, Unassigned)

References

()

Details

(Keywords: webcompat:site-wait, Whiteboard: [webcompat:sightline])

Attachments

(4 files)

This has been originally reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1418033#c22 moving it into this bug:

In outlook for the web, when composing an email, attempting to type "you're" brings up quick search. But only if I've put three or more letters after Hi and before a comma on the first line. See GIF for demo.

I have:

Hi Ha,

Hope you

Typing an apostrophe here works.

But if I have:

Hi Har,

Hope you

and then type an apostrophe after the you, the quick search bar opens.

See GIF and screenshots of console and Quick Find in link below:
https://imgur.com/a/rkifEbA

This seems to be only happening when there is a suggestion text, for example when typing "Is it".
Using ' after Is i or Is it brings up the quick find.

The content of the message is composed within a contenteditable area and the triggering of the quick find is happening after the "suggestion" node is removed (adding apostrophe is triggering the deletion, because there is no valid suggestion for such combination of words). The quick find is not triggered, however, if I add a debugger in the deleteNode function, so this could be a timing issue. I'll try to come up with a reduced test case

There seems to be a focus loss on the contenteditable area (see attached screenshot with 3 blur events) and since the focus is lost, pressing apostrophe key is triggering the quick bar. I wasn't able to determine what is causing the blur event unfortunately, as on any attempt to use debugger the quick bar wasn't triggered.

Probably the best course of action would be to contact Outlook Web app developers, I'll send an email to our mailing list with Microsoft to see if anyone could look into this issue.

I came across https://github.com/webcompat/web-bugs/issues/98432 where a problem of a similar nature is observed - multiple keys are interpreted as hotkeys under certain conditions (for example, typing n is triggering a creation of new email and the current email is archived). Our team has contacted Microsoft regarding that issue and they mentioned that they're is looking into it.

There is also a discussion on the Microsoft community forum https://answers.microsoft.com/en-us/outlook_com/forum/outlk_webbus-outtop_email/working-with-outlook-web-interface-on-firefox/4212cac3-4be3-4295-b325-369ea3d46f2a?messageId=62c4a618-2015-4c83-a227-f995708cd479&page=6

Component: Find Toolbar → Desktop
Product: Toolkit → Web Compatibility

Well noticed on the fact that it was related to text predictions. I actually can't believe I didn't draw this link myself! Quite disappointed in myself really. I'm going to blame lack of sleep 😁

I looked at those links you posted and I can confirm that I've been experiencing the same issues with emails randomly being archived etc.

Hopefully Microsoft fix this issue soon.

See Also: → 1755342
Attached video outlook mail.mp4

I was not able to reproduce this issue on the latest Nightly. Ksenia, can you take a look and confirm, please?

Tested on:
Operating system: Windows 10
Firefox version: Nightly 110.0a1 (2023-01-11)

Flags: needinfo?(kberezina)

The text prediction is not triggered anymore when typing text from the original example and typing an apostrophe doesn't trigger the quick search.
I can't reproduce the issue when the text prediction is offered from this comment either https://bugzilla.mozilla.org/show_bug.cgi?id=1764199#c1.
Looks like Microsoft has changed the behaviour on their side.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(kberezina)
Resolution: --- → WORKSFORME
Whiteboard: [webcompat:sightline]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: