Closed Bug 857661 Opened 12 years ago Closed 12 years ago

Topsites tab is showing an entry with blank content

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox20 affected, firefox21 affected, firefox22 affected, firefox23 verified, relnote-firefox 21+)

VERIFIED FIXED
Firefox 23
Tracking Status
firefox20 --- affected
firefox21 --- affected
firefox22 --- affected
firefox23 --- verified
relnote-firefox --- 21+

People

(Reporter: tchung, Assigned: Margaret)

Details

Attachments

(2 files)

Attached image screenshot
See screenshot. Tapping that empty entry goes to about:home. Not sure why it came up blank. Repro: 1) install 4/2 nightly build 2) launch homescreen and tap about:home 3) launch awesomescreen, and verify blank entry in the Topsites. Expected: - about:home should have content listed Actual: - white row
Long-tap hold and hit 'edit'; does it have a title?
You can reproduce this by pinning an empty site. What you're seeing here is a fake pinned bookmark with no data in it. I think we shouldn't let users pin empty urls.
Assignee: nobody → margaret.leibovic
tracking-fennec: --- → ?
Attached patch patchSplinter Review
Attachment #737743 - Flags: review?(wjohnston)
Comment on attachment 737743 [details] [diff] [review] patch We should show an error the user (probably a toast?). Or alternatively, we could take this is an "unpin this" command. Also, I like brackets in java code.
Attachment #737743 - Flags: review?(wjohnston) → review-
(In reply to Wesley Johnston (:wesj) from comment #4) > Comment on attachment 737743 [details] [diff] [review] > patch > > We should show an error the user (probably a toast?). Or alternatively, we > could take this is an "unpin this" command. I wonder what a user is actually trying to do when submitting an emtpy serach/url. I interpreted it as cancelling, which is why I didn't add an error message or do anything to change the pinned site. Unpinning seems like the wrong thing to do if the user does think this is going to cancel their changes. Ian, what do you think we should do? > Also, I like brackets in java code. I was just copying the bracing style right above this, which was written by you :P
Flags: needinfo?(ibarlow)
(In reply to :Margaret Leibovic from comment #5) > (In reply to Wesley Johnston (:wesj) from comment #4) > > Comment on attachment 737743 [details] [diff] [review] > > patch > > > > We should show an error the user (probably a toast?). Or alternatively, we > > could take this is an "unpin this" command. > > I wonder what a user is actually trying to do when submitting an emtpy > serach/url. I interpreted it as cancelling, which is why I didn't add an > error message or do anything to change the pinned site. Unpinning seems like > the wrong thing to do if the user does think this is going to cancel their > changes. > > Ian, what do you think we should do? I agree with your comment 3, that we shouldn't even be letting people pin empty URLs to begin with.
Flags: needinfo?(ibarlow)
(In reply to Ian Barlow (:ibarlow) from comment #6) > (In reply to :Margaret Leibovic from comment #5) > > (In reply to Wesley Johnston (:wesj) from comment #4) > > > Comment on attachment 737743 [details] [diff] [review] > > > patch > > > > > > We should show an error the user (probably a toast?). Or alternatively, we > > > could take this is an "unpin this" command. > > > > I wonder what a user is actually trying to do when submitting an emtpy > > serach/url. I interpreted it as cancelling, which is why I didn't add an > > error message or do anything to change the pinned site. Unpinning seems like > > the wrong thing to do if the user does think this is going to cancel their > > changes. > > > > Ian, what do you think we should do? > > I agree with your comment 3, that we shouldn't even be letting people pin > empty URLs to begin with. Yes, that's what my patch does, but Wes gave in an r- because he thinks that we should be showing an error message, and I was wondering what you think about that.
Comment on attachment 737743 [details] [diff] [review] patch Re-requesting review, since ibarlow said he approved of this approach.
Attachment #737743 - Flags: review- → review?(wjohnston)
Attachment #737743 - Flags: review?(wjohnston) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Uplift?
Status: RESOLVED → VERIFIED
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.

Attachment

General

Created:
Updated:
Size: