Closed
Bug 640500
Opened 14 years ago
Closed 14 years ago
Long tap on a website from Awesomelist doesn't open the context menu
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: xti, Assigned: vingtetun)
Details
Attachments
(2 files, 2 obsolete files)
3.85 KB,
text/plain
|
Details | |
1.80 KB,
patch
|
mfinkle
:
review+
mbrubeck
:
review+
mfinkle
:
approval2.0+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b12) Gecko/20100101 Firefox/4.0b12
Build Identifier:
A website can not be opened in a new tab or shared because a long tap on it will not display the context menu.
Reproducible: Sometimes
Steps to Reproduce:
1. Open Fennec App
2. Do some browsing
3. Tap on URL Bar
4. Long tap on any browsed website
Actual Results:
The context menu is not shown. When the long tap is released over the website, it will open.
Expected Results:
Context menu appears and the user is able to choose to open it in a new tab or share that link.
The issue is reproducing 8 times from 10 on Sony Ericsson Xperia X10 - Android 2.1-update1
Build id : Mozilla/5.0 (Maemo;Linux armv7l;rv:2.0b13pre)Gecko/20110309
Firefox/4.0b13pre Fennec /4.0b6pre
Device: Sony Ericsson Xperia X10
OS: Android 2.1 update 1
Reporter | ||
Updated•14 years ago
|
OS: Other → Android
Hardware: Other → ARM
Reporter | ||
Comment 1•14 years ago
|
||
Reporter | ||
Comment 2•14 years ago
|
||
Please see the following video: http://www.youtube.com/watch?v=T2F74p1uS4s&feature=channel_video_title
Assignee | ||
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•14 years ago
|
||
The patch moves from contextmenu to TapLong since we used it pretty much anywhere in the file (sigh).
Assignee: nobody → 21
Attachment #518381 -
Flags: review?(mark.finkle)
Comment 4•14 years ago
|
||
Comment on attachment 518381 [details] [diff] [review]
Patch
Do we know why "contextmenu" is not good enough?
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #4)
> Comment on attachment 518381 [details] [diff] [review]
> Patch
>
> Do we know why "contextmenu" is not good enough?
Honestly no :/.
It looks like it is not fired sometimes.
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #5)
> (In reply to comment #4)
> > Comment on attachment 518381 [details] [diff] [review]
> > Patch
> >
> > Do we know why "contextmenu" is not good enough?
>
> Honestly no :/.
> It looks like it is not fired sometimes.
hmm, I do wonder if that a possible regression from http://hg.mozilla.org/mobile-browser/rev/be135f4d1a63 since ui.dragThresholdX/Y are used by http://mxr.mozilla.org/mozilla-central/source/content/events/src/nsEventStateManager.cpp#2010 to determine if it is a drag and in this case cancel the contextmenu event.
It defaults to 5 if nothing is set and with the big fat fingers we have...
Assignee | ||
Comment 7•14 years ago
|
||
Ok, this makes like much better.
Asking r? to Matt to check I'm not breaking something with this change.
Attachment #518381 -
Attachment is obsolete: true
Attachment #518381 -
Flags: review?(mark.finkle)
Attachment #518433 -
Flags: review?(mbrubeck)
Attachment #518433 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Attachment #518433 -
Flags: review?(mbrubeck) → review+
Updated•14 years ago
|
Attachment #518433 -
Flags: review?(mark.finkle) → review+
Comment 8•14 years ago
|
||
this patch looks like the patch on bug 640613 ?
Assignee | ||
Comment 9•14 years ago
|
||
(In reply to comment #8)
> this patch looks like the patch on bug 640613 ?
Obviously, I've discovered the problem on bug 640613 by trying to reproduce this bug! So both fixes lives in the same area of code...
If needed I could merge them but I guess bug 640613 is less important than this one so if it has bad effect we could ignore it for the release.
Assignee | ||
Comment 10•14 years ago
|
||
Sorry for the confusion, it was the wrong patch :(
Attachment #518433 -
Attachment is obsolete: true
Attachment #518726 -
Flags: review?(mark.finkle)
Comment 11•14 years ago
|
||
Comment on attachment 518726 [details] [diff] [review]
Patch - the right one!
Looks OK to me, but getting a second opinion
Attachment #518726 -
Flags: review?(mbrubeck)
Attachment #518726 -
Flags: review?(mark.finkle)
Attachment #518726 -
Flags: review+
Comment 12•14 years ago
|
||
Comment on attachment 518726 [details] [diff] [review]
Patch - the right one!
Good catch - sorry for the regression!
Attachment #518726 -
Flags: review?(mbrubeck) → review+
Updated•14 years ago
|
Attachment #518726 -
Flags: approval2.0+
Assignee | ||
Comment 13•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 14•14 years ago
|
||
VERIFIED FIXED on
Build ID: Mozilla /5.0 (Android;Linux armv7l;rv:2.0b13pre) Gecko/20110315 Firefox/4.0b13pre Fennec /4.0b6pre
Device: Sony Ericsson Xperia X10 (Android 2.1 update 1)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•