Closed
Bug 1221030
Opened 10 years ago
Closed 10 years ago
Wrong tab thumbnail shape
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox41 unaffected, firefox42 unaffected, firefox43+ verified, firefox44 unaffected, firefox45 unaffected)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | unaffected |
| firefox42 | --- | unaffected |
| firefox43 | + | verified |
| firefox44 | --- | unaffected |
| firefox45 | --- | unaffected |
People
(Reporter: TeoVermesan, Assigned: sebastian)
Details
(Keywords: regression)
Attachments
(2 files)
|
67.90 KB,
image/png
|
Details | |
|
40 bytes,
text/x-review-board-request
|
mcomella
:
review+
lizzard
:
approval-mozilla-beta+
|
Details |
Steps to reproduce:
1. Open Firefox
2. Open a new tab
3. Open Tab Tray
Actual results:
- On Firefox for Android 43 Beta 1, thumbnails are displayed in tab tray in a rectangular shape
Expected results:
- On Firefox for Android 42, Firefox for Android 44.0a2 and Firefox for Android 45.0a1, thumbnails are displayed in tab tray in a square shape.
Please see the attached screenshot
| Assignee | ||
Comment 1•10 years ago
|
||
Seems like some change made it to 43 even though we had some Nightly flags in place.
Assignee: nobody → s.kaspari
| Assignee | ||
Comment 2•10 years ago
|
||
When we introduced the new aspect ratios we accidentally removed the tablet special case:
* https://hg.mozilla.org/mozilla-central/rev/62a3a7f33f09
* https://hg.mozilla.org/mozilla-central/rev/5afeefb4e7f1
In beta we always return the aspect ratio used for top sites:
http://hg.mozilla.org/releases/mozilla-beta/file/fcf963bf85da/mobile/android/base/tabs/TabsPanelThumbnailView.java
I'll create a patch as soon as I'm able to clone mozilla-beta here.. :)
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #3)
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=611cd566d2c7
It turns out to be quite hard to build beta locally (Different mozconfig syntax, different third-party library requirements, I can't downgrade my play-services, ..). So I just pushed a patch to try.
Comment 5•10 years ago
|
||
Tracking for 43 since this is a recent regression.
tracking-firefox43:
--- → +
Keywords: regression
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #4)
> (In reply to Sebastian Kaspari (:sebastian) from comment #3)
> > https://treeherder.mozilla.org/#/jobs?repo=try&revision=611cd566d2c7
>
> It turns out to be quite hard to build beta locally (Different mozconfig
> syntax, different third-party library requirements, I can't downgrade my
> play-services, ..). So I just pushed a patch to try.
Unfortunately there are no APKs of this build:
http://archive.mozilla.org/pub/firefox/try-builds/s.kaspari@gmail.com-03fb9e228aedb9ae4e2a0150b17b53740d0cde16/try-android-api-11/
| Assignee | ||
Comment 7•10 years ago
|
||
| Assignee | ||
Comment 8•10 years ago
|
||
Bug 1221030 - Tablets: Restore tab thumbnail aspect ratio. r?mcomella.
Attachment #8683700 -
Flags: review?(michael.l.comella)
Attachment #8683700 -
Flags: review?(michael.l.comella) → review+
Comment on attachment 8683700 [details]
MozReview Request: Bug 1221030 - Tablets: Restore tab thumbnail aspect ratio. r?mcomella.
https://reviewboard.mozilla.org/r/24413/#review21979
Nice digging.
::: mobile/android/base/tabs/TabsPanelThumbnailView.java:40
(Diff revision 1)
> return ThumbnailHelper.TABS_PANEL_THUMBNAIL_ASPECT_RATIO;
This value is slightly different than what we had before (it's [0.83](https://hg.mozilla.org/mozilla-central/rev/62a3a7f33f09#l1.13) rather than the [0.9](https://hg.mozilla.org/mozilla-central/rev/62a3a7f33f09#l7.13) we had before), but that is only concerning if we care to ship the (minor) tablet changes at the same time as the more visible phone changes.
| Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #9)
> This value is slightly different than what we had before (it's
> [0.83](https://hg.mozilla.org/mozilla-central/rev/62a3a7f33f09#l1.13) rather
> than the
> [0.9](https://hg.mozilla.org/mozilla-central/rev/62a3a7f33f09#l7.13) we had
> before), but that is only concerning if we care to ship the (minor) tablet
> changes at the same time as the more visible phone changes.
That's true. I chose to use the new value because the changes to TabGridLayout are already in beta and that's the value we have been testing this with in Nightly.
| Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8683700 [details]
MozReview Request: Bug 1221030 - Tablets: Restore tab thumbnail aspect ratio. r?mcomella.
Approval Request Comment
[Feature/regressing bug #]: This is a regression that has been hidden because we have been using a new layout in Nightly (flag). This is only in Beta (Firefox 43).
[User impact if declined]: Wrong aspect ratio of thumbnails in tabs tray (See screenshot).
[Describe test coverage new/current, TreeHerder]: Local testing with build from try.
[Risks and why]: Low. This patch just uses a different aspect ratio for tablets. In the worst case this different aspect ratio introduces other regressions. But as this is the aspect ratio that we are using in Aurora and Nightly I don't expect problems.
[String/UUID change made/needed]: -
Attachment #8683700 -
Flags: approval-mozilla-beta?
Comment 12•10 years ago
|
||
Comment on attachment 8683700 [details]
MozReview Request: Bug 1221030 - Tablets: Restore tab thumbnail aspect ratio. r?mcomella.
OK to uplift, minor fix to UI for tablets.
Attachment #8683700 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
| Assignee | ||
Comment 13•10 years ago
|
||
Closing (There's nothing to do on Nightly/Mozilla-Central). Uplift will be tracked by flags.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Verified as fixed on latest Beta(43.0b6)on tablet devices. This was tested on Sony Xperia Z2 (Android 5.0.2).
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
•