Closed Bug 1196885 Opened 9 years ago Closed 9 years ago

[Contacts] Editing a contact will leave the Contacts in a buggy state: orientation may rotate to landscape

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.5+, b2g-v2.2 unaffected, b2g-master affected)

RESOLVED WORKSFORME
blocking-b2g 2.5+
Tracking Status
b2g-v2.2 --- unaffected
b2g-master --- affected

People

(Reporter: onelson, Assigned: ferjm)

References

()

Details

(Keywords: regression, Whiteboard: [2.5-Daily-Testing], [Spark])

Attachments

(1 file)

Description:
When the user finishes editing a contact, they will observe the Contacts app exhibit buggy behavior. The app may now rotate to landscape, and the status bar will have lost it's theme color (communications blue, becoming settings gray). Returning to contacts listing will restore the theme color of status bar, but app may still be rotated to landscape. Opening the app in card view, or closing + re-opening will remove the landscape orientation potential.

Repro Steps:
1) Update a Aries to 20150820012109
2) Open Contacts app
3) Create a new contact {First Name, Last Name, Phone Number}
4) Edit contact from step-3: change {First Name}

Actual:
1) Phone may now be rotated to landscape within app (card-view or restarting app revokes this behavior)
2) Status bar changes theme color while in contact details. 

Expected:
Contact is edited, state of app remains unchanged with no additional behavior


Environmental Variables:
--------------------------------

Device: Aries 2.5
Build ID: 20150820012109
Gaia: 89e0096a3de0378e3eda77e6a2a0bb5ca03eb8bb
Gecko: 29b2df16e961fbe9a379362ecba6f888d1754bc3
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 43.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0

Device: Flame 2.5
BuildID: 20150820030207
Gaia: 89e0096a3de0378e3eda77e6a2a0bb5ca03eb8bb
Gecko: 29b2df16e961fbe9a379362ecba6f888d1754bc3
Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd
Version: 43.0a1 (2.5) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0
***************************

Issue DOES NOT REPRODUCE on 2.2 for flame devices
Results: Contact is edited, state of app remains unchanged with no additional behavior

Device: Flame 2.2
BuildID: 20150820032506
Gaia: 335cd8e79c20f8d8e93a6efc9b97cc0ec17b5a46
Gecko: ebaa55c4247b
Gonk: bd9cb3af2a0354577a6903917bc826489050b40d
Version: 37.0 (2.2) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
--------------------------------


Repro frequency: 5/5
See attached: 
video
logcat
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
[Blocking Requested - why for this release]:

Regression. Let's get a window here.
blocking-b2g: --- → 2.5?
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
See Also: → 1196893
QA Contact: mshuman
I found the regression window for the landscape issue, but this is not the same window as the status bar issue.  I've amended the title to specify this bug as the landscape issue, and the status bar issue will be written up in a separate bug.

This issue appears to be caused by:
Bug 1131470 - w3c screen orientation api has changed

Mozilla-inbound Regression Window:

Last Working 
Environmental Variables:
Device: Aries 2.5
BuildID: 20150819042439
Gaia: 1e1197e0e8e64307aa382ffba4711d1c661de7ca
Gecko: 4203e86db40a2fdcc52fa2f6ca263a1d9d704b91
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 43.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0

First Broken 
Environmental Variables:
Device: Aries 2.5
BuildID: 20150819041446
Gaia: 1e1197e0e8e64307aa382ffba4711d1c661de7ca
Gecko: be65c38abed995c7975383836c87df21ac02bcc7
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 43.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:43.0) Gecko/43.0 Firefox/43.0

Last Working gaia / First Broken gecko - Issue DOES reproduce
Gaia: 1e1197e0e8e64307aa382ffba4711d1c661de7ca
Gecko: be65c38abed995c7975383836c87df21ac02bcc7

First Broken gaia / Last Working gecko - Issue does NOT reproduce
Gaia: 1e1197e0e8e64307aa382ffba4711d1c661de7ca
Gecko: 4203e86db40a2fdcc52fa2f6ca263a1d9d704b91

Gecko Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=4203e86db40a2fdcc52fa2f6ca263a1d9d704b91&tochange=be65c38abed995c7975383836c87df21ac02bcc7
Blocks: 1131470
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmercado)
Summary: [Contacts] Editing a contact will leave the Contacts in a buggy state: orientation may rotate to landscape and status bar loses it's theme color → [Contacts] Editing a contact will leave the Contacts in a buggy state: orientation may rotate to landscape
William the changes for bug 1131470 seem to have caused this issue, can you take a look?
Flags: needinfo?(jmercado) → needinfo?(wchen)
Breaking a basic functionality to updating contacts. Blocking 2.5
blocking-b2g: 2.5? → 2.5+
Status bar issue has been written up separately in Bug 1196954
Borja I think this is caused by the new work landed can you take a look? Or find someone that can :)
Flags: needinfo?(borja.bugzilla)
I think this is due to https://bugzilla.mozilla.org/show_bug.cgi?id=1131470#c40. I've tried Gaia master with an old Gecko build for Aries (a build 3 days old) and I can not reproduce this.

Could you check if this is due to https://bugzilla.mozilla.org/show_bug.cgi?id=1131470#c40? This 'orientation' is not related with Contacts, and seems to be a bug system wide. Thanks!
Flags: needinfo?(borja.bugzilla) → needinfo?(onelson)
The fix I have in bug 1196290 should also fix this issue.
Flags: needinfo?(wchen)
Adding qawanted tag as I won't be able to attend to this issue.
Flags: needinfo?(onelson)
Keywords: qawanted
(In reply to Borja Salguero [:borjasalguero] from comment #7)
> Could you check if this is due to
> https://bugzilla.mozilla.org/show_bug.cgi?id=1131470#c40? This 'orientation'
> is not related with Contacts, and seems to be a bug system wide. Thanks!

As the regression window at comment 2 pointed out, this is due to changes made in bug 1131470. The effect of that fallout may be system wide but so far we've only found this bug as a fallout from bug 1131470.
Flags: needinfo?(jmercado)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
Assignee: nobody → ferjmoreno
I cannot reproduce this one with latest master. Please, reopen if you can.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: