Closed Bug 814148 Opened 12 years ago Closed 12 years ago

X button missing in tabs tray after swiping to close another tab

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox19 affected, firefox20 verified)

VERIFIED FIXED
Firefox 20
Tracking Status
firefox19 --- affected
firefox20 --- verified

People

(Reporter: bnicholson, Assigned: capella)

References

Details

Attachments

(1 file)

To reproduce, swipe to close the last tab. On the new about:home tab that appears, the X is missing. If you instead close the last tab by hitting the X button, the X button reappears on the new tab as expected.
Depends on: 811738
Whiteboard: [mentor=sriram][lang=java]
The bug is no longer relevant as originally filed since we now hide the tabs tray when the last tab is closed. But a similar issue happens with these STR:
1) Open at least 2 tabs
2) Swipe to close any tab other than the last one

After step 2, the tab that was below the one that was closed will be missing its X button. This is likely due to improperly handling recycled ListView items.
Summary: Swiping to close the last tab doesn't show a tab close button → X button missing in tabs tray after swiping to close another tab
Whiteboard: [mentor=sriram][lang=java]
Attached patch Patch (v1)Splinter Review
Is it this easy?
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Attachment #693228 - Flags: review?(bnicholson)
Comment on attachment 693228 [details] [diff] [review]
Patch (v1)

Passing review to sriram since he's mentoring this one.
Attachment #693228 - Flags: review?(bnicholson) → review?(sriram)
Comment on attachment 693228 [details] [diff] [review]
Patch (v1)

Review of attachment 693228 [details] [diff] [review]:
-----------------------------------------------------------------

This looks good to me.
Please remove the comment. That isn't needed there.
Attachment #693228 - Flags: review?(sriram) → review+
Also, the closing brace is misaligned, so please correct the indentation.
Push to TRY server like I always do...
https://tbpl.mozilla.org/?tree=Try&rev=a0e9408b13df
https://hg.mozilla.org/mozilla-central/rev/b757786d6828
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Firefox 20.0a1 (2012-12-20)
Device: Galaxy Nexus
OS: Android 4.1.1

I am not able to reproduce the issue. will this land to Aurora to? or I can set this as VERIFIED FIXED?
(In reply to Ioana Chiorean from comment #9)
> Firefox 20.0a1 (2012-12-20)
> Device: Galaxy Nexus
> OS: Android 4.1.1
> 
> I am not able to reproduce the issue. will this land to Aurora to? or I can
> set this as VERIFIED FIXED?

I can still reproduce this on Aurora - note that the STR have changed a bit (use the STR in comment 1, not comment 0).
(In reply to Brian Nicholson (:bnicholson) from comment #10)
> (In reply to Ioana Chiorean from comment #9)
> > Firefox 20.0a1 (2012-12-20)
> > Device: Galaxy Nexus
> > OS: Android 4.1.1
> > 
> > I am not able to reproduce the issue. will this land to Aurora to? or I can
> > set this as VERIFIED FIXED?
> 
> I can still reproduce this on Aurora - note that the STR have changed a bit
> (use the STR in comment 1, not comment 0).

I was reproducing it on Aurora too, that's why I've asked. It is verified only on Nightly. Will wait  for it to land in Aurora too. Thank you!
Closing bug as verified fixed, due to Bug 817675, on Nightly 21.0a1 (2013-02-10) and  Aurora 20.0a2 (2013-02-10), using HTC Desire Z (Android 2.3.3).
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: