Closed
Bug 936470
Opened 11 years ago
Closed 8 years ago
Correctly track page action state to set title padding accordingly
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: lucasr, Unassigned)
References
Details
Attachments
(4 files)
4.14 KB,
patch
|
wesj
:
review-
|
Details | Diff | Splinter Review |
1.71 KB,
patch
|
wesj
:
review-
|
Details | Diff | Splinter Review |
2.68 KB,
patch
|
wesj
:
review-
|
Details | Diff | Splinter Review |
1.36 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
See: https://bugzilla.mozilla.org/show_bug.cgi?id=935543#c0 Our title padding update code has been broken since we landed page action support in the toolbar.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Reporter | ||
Comment 4•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Attachment #829274 -
Flags: review?(wjohnston)
Reporter | ||
Updated•11 years ago
|
Attachment #829275 -
Flags: review?(wjohnston)
Reporter | ||
Updated•11 years ago
|
Attachment #829276 -
Flags: review?(wjohnston)
Reporter | ||
Updated•11 years ago
|
Attachment #829277 -
Flags: review?(wjohnston)
Comment 5•11 years ago
|
||
Comment on attachment 829275 [details] [diff] [review] Fix right padding in the Toolbar's title view (r=wesj) Review of attachment 829275 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/resources/layout/browser_toolbar.xml @@ +153,5 @@ > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:layout_weight="1.0" > android:singleLine="true" > + android:paddingRight="4dp" There are two browser_toolbar.xml files. Do we need to update both? Also, to keep them in sync we should use a dimen.xml value.
Attachment #829275 -
Flags: review?(wjohnston) → review-
Comment 6•11 years ago
|
||
Comment on attachment 829276 [details] [diff] [review] Update padding when the page action count changes (r=wesj) Review of attachment 829276 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/BrowserToolbar.java @@ +313,5 @@ > mPageActionLayout = (PageActionLayout) findViewById(R.id.page_action_layout); > + mPageActionLayout.setOnCountChangedListener(new PageActionLayout.OnCountChangedListener() { > + @Override > + public void onCountChanged() { > + setPageActionVisibility(mStop.getVisibility() == View.VISIBLE); I am confused by this. You're waiting for the count to change, but then ignoring the count and just basing the visibility on whether or not stop is showing? If that's right, we should add a comment explaining.
Attachment #829276 -
Flags: review?(wjohnston) → review-
Comment 7•11 years ago
|
||
Comment on attachment 829274 [details] [diff] [review] Add listener API in PageActionLayout to track count changes (r=wesj) Review of attachment 829274 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/PageActionLayout.java @@ +50,5 @@ > > + private OnCountChangedListener mOnCountChangedListener; > + > + public interface OnCountChangedListener { > + public void onCountChanged(); I think you should probably pass the new count to this method (and maybe the PageActionLayout as well).
Attachment #829274 -
Flags: review?(wjohnston) → review-
Updated•11 years ago
|
Attachment #829277 -
Flags: review?(wjohnston) → review+
Updated•11 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•10 years ago
|
Assignee: lucasr.at.mozilla → nobody
Comment 8•8 years ago
|
||
We don't show the title in the urlbar anymore.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•3 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
•