Closed
Bug 1225047
Opened 9 years ago
Closed 7 years ago
[Contacts] The contacts/ICE suggestion bar Cancel button will show as a rectangular button.
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect, P1)
Tracking
(blocking-b2g:2.6+, b2g-v2.5 affected, b2g-master affected)
RESOLVED
WONTFIX
blocking-b2g | 2.6+ |
People
(Reporter: wenqiuhong, Assigned: kgrandon)
References
Details
Attachments
(5 files, 1 obsolete file)
[1.Description]:
[Aries KK V2.5&2.6][Flame KK V2.5&2.6] The Cancel button will show as a rectangular button which is similar to other options in the menu, with its text left-aligned and there is a blank space below it at the bottom of the screen.
See attachments: Aries_KK_V2.5. 3gp&Contrast. png&logcat_1815.txt
Found time: 18:15
[2.Testing Steps]:
The precondition: There is an ICE Contact and device is locked with passwored.
1. Press the power button
2. Slide to the right
3. Tap the "EMERGENCY CALL"
4. Tap the "ICE Contacts"
[3.Expected Result]:
4. The "Cancel" button should show as an oval button.
[4.Actual Result]:
4. The Cancel button will show as a rectangular button similar to other options in the menu, with its text left-aligned and there is a blank space below it at the bottom of the screen.
[5.Reproduction build]:
Device: Aries KK v2.5(Affected)
Build ID 20151113224539
Gaia Revision 142a25e39196f036978e0dd6c94640bd8d4d692a
Gaia Date 2015-11-12 18:38:22
Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/6f13164b9a2922000c04e641165fd8ce3c5dec8d
Gecko Version 44.0a2
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151113.215500
Firmware Date Fri Nov 13 21:55:07 UTC 2015
Bootloader s1
Device: Flame KK v2.5 512mb(Affected)
Build ID 20151113224011
Gaia Revision 142a25e39196f036978e0dd6c94640bd8d4d692a
Gaia Date 2015-11-12 18:38:22
Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/6f13164b9a2922000c04e641165fd8ce3c5dec8d
Gecko Version 44.0a2
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151113.215220
Firmware Date Fri Nov 13 21:52:29 UTC 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Aries KK v2.6 master(Affected)
Build ID 20151112120735
Gaia Revision 27bc9412ca607648bc398b25bb1ae25653b2b278
Gaia Date 2015-11-12 02:27:47
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/3cc3b1968524248450c465c4ea2ee5596ffa65f2
Gecko Version 45.0a1
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151112.112635
Firmware Date Thu Nov 12 11:26:43 UTC 2015
Bootloader s1
Device: Flame KK v2.6 master 512mb(Affected)
Build ID 20151115150212
Gaia Revision e8c15ae4e5324a210000ee0a869a962aa542009f
Gaia Date 2015-11-13 00:10:48
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/7cd2d806bd069c0260ff73f023ac85f892b863bf
Gecko Version 45.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20151115.184416
Firmware Date Sun Nov 15 18:44:31 EST 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
[6.Reproduction Frequency]:
Always Recurrence,10/10
[7.TCID]:
Free Test
Reporter | ||
Updated•9 years ago
|
status-b2g-v2.5:
--- → affected
status-b2g-master:
--- → affected
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
[Blocking Requested - why for this release]: This breaks the UX consistency
blocking-b2g: --- → 2.5?
Assignee | ||
Updated•9 years ago
|
Summary: The Cancel button will show as a rectangular button. → [Contacts] The ICE Cancel button will show as a rectangular button.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → kevingrandon
Comment 4•9 years ago
|
||
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
I'm not sure who does dialer stuff any more. Etienne - would you be able to review this? Thanks!
Attachment #8688267 -
Flags: review?(etienne)
Comment 6•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
Gabriele does, but looking good :)
Attachment #8688267 -
Flags: review?(gsvelto)
Attachment #8688267 -
Flags: review?(etienne)
Attachment #8688267 -
Flags: feedback+
Comment 7•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
First of all I'm really glad to see that particular overlay go and be replaced by shared code. The dialer is one of the most offenders as far as custom overlays go, in fact we even have a bug just for that (bug 1134631) so shooting down one is great.
Overall the patch looks good but I've spotted a visual issue it introduces: the buttons containing the contacts go from being 62px tall to only 40px tall which causes the contents to barely fit. I'll attach a screenshot with the issue highlighted.
Attachment #8688267 -
Flags: review?(gsvelto) → review-
Comment 8•9 years ago
|
||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 9•9 years ago
|
||
Comms triage: Visual regression that might lead to user's confusion.
blocking-b2g: 2.5? → 2.5+
Updated•9 years ago
|
Component: Gaia::Contacts → Gaia::Dialer
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
Hi Gabriele,
That was working previously via a CSS override, which does not work too well with web components. A better fix is to probably move that into the web component itself, but I think it'd be better to take as-is and fix the web component to handle multiple line buttons later. I had to unfortunately add !important to be able to override. Please take another look.
Attachment #8688267 -
Flags: review- → review?(gsvelto)
Comment 11•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
Agreed, please open a follow up bug and put a comment above the ! rules referring to it so that we know that should be fixed.
Attachment #8688267 -
Flags: review?(gsvelto) → review+
Assignee | ||
Comment 12•9 years ago
|
||
Thanks! In master: https://github.com/mozilla-b2g/gaia/commit/0a7619882362737562e79fc87226e08632d0c3d9
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Platform change requiring UI updates.
[User impact] if declined: Poor UX in menu.
[Testing completed]: Manual testing (porting to web component)
[Risk to taking this patch] (and alternatives if risky): Should be low because we're porting to a common web component.
[String changes made]: None.
Attachment #8688267 -
Flags: approval-gaia-v2.5?
Comment 14•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
Approved for 2.5 Uplift.
Thanks
Attachment #8688267 -
Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Comment 15•9 years ago
|
||
The changes here caused the smoketest blocker bug 1226308.
Whiteboard: [backout-asap]
Assignee | ||
Comment 16•9 years ago
|
||
Because that is a smoketest blocker, and this needs to be uplifted, let's backout and fix it.
Assignee | ||
Comment 17•9 years ago
|
||
Backed out to fix smoketest blocker:
https://github.com/mozilla-b2g/gaia/commit/20f140d8b0142a151ff58f726782526c6b2354c9
Submitting a new patch /w a fix.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•9 years ago
|
||
Assignee | ||
Comment 19•9 years ago
|
||
Comment on attachment 8689908 [details] [review]
[gaia] KevinGrandon:bug_1225047_dialer_gaia_menu_usage > mozilla-b2g:master
Gabriele - I'm sorry, I caused a smoketest blocker the last time this landed.
In this patch I removed the hideOverlay function of suggestionBar as that accessibility code can be handled from within the component now. I forgot to search for all references of that, and there was one left in dialer.js. I believe this is what was causing the smoketest failure.
I've updated this with a the updated call to `SuggestionBar.overlay.hide`[1]. Please let me know what you think. Thanks and sorry for the noise.
[1] https://github.com/mozilla-b2g/gaia/pull/33287/files#diff-660f9c7d029624283424917265eb27f5R352
Attachment #8689908 -
Flags: review?(gsvelto)
Comment 20•9 years ago
|
||
I've tried the STR of bug 1226308 with your new patch but the issue is still there. I'm not quite sure what's going on, I'll try to investigate further next week.
Assignee | ||
Comment 21•9 years ago
|
||
Ok, thanks. I'm having trouble getting a sim where I can actually enable the pin code. I'll take another look though.
Comment 22•9 years ago
|
||
OK, I've figured it out, the hide() method is undefined here:
https://github.com/mozilla-b2g/gaia/pull/33287/files#diff-660f9c7d029624283424917265eb27f5R352
I'm not sure why this is, possibly the code hasn't been lazy-loaded yet or the component's methods haven't been added to that object?
Comment 23•9 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #21)
> Ok, thanks. I'm having trouble getting a sim where I can actually enable the
> pin code. I'll take another look though.
If you've got some patience you can use the emulator, changing the SIM PIN works there (note that the emulated SIM has a 0000 PIN number baked in by default).
I recommend the following build, it's real fast if you've got VT-d enabled on your machine (FxOS runs natively) and doesn't take up much space on disk:
git clone https://github.com/mozilla-b2g/B2G.git B2G-emulator-x86-kk
cd B2G-emulator-x86-kk
env REPO_INIT_FLAGS="--depth=1" ./config.sh emulator-x86-kk
./build.sh
Assignee | ||
Comment 24•9 years ago
|
||
Thank you for the info on the emulator, I will test in there to make sure I get it. I wonder if we can also write a marionette test for this.
Assignee | ||
Comment 25•9 years ago
|
||
Removing keyword because this is already backed out.
Whiteboard: [backout-asap]
Assignee | ||
Comment 26•9 years ago
|
||
Comment on attachment 8689908 [details] [review]
[gaia] KevinGrandon:bug_1225047_dialer_gaia_menu_usage > mozilla-b2g:master
Clearing request until it's confirmed working.
Attachment #8689908 -
Flags: review?(gsvelto)
Comment 27•9 years ago
|
||
(In reply to Mahendra Potharaju [:mahe] from comment #14)
> Comment on attachment 8688267 [details] [review]
> [gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
>
> Approved for 2.5 Uplift.
>
> Thanks
mahe, do you really want this uplifted, seems this got backed out and there is work going on here ?
Flags: needinfo?(mpotharaju)
Assignee | ||
Comment 28•9 years ago
|
||
Comment on attachment 8688267 [details] [review]
[gaia] KevinGrandon:bug_1225047_contacts_gaia_menu > mozilla-b2g:master
Let's not uplift until it sticks. Thanks.
Flags: needinfo?(mpotharaju)
Attachment #8688267 -
Flags: approval-gaia-v2.5+
Comment 29•9 years ago
|
||
Thanks for watching this, Tomcat. I approved it before the back out.
Assignee | ||
Comment 30•9 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #23)
> I recommend the following build, it's real fast if you've got VT-d enabled
> on your machine (FxOS runs natively) and doesn't take up much space on disk:
>
> git clone https://github.com/mozilla-b2g/B2G.git B2G-emulator-x86-kk
> cd B2G-emulator-x86-kk
> env REPO_INIT_FLAGS="--depth=1" ./config.sh emulator-x86-kk
> ./build.sh
I still want to work on this, but I'm having trouble building emulators on OSX 10.11 right now, seems it's not very well supported =( Seeing if there's another way I can test (I don't want to mess up my Foxfooding sim card)
Comment 31•9 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #30)
> I still want to work on this, but I'm having trouble building emulators on
> OSX 10.11 right now, seems it's not very well supported =( Seeing if there's
> another way I can test (I don't want to mess up my Foxfooding sim card)
Unfortunately I don't think the emulator works well on Mac, I've always used it under Linux and if you want to make it go fast it must be native Linux with virtualization support. You could try the plain ARM emulator (emulator-kk config target). It's going to be real slow, but it should work.
Assignee | ||
Comment 32•9 years ago
|
||
Comment on attachment 8689908 [details] [review]
[gaia] KevinGrandon:bug_1225047_dialer_gaia_menu_usage > mozilla-b2g:master
(In reply to Gabriele Svelto [:gsvelto] from comment #22)
> OK, I've figured it out, the hide() method is undefined here:
Hi Gabriele,
I haven't gotten my emulator building still, but I'm working on it and was wondering if you'd be willing to review this again in the meantime. (I do want to get this working though and will keep working on it)
My hunch about the problem is that the element is not upgraded to a web component because it does not get inserted into the document - so the methods are not available yet. I've added a simple guard for this here:
https://github.com/mozilla-b2g/gaia/pull/33287/files#diff-660f9c7d029624283424917265eb27f5R352
I don't want to waste your time, so if this doesn't work - I'll wait until I can fully verify this myself. Thanks!
Attachment #8689908 -
Flags: review?(gsvelto)
Comment 33•9 years ago
|
||
Comment on attachment 8689908 [details] [review]
[gaia] KevinGrandon:bug_1225047_dialer_gaia_menu_usage > mozilla-b2g:master
I just gave it a spin and it still doesn't work :(
Attachment #8689908 -
Flags: review?(gsvelto)
Updated•9 years ago
|
Attachment #8688267 -
Attachment is obsolete: true
Comment 34•9 years ago
|
||
Changing the title to reflect that the fix also affects the regular suggestion bar.
Summary: [Contacts] The ICE Cancel button will show as a rectangular button. → [Contacts] The contacts/ICE suggestion bar Cancel button will show as a rectangular button.
Updated•9 years ago
|
blocking-b2g: 2.5+ → 2.6+
Priority: -- → P1
Comment 36•7 years ago
|
||
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Closed: 9 years ago → 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•