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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: u421692, Unassigned)
Details
Attachments
(2 files)
|
3.70 KB,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
|
3.68 KB,
patch
|
Details | Diff | Splinter Review |
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)
Comment 1•12 years ago
|
||
Attachment #8427027 -
Flags: review?(margaret.leibovic)
Updated•12 years ago
|
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 2•12 years ago
|
||
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+
Comment 3•12 years ago
|
||
Updated•12 years ago
|
Keywords: checkin-needed
Summary: Show appropraite toast for opening a new private tab → Show appropriate toast for opening a new private tab
Comment 4•12 years ago
|
||
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.
Comment 5•12 years ago
|
||
Can I still be a friend of the tree?
Comment 6•12 years ago
|
||
(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! :)
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•