Closed
Bug 1066250
Opened 10 years ago
Closed 10 years ago
Consider always showing URL in toolbar in new tablet UI
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: lucasr, Assigned: mcomella)
References
Details
Attachments
(3 files, 2 obsolete files)
(deleted),
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
lucasr
:
review+
|
Details | Diff | Splinter Review |
As we we'll show title in the tab strip anyway. No need to show title twice in the UI.
Comment 1•10 years ago
|
||
Sounds good to me!
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
And it's like more desktop too!
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8488282 -
Flags: review?(lucasr.at.mozilla)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8488285 -
Flags: review?(lucasr.at.mozilla)
Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8488282 [details] [diff] [review]
Part 1: Always show the url in the toolbar on new tablet
Review of attachment 8488282 [details] [diff] [review]:
-----------------------------------------------------------------
Nice.
::: mobile/android/base/toolbar/ToolbarDisplayLayout.java
@@ +322,5 @@
> return;
> }
>
> // If the pref to show the URL isn't set, just use the tab's display title.
> + if (!mPrefs.shouldShowUrl(getContext()) || url == null) {
I think you can just use mActivity instead of getContext() here.
Attachment #8488282 -
Flags: review?(lucasr.at.mozilla) → review+
Reporter | ||
Comment 6•10 years ago
|
||
Comment on attachment 8488285 [details] [diff] [review]
Part 2: Remove title in toolbar preference on new tablet
Review of attachment 8488285 [details] [diff] [review]:
-----------------------------------------------------------------
You probably need to update testSettingsMenuItems accordingly.
::: mobile/android/base/preferences/GeckoPreferences.java
@@ +726,5 @@
> return true;
> }
> });
> + } else if (PREFS_DISPLAY_TITLEBAR_MODE.equals(key) &&
> + NewTabletUI.isEnabled(getApplicationContext())) {
It's safe to just use 'this' instead of getApplicationContext() here.
Attachment #8488285 -
Flags: review?(lucasr.at.mozilla) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Address nit.
Assignee | ||
Updated•10 years ago
|
Attachment #8488282 -
Attachment is obsolete: true
Assignee | ||
Comment 8•10 years ago
|
||
Address nit.
Assignee | ||
Updated•10 years ago
|
Attachment #8488285 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8488895 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Attachment #8488896 -
Flags: review+
Assignee | ||
Comment 9•10 years ago
|
||
Tests in part 3.
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8488947 -
Flags: review?(lucasr.at.mozilla)
Assignee | ||
Comment 11•10 years ago
|
||
try for part 3 (comment 10): https://tbpl.mozilla.org/?tree=Try&rev=90ec2f68e989
Reporter | ||
Comment 12•10 years ago
|
||
Comment on attachment 8488947 [details] [diff] [review]
Part 3: Update testSettingsMenuItems
Review of attachment 8488947 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good.
Attachment #8488947 -
Flags: review?(lucasr.at.mozilla) → review+
Assignee | ||
Comment 13•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/84d550c7cee2
https://hg.mozilla.org/mozilla-central/rev/74e510d20ad3
https://hg.mozilla.org/mozilla-central/rev/f00d45e4c159
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Updated•4 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
•