Closed Bug 974637 Opened 10 years ago Closed 10 years ago

Enforce that all items have a URL

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 969055

People

(Reporter: Margaret, Assigned: Margaret)

Details

Right now, we support dataset items without URLs, but when I click on an item without a URL, we load about:blank, which is not useful.

We either shouldn't do anything when the user clicks on one of these items, or we should enforce that a item has a URL.

I'm somewhat concerned about things looking broken if clicking doesn't do anything, so maybe we should enforce that all items have a URL.

Thoughts?
(In reply to :Margaret Leibovic from comment #0)
> Right now, we support dataset items without URLs, but when I click on an
> item without a URL, we load about:blank, which is not useful.
> 
> We either shouldn't do anything when the user clicks on one of these items,
> or we should enforce that a item has a URL.
> 
> I'm somewhat concerned about things looking broken if clicking doesn't do
> anything, so maybe we should enforce that all items have a URL.
> 
> Thoughts?

I'd go with enforcing URLs in the dataset. I can't think of any useful example for showing something in about:home that can't be clicked.
I was going to ask a related question: when / how might a situation like this occur?
I like Lucas's idea of enforcing URLs. Either that or if we can't do that, don't do anything when a user taps something with no URL -- don't even show a touch highlight.
(In reply to Ian Barlow (:ibarlow) from comment #2)
> I was going to ask a related question: when / how might a situation like
> this occur?

Right now this can happen if an add-on stores an item without a URL, since we don't enforce that.

I like enforcing URLs, that's the simplest solution.
Summary: Handle the case where a user clicks on an item without a URL → Enforce that all items have a URL
Duping to bug 969055.
No longer blocks: lists
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.