Closed Bug 1221030 Opened 10 years ago Closed 10 years ago

Wrong tab thumbnail shape

Categories

(Firefox for Android Graveyard :: General, defect)

43 Branch
ARM
Android
defect
Not set
normal

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)

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
Seems like some change made it to 43 even though we had some Nightly flags in place.
Assignee: nobody → s.kaspari
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.. :)
(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.
Tracking for 43 since this is a recent regression.
Keywords: regression
(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/
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.
(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.
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 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+
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
Verified as fixed on latest Beta(43.0b6)on tablet devices. This was tested on Sony Xperia Z2 (Android 5.0.2).
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: