Incorrect bottom padding to homepage elements
Categories
(Firefox for Android :: Homepage, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: petru, Assigned: petru)
References
Details
(Whiteboard: [fxdroid][group3])
Attachments
(6 files)
Seems like we're computing the wrong value for the bottom toolbar for a while now
bug 1983299 tried to improve it so today we're using
- microsurvey + navbar height
- constant for the app name header
- wanted spacing between toolbar and home content
What's missing from this is the height of the tabstrip and that of the toolbar.
The app name logo at the top also doesn't appear if middle search bar is enabled so this has to be accounted for dynamically instead of being hardcoded.
| Assignee | ||
Comment 1•11 months ago
|
||
Given that this depends also on how we infer the top toolbar and bottom toolbar's height which can be improved
I'll take a stab at fixing these as a whole.
Updated•11 months ago
|
| Assignee | ||
Comment 2•11 months ago
|
||
| Assignee | ||
Comment 3•11 months ago
|
||
All widgets on the homescreen are placed absolutely on the same canvas.
This means that the home content would be clipped by the top/bottom
toolbar or other such widgets and to prevent that it needs to have the
appropriate vertical margins set.
We can do this in just one place for all versions of the home content
for simpler yet more powerful functionality by also supporting the
different screen orientations for which the content needs different
margins as other widgets may be shown for each orientation.
One scenario which is not supported it that of the microsurvey
being shown/closed, this is to be fixed in bug 1988142.
| Assignee | ||
Comment 4•11 months ago
|
||
This would always push the home content down, even when it is
not being shown - when search bar in the middle ios observed.
| Assignee | ||
Comment 5•11 months ago
|
||
Both versions of the home content will now have the same bottom padding.
| Assignee | ||
Comment 6•11 months ago
|
||
Comment 9•11 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/17e747bd8682
https://hg.mozilla.org/mozilla-central/rev/83c6eaad06d9
https://hg.mozilla.org/mozilla-central/rev/3e80d249a042
https://hg.mozilla.org/mozilla-central/rev/1d785830feac
https://hg.mozilla.org/mozilla-central/rev/fa6618089d07
Description
•