Closed Bug 1014526 Opened 12 years ago Closed 12 years ago

Show appropriate toast for opening a new private tab

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: u421692, Unassigned)

Details

Attachments

(2 files)

Long tap on an entry from about:home and choose to open in private tab. Actual result: "New tab opened" notification is displayed Expected result: "New private tab opened" notification should be displayed(this is the current behaviour when opening a link in a new private tab from a web page)
Attachment #8427027 - Flags: review?(margaret.leibovic)
Summary: Update toast notification when opening a link in a new private tab from "about:home" through context menu → Show appropraite toast for opening a new private tab
Comment on attachment 8427027 [details] [diff] [review] openprivatetabtoast.patch Review of attachment 8427027 [details] [diff] [review]: ----------------------------------------------------------------- Good catch. I just have some style nits. ::: mobile/android/base/home/HomeFragment.java @@ +187,5 @@ > // a special URI until we can get a valid URL. If the url is a user-entered url, decode the URL before loading it. > Tabs.getInstance().loadUrl(decodeUserEnteredUrl(url), flags); > + > + if (item.getItemId() == R.id.home_open_private_tab) { > + Toast.makeText(context, R.string.new_private_tab_opened, Toast.LENGTH_SHORT).show(); Nit: remove trailing whitespace. @@ +189,5 @@ > + > + if (item.getItemId() == R.id.home_open_private_tab) { > + Toast.makeText(context, R.string.new_private_tab_opened, Toast.LENGTH_SHORT).show(); > + } > + else { Nit: Put the else on on the same line as the close brace.
Attachment #8427027 - Flags: review?(margaret.leibovic) → review+
Keywords: checkin-needed
Summary: Show appropraite toast for opening a new private tab → Show appropriate toast for opening a new private tab
Sorry Aaron. Bug 997288 landed with a fix for this. https://hg.mozilla.org/integration/fx-team/rev/c87fe78a40b8 I am WONTFIX'ing so we don't get into merge issues.
Status: NEW → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → WONTFIX
Can I still be a friend of the tree?
(In reply to Aaron Train [:aaronmt] from comment #5) > Can I still be a friend of the tree? Haha, you were just in it for the badge! :)
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: