Closed Bug 763036 Opened 11 years ago Closed 11 years ago

Long taps broken on Top Sites tab


(Firefox for Android Graveyard :: General, defect)

Not set


(firefox15+ fixed, firefox16 verified, firefox17 verified)

Tracking Status
firefox15 + fixed
firefox16 --- verified
firefox17 --- verified


(Reporter: wesj, Assigned: wesj)



(Keywords: regression)


(1 file)

Search suggestions changed something so that now we return an AwesomeBarItem rather than a Cursor when we call getItemFromPosition(). I'm filing this to track, but with the refactoring in bug 759041 this will be cleaner to fix, so I'm planning to just fix it there.
When I long tap on an entry from Top Sites I get errors like this (one error for each long tap):

E/GeckoAwesomeBar( 9831): item at 0 is not a Cursor
E/GeckoAwesomeBar( 9831): item at 1 is not a Cursor
E/GeckoAwesomeBar( 9831): item at 2 is not a Cursor
E/GeckoAwesomeBar( 9831): item at 3 is not a Cursor

Firefox 16.0a1 (2012-06-19)
Device: Galaxy Nexus
OS: Android 4.0.2
Summary: Long taps broken on All Pages tab → Long taps broken on Top Sites tab
The respective patches of bug 759041 were already landed some time ago, even though that bug itself is not fixed yet. Therefore this works now.
Closed: 11 years ago
Resolution: --- → WORKSFORME
This is still an issue on Firefox Mobile 15.0b2 build 1 on HTC Desire running Android 2.2
Right, the patches landed on m-c when it was 16 and were not uplifted to 15. 
Wes, is it possible to uplift those patches to Beta?
If we do that though, we probably also want to fix bug 777649 for Beta.
tracking-fennec: --- → ?
Resolution: WORKSFORME → ---
Blocks: 777649
The fix in 16 isn't something I want to push forward. I'll put together a separate patch for 15 if we want it?
I think this is definitely something we need to fix for 15, since it's a regression.
Keywords: regression
Attached patch Patch for betaSplinter Review
Since this will go straight to beta with no testing on central, thought more eyes would be better. This is pretty similar to what's on central though, without the refactor. Tested locally tapping on different entries in all three panes with and without search suggestions.

I'll ask for approval once the reviews are done.
Assignee: nobody → wjohnston
Attachment #646191 - Flags: review?(mbrubeck)
Attachment #646191 - Flags: review?(bnicholson)
Attachment #646191 - Flags: approval-mozilla-beta?
Attachment #646191 - Flags: approval-mozilla-beta?
Attachment #646191 - Flags: review?(mbrubeck) → review+
Wes, is bug 777649 also present in 15? Did you fix it with your patch here? If yes please remember that the other channels need a fix for it as well.
Attachment #646191 - Flags: review?(bnicholson) → review+
Comment on attachment 646191 [details] [diff] [review]
Patch for beta

[Approval Request Comment]
Bug caused by (feature/regressing bug #): Search suggestions
User impact if declined: No context menu on awesomescreen
Testing completed (on m-c, etc.): Patch on m-c is very similar, but not exactly the same. Tested locally.
Risk to taking this patch (and alternatives if risky): Low risk. Basically adds a new path and a new getter method.
String or UUID changes made by this patch: None.
Attachment #646191 - Flags: approval-mozilla-beta?
Attachment #646191 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Tcs added in MozTrap for Firefox 15 and later versions both phone and tablet: Awesomescreen tablet suite - 
Long tap in Top Sites Awesomescreen suite - 
Long tap in Top Sites
Flags: in-moztrap+
tracking-fennec: ? → ---
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.