Closed Bug 1359795 Opened 7 years ago Closed 2 years ago

Outlook Web Access move to folder search bar only allows one letter each time

Categories

(Core :: DOM: Events, defect, P1)

52 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jaime.bosque, Unassigned)

References

()

Details

(Whiteboard: [needsdiagnosis][platform-rel-Microsoft][platform-rel-Outlook] )

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170417065206

Steps to reproduce:

When using Outlook Web Access interface the tool to categorize an email by using either the shortcut key (v) or click in the "Move to"  the search bar only allows typing one letter making it difficult to search for the actual folder if not listed from the suggestions show.
 


Actual results:

Everytime a letter is input, the focus on the search bar is lost, and it is required to click again on the search bar to introduce the second letter and so on.
Ej:
-> Click on Move To
-> Typed 'a'
-> Focus lost
-> Clik on Move To search bar
-> Typed 'b' (to create 'ab')



Expected results:

Search box should not lost the focus allowing the user to input several letters in order to categorize the email.
Component: Untriaged → Desktop
Product: Firefox → Tech Evangelism
Version: 52 Branch → Firefox 52
This still reproduces.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1
Whiteboard: [needsdiagnosis][platform-rel-Microsoft][platform-rel-Outlook]
Attached image owa.gif
In this gif, I'm trying to type "ab" to match a folder, but I lose focus after typing "a".

Note that typing "wwwww" succeeds, presumably because there's no fuzzy/meaningful match?
Tom, can you take a look please?
Flags: needinfo?(twisniewski)
Attached file test.html
This is happening because the text input is losing its focus whenever the app decides to highlight one of the autocomplete entries under the input, either as-you-type, or when you mouseover over the entries, in the script https://r4.res.office365.com/owa/prem/16.2433.7.2583767/scripts/boot.owaframe.0.mouse.init.js

Ultimately this function is called in both cases, which highlights the desired autocomplete entry in blue by focusing its button element:

>  R: function () {
>    if (this.z.getAttribute('disabled')) return !1;
>    if (!this.bp())
>      try {
>        this.z.focus();
>        return !0
>      } catch (n) {
>        return !1
>      }
>    return !1
>  },

This causes the input to blur, at which point this function should re-focus it:

>  l: function () {
>    this.k || this.bs(this.b.length);
>    this.z.focus()
>  },

However, this does not work in Firefox. A focus event is not fired for the text input, just for the button. In Chrome however, the reverse happens: no event is fired on the button, just one on the text input.

I've attached a minimal (automated) test-case which shows this difference in behavior.
Flags: needinfo?(twisniewski)
Andrew, do you know who would be able to best comment on focus/blur/input stuff?
Flags: needinfo?(overholt)
I tried a quick search in bugzilla and it looks like there are a number of previously-filed bugs about similar (or the same?) issues. Olli can probably provide some guidance on duping or knowing if there's spec divergence here.
Flags: needinfo?(overholt) → needinfo?(bugs)
Product: Tech Evangelism → Web Compatibility

See bug 1547409. Moving webcompat whiteboard tags to keywords.

moving elsewhere as the diagnosis was done.

Component: Desktop → DOM: Events
Product: Web Compatibility → Core
Version: Firefox 52 → 52 Branch

This was a website issue.

Flags: needinfo?(bugs)
Flags: needinfo?(htsai)

This isn't reproducible to me with nightly 96.
Karl, can you confirm? If this is no longer an issue on the OWA, I suggest we lower the priority.

Flags: needinfo?(htsai) → needinfo?(kdubost)

This is indeed working for me too.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(kdubost)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: