Closed Bug 1294734 Opened 8 years ago Closed 8 years ago

[e10s] [touchscreen] Cannot open message in Outlook Web App (outlook.com / hotmail.com)

Categories

(Web Compatibility :: Site Reports, defect, P1)

Firefox 48
defect

Tracking

(e10s+, platform-rel ?)

RESOLVED FIXED
Tracking Status
e10s + ---
platform-rel --- ?

People

(Reporter: botond, Unassigned)

References

Details

(Keywords: correctness, regression, Whiteboard: [platform-rel-Microsoft][platform-rel-Outlook][needscontact])

STR
  1. Run Firefox 49 or newer on Linux.
  2. Log into an Outlook Mail account
  3. Click on any message in your Inbox or another folder

ER:
  The message opens.

AR:
  Nothing happens.

I have another Linux machine which doesn't suffer from this problem. The one that does is a touchscreen - perhaps that's relevant? However, emails cannot be opened by touch-tapping, either.

This works fine on Firefox 48, but is broken in 49 and newer.

Marking as P1 because this makes a very widely used website unusable on affected setups.
I should note that Outlook recently underwent a UI refresh. Only the new UI is affected (but there isn't a way to switch back to the old UI that I know of).
(In reply to Botond Ballo [:botond] from comment #0)
> This works fine on Firefox 48, but is broken in 49 and newer.

Upon further testing, it seems to be the combination of GTK3 and e10s that causes the problem. That is, a GTK2 build works fine, even with e10s enabled, and in non-e10s mode, a GTK3 build works fine.

The problem seems to be independent of APZ; that is, on a GTK3 build with e10s enabled, the problem manifests even if APZ is disabled.

(The reason I was seeing it work on Firefox 48 but not on Firefox 49 was that my 49 install had GTK3+e10s while my 48 install had GTK2.)
Summary: Cannot open message in Outlook Web App (outlook.com / hotmail.com) → [e10s] [GTK3] Cannot open message in Outlook Web App (outlook.com / hotmail.com)
Marking all versions >= 48 as affected, as all these versions can potentially run with GTK3 + e10s.
(In reply to Botond Ballo [:botond] from comment #0)
> I have another Linux machine which doesn't suffer from this problem. The one
> that does is a touchscreen - perhaps that's relevant?

Yes, it is. Both machines are running GTK3 + e10s, but the problem only manifests on the touchscreen one. Setting dom.w3c_touch_events.enabled to 0 makes the problem go away.
Does perhaps Chrome with touch events enabled have the issue too?
(And since GTK3 is a prerequisite for touch event support, the necessary conditions are probably just e10s + touch event support.)
(In reply to Olli Pettay [:smaug] from comment #5)
> Does perhaps Chrome with touch events enabled have the issue too?

Works fine in Chromium 51. Messages can be opened with either mouse or touch events. Verified that |"ontouchstart" in window.document| returns true.
I had a look at the event listeners present on the divs for the messages in the folder view. They include "click" and "mousedown" (but no "touchstart") on my non-touchscreen, and "click" and "touchstart" (but no "mousedown") on my touchscreen.

The opening of the message doesn't seem to be handled not by the "click" listener, but by the "mousedown" listener. (I verified this by testing the page in Chromium, which has the ability to delete event listeners. After deleting the "click" listener, I could continue to open messages just fine, but after deleting the "mousedown" listener, I no longer could.)

That explains why opening a message doesn't work on my touchscreen - the listener that does it ("mousedown") isn't present.

Interestingly, in Chromium, there is a "mousedown" but no "touchstart" present even on my touchscreen. (I'm not 100% sure how opening a message via touch-tapping works in that setup. Does the touch-tap generate a mousedown/mouseup pair as well?)

In any case, these observations suggest that the issue is on Outlook's side - it should be registering a "mousedown" listener even if touch support is present. Moving to Tech Evangelism.
Component: Event Handling → Desktop
Product: Core → Tech Evangelism
Version: 49 Branch → Firefox 48
Summary: [e10s] [GTK3] Cannot open message in Outlook Web App (outlook.com / hotmail.com) → [e10s] [touchscreen] Cannot open message in Outlook Web App (outlook.com / hotmail.com)
platform-rel: --- → ?
Whiteboard: [platform-rel-Microsoft][platform-rel-Outlook]
I realized today that this problem is not specific to Linux - Windows touchscreens are affected as well.
OS: Linux → All
Hardware: x86_64 → All
If I understand correctly, this is not an issue with Firefox itself.
tracking-e10s: --- → +
Confirmed on W10, non-touchscreen.
Whiteboard: [platform-rel-Microsoft][platform-rel-Outlook] → [platform-rel-Microsoft][platform-rel-Outlook][needscontact]
See Also: → 1301175
I just re-tested this today, on both Windows and Linux.

Even in configurations where touch events are enabled (as indicated by |"ontouchstart" in window.document|), the "touchstart" handler is no longer present, the "mousedown" handler always is, and messages can be opened by clicking (as well as touch-tapping; I guess that does end up generating a "mousedown").

So, it looks like Outlook have fixed this issue on their side!

If anyone else is still seeing this, please say so.
Another user who was seeing this (over in bug 1301175) confirmed that they stopped seeing it as well. I'm going to mark this as FIXED.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
That's great, thanks to the Outlook team for a fix and thanks for re-testing Botond.
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.