Closed Bug 1153652 Opened 9 years ago Closed 9 years ago

Browser toolbar buttons reload, share, bookmark etc enable for urls with "about:" in them

Categories

(Firefox for iOS :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fennec + ---

People

(Reporter: sachin.irukula, Unassigned)

Details

Attachments

(1 file)

47 bytes, text/x-github-pull-request
bnicholson
: review+
Details | Review
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17

Steps to reproduce:

Start firefox/open new tab and take a look at browser toolbar when url is empty/like "about:"


Actual results:

Bookmark button, share button, reload button are enabled which are of no use and act different on changing the mode in home panel(while viewing reading list, bookmarks etc). 


Expected results:

All the buttons should be disable when the url is empty(contain "about:")
Attached file Patch for issue
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
Ever confirmed: true
tracking-fennec: ? → +
According to Darrin, we should not show the toolbar at all when we've opened a new tab with about:home. But if we come back to it later (by clicking back), we do want to show the toolbar so we can go forward again.
But isn't a bit of inconsistent behavior showing toolbar for something and hiding it for others?
Comment on attachment 8591373 [details] [review]
Patch for issue

Regardless of what we decide to do in the end, I think this PR is an improvement, so we should go ahead and land it. But let's put the controller logic in BrowserViewController instead of the toolbar as mentioned in the PR.
Attachment #8591373 - Flags: feedback+
Attachment #8591373 - Flags: review?(bnicholson)
Comment on attachment 8591373 [details] [review]
Patch for issue

Thanks for updating! Left more comments in the PR.
Attachment #8591373 - Flags: review?(bnicholson)
Attachment #8591373 - Flags: review?(bnicholson)
Comment on attachment 8591373 [details] [review]
Patch for issue

Looks good, thanks!
Attachment #8591373 - Flags: review?(bnicholson)
Attachment #8591373 - Flags: review+
Attachment #8591373 - Flags: feedback+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Not to stop the party, but I'd like to keep this open until we have the desired behaviour as outlined in comment 2 (https://bugzilla.mozilla.org/show_bug.cgi?id=1153652#c2)... Or :bnicholson do you want to open and tracking? a follow up bug?
Flags: needinfo?(bnicholson)
(In reply to Darrin Henein [:darrin] from comment #7)
> Or :bnicholson do you want to open and tracking? a follow up bug?

Yep, filed bug 1161626.
Flags: needinfo?(bnicholson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: