Closed Bug 895389 Opened 11 years ago Closed 11 years ago

Long-press email link in sms while in Edit mode should do nothing.

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: roy.collings, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36 Steps to reproduce: (In build: unagi-ICS.eng.v1-train.Rel0.4.Sprint12.B-157.Gecko-2d17cfb.Gaia-773a197) 1. Open a message thread that contains messages with email addresses in them. 2. Click the 'Edit thread' button. 3. Use marionette to get the ("tag name", "a") element from a message with an email address in it. 4. Use marionette actions to 'long_press(el,2)' that element. Actual results: The "create new contact / add to existing contact" menu appears. Expected results: Nothing (confirmed with a manual 'long_press'). When the thread is in edit mode, tapping and long pressing links in messages should do nothing.
This appears to be because when you're in edit mode, there's the edit overlay that lies on top of the messages. When the overlay appears, it doesn't mark the elements under the overlay as disabled and the elements are still visible, so marionette will let you interact with them. If you direct a tap to the overlay (instead of the element), then you won't see the add contact menu show up because the overlay consumes those events and doesn't let them propagate below. I don't feel that this is a bug in marionette because there is no way for it to know that the elements are not supposed to be interacted with. It can't tell if there is some overlay that will prevent it from receiving events, so I will mark this as wontfix.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.