Closed
Bug 1133770
Opened 9 years ago
Closed 9 years ago
Selected tab in tab strip (tablet) not always visible after changing orientation
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox36 wontfix, firefox37+ verified, firefox38+ fixed, firefox39 fixed, fennec37+)
RESOLVED
FIXED
Firefox 39
People
(Reporter: u421692, Assigned: mcomella)
References
Details
(Keywords: regression, verifyme)
Attachments
(3 files, 1 obsolete file)
Device: Nexus 7(Android 5.0.2) Build: Nightly 38.0a1(2015-02-17) Steps to reproduce: 1. Put the device in landscape mode and open more tabs than will fit on screen 2. Rotate device to portrait mode Expected result: Focused tab in the tab strip should be visible Actual result: Tabs are shifted, and focused tab is no longer visible to the user(see attached video) Note: I don't think this is a regression
Assignee | ||
Comment 1•9 years ago
|
||
Lucas put some code in to do this easily, TabStripView.ensurePositionIsVisible: https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/tabs/TabStripView.java#242 and TabStripView.ensureSelectedPosition.
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Assignee | ||
Updated•9 years ago
|
Summary: Tab strip loses focus after changing orientation from landscape to portrait → Selected tab in tab strip (tablet) not always visible after changing orientation
Assignee | ||
Comment 2•9 years ago
|
||
/r/4019 - Bug 1133770 - Display the selected tab in the tab strip on device rotation. r=mhaigh Pull down this commit: hg pull review -r f9071610c50fc344d55e54876252c7e2cdca09bd
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella /r/4019 - Bug 1133770 - Display the selected tab in the tab strip on device rotation. r=mhaigh Pull down this commit: hg pull review -r f9071610c50fc344d55e54876252c7e2cdca09bd
Attachment #8566239 -
Flags: review?(mhaigh)
Updated•9 years ago
|
Attachment #8566239 -
Flags: review?(mhaigh) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella https://reviewboard.mozilla.org/r/4017/#review3189 Ship It!
Assignee | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/e755879c138c
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella Not important enough to risk uplifting to 36, imo. Approval Request Comment [Feature/regressing bug #]: New tablet UI (bug 1014156) [User impact if declined]: Users who rotate the device may not see their selected tab (i.e. polish). [Describe test coverage new/current, TreeHerder]: None [Risks and why]: Worst case, one of the views we access is null and we crash when the device is rotated. However, real risk is low - we just call some pre-existing (and thus tested) methods on device rotation. [String/UUID change made/needed]: None
Attachment #8566239 -
Flags: approval-mozilla-aurora?
Comment 7•9 years ago
|
||
Backed out for bustage. https://hg.mozilla.org/integration/fx-team/rev/5e195355a1b9 https://treeherder.mozilla.org/logviewer.html#?job_id=2035320&repo=fx-team
Comment 8•9 years ago
|
||
Just making sure this is tracked, this is particularly bad.
tracking-fennec: --- → ?
Assignee | ||
Updated•9 years ago
|
Attachment #8566239 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 9•9 years ago
|
||
re comment 7: the bustage is because the TabStrip class is excluded on API 9 devices so we can't specify the type of that class. Better to use an interface, I guess.
Assignee | ||
Updated•9 years ago
|
Attachment #8566239 -
Flags: review+ → review?(mhaigh)
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella /r/4019 - Bug 1133770 - Display the selected tab in the tab strip on device rotation. r=mhaigh /r/4099 - Bug 1133770 - Use Refreshable interface instead of TabStrip in BrowserApp to allow builds on API 9. r=mhaigh Pull down these commits: hg pull review -r 06d5c1293536c0ea6b4990527b91a03d7e900cf3
Assignee | ||
Comment 11•9 years ago
|
||
Saving Sheriff Ryan: https://treeherder.mozilla.org/#/jobs?repo=try&revision=f031bcd276b3
Comment 12•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella https://reviewboard.mozilla.org/r/4017/#review3265 Ship It!
Attachment #8566239 -
Flags: review?(mhaigh) → review+
Assignee | ||
Comment 13•9 years ago
|
||
I blame Newman: https://treeherder.mozilla.org/#/jobs?repo=try&revision=255dfd020418
Assignee | ||
Comment 14•9 years ago
|
||
Okay, that was my fault: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d8843f256a48 Forgot to remove the import.
Assignee | ||
Comment 15•9 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/be22a65f0614 remote: https://hg.mozilla.org/integration/fx-team/rev/5e6ac1912e5a
Assignee | ||
Comment 16•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella To be clear, this should be in 37 and above. (same as comment 6:) Not important enough to risk uplifting to 36, imo. Approval Request Comment [Feature/regressing bug #]: New tablet UI (bug 1014156) [User impact if declined]: Users who rotate the device may not see their selected tab (i.e. polish). [Describe test coverage new/current, TreeHerder]: None [Risks and why]: Worst case, one of the views we access is null and we crash when the device is rotated. However, real risk is low - we just call some pre-existing (and thus tested) methods on device rotation. [String/UUID change made/needed]: None
Attachment #8566239 -
Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/be22a65f0614 https://hg.mozilla.org/mozilla-central/rev/5e6ac1912e5a
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Comment 18•9 years ago
|
||
The bug is still reproducible on latest nightly (2015-02-24); Device: Google Nexus 7 (Android 5.0.2).
Flags: needinfo?(flaviu.cos)
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•9 years ago
|
Assignee | ||
Comment 19•9 years ago
|
||
(In reply to Flaviu Cos, QA [:flaviu] from comment #18) > The bug is still reproducible on latest nightly (2015-02-24); > Device: Google Nexus 7 (Android 5.0.2). Ahh, I only put this in the commit comment: "This does not always work in the case that one of the last few tabs (to the right) are selected and the device is rotated from landscape to portrait. Filed bug 1134408 to track this." It'd take too much work to diagnose and totally fix this issue, particularly for uplifting to 37. Please reopen if you think that my work did not fix the issue (with the exception of the STR described above).
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
status-firefox37:
--- → affected
status-firefox38:
--- → affected
Comment 20•9 years ago
|
||
Comment on attachment 8566239 [details]
MozReview Request: bz://1133770/mcomella
37 is now Beta. Need a Beta nom.
Attachment #8566239 -
Flags: approval-mozilla-beta?
Comment 21•9 years ago
|
||
Approving (and tracking) for beta and aurora because it's a recent regression.
status-firefox36:
--- → wontfix
tracking-firefox37:
--- → +
tracking-firefox38:
--- → +
Keywords: regression
Comment 22•9 years ago
|
||
Comment on attachment 8566239 [details] MozReview Request: bz://1133770/mcomella Based on comment 16, approving for 37 and 38.
Attachment #8566239 -
Flags: approval-mozilla-beta?
Attachment #8566239 -
Flags: approval-mozilla-beta+
Attachment #8566239 -
Flags: approval-mozilla-aurora?
Attachment #8566239 -
Flags: approval-mozilla-aurora+
Comment 23•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/eb261fd50770 https://hg.mozilla.org/releases/mozilla-beta/rev/e7319d343f20
Comment 24•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/a3214625cd30 https://hg.mozilla.org/releases/mozilla-aurora/rev/abeee313fed0
Updated•9 years ago
|
tracking-fennec: ? → 37+
Comment 25•9 years ago
|
||
Verifying as fixed on Firefox 37 Beta 2 (except the scenario from bug 1134408)
Assignee | ||
Comment 26•9 years ago
|
||
Attachment #8566239 -
Attachment is obsolete: true
Attachment #8619497 -
Flags: review+
Attachment #8619498 -
Flags: review+
Assignee | ||
Comment 27•9 years ago
|
||
Assignee | ||
Comment 28•9 years ago
|
||
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
•