Closed Bug 997606 Opened 10 years ago Closed 10 years ago

[NFC] Arrow truncate on shrinking UI

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog, b2g-v2.0 affected, b2g-v2.1 verified, b2g-v2.2 verified)

VERIFIED FIXED
2.1 S4 (12sep)
tracking-b2g backlog
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- verified
b2g-v2.2 --- verified

People

(Reporter: ashiue, Assigned: gduan)

References

Details

Attachments

(8 files, 1 obsolete file)

Attached image S__352276.jpg
2014/4/16 build from pvt

STR:
1. Enable NFC on both phones
2. Open browser on phone A
3. Tap two phones
4. Check shrinking UI

Expected result:
Array truncate

Actual result:
No truncate
Alison, 
can you also attach a normal picture?
Blocks: NFC-Gaia
Attached image NFC_Landscape.png
Please refer this attached image, array on shrinking UI should look likes it.
blocking-b2g: --- → 2.0?
Blocks: 894678
Component: NFC → Gaia::System::Window Mgmt
Summary: [NFC] Array truncate on shrinking UI → [NFC] Arrow truncate on shrinking UI
Low impact, backlog.
blocking-b2g: 2.0? → backlog
according comment 3, remove it from blockers of 2.0.
No longer blocks: 894678
QA Whiteboard: [COM=NFC]
I think this is already fixed.
Flags: needinfo?(ashiue)
Attached image 2014-08-20-09-57-48.png
No, this issue still exist.
Flags: needinfo?(ashiue)
The screenshot from:
Gaia      de7235e41f36a23a31c5e47218473c0cc471b019
Gecko     https://hg.mozilla.org/mozilla-central/rev/149d3ce6e020
BuildID   20140819160208
Version   34.0a1
[Blocking Requested - why for this release]:
If the arrow cannot be shown correctly, first time user can't know how to swipe.
Also this bug exists for a while, that means the Shrinking-UI has problems on fitting multi-resolution device, other B2G devices, such as Nexus, and 2.0 devices used by parters could also have this.

And this Shrinking UI is system-wise, which means all Apps using ShrinkingUI (Contacts, Browser, Galley, Music, Video) will have this problem.

Nominate this to 2.0
blocking-b2g: backlog → 2.0?
This does not block usage of the feature and there are many other UI indications of the swipe. It's also very late to land polish-level changes like this for 2.0. Moving to backlog.

Yoshi, if you think it blocks, please confer with the product owner for NFC and renominate. Thanks!
blocking-b2g: 2.0? → backlog
ni? for UX, is 'half arrow' shown in Comment 6 acceptable for UX?
Flags: needinfo?(jhuang)
It is NOT acceptable in UX perspective. I screen shot some of the screens in my device:
https://www.dropbox.com/s/etojrlc1whuik45/NFC_Arrow_truncate_l_2.png
https://www.dropbox.com/s/tat2nbg3h9mz6po/NFC_Arrow_truncate_l.png
https://www.dropbox.com/s/pd8v2mefqwn0krb/NFC_Arrow_truncate_p.png

I see sometimes the arraw is cut in half, sometime it's gone. In landscape mode, it sometimes even no script at all.

I know it might be late now, however, as Yoshi said, without the correct UI display, user doesn't not know how to do on the shrinking screen. I think it's important to provide a solid UI to guide user to the correct behaviour.

So I highly recommend that we fix this bug as soon as possible. If there's anything I can help in UI side, I am happy to provide visual assets anytime.
Flags: needinfo?(jhuang)
ni? for Weskley for Comment 11 to nominate this to 2.0+
Flags: needinfo?(whuang)
IMO, it's an obvious flaw, especially on Flame.
As the timing is a bit late for 2.0 fixes, I'm leaving this call to product.
ni? Sandip.
Flags: needinfo?(skamat)
Flags: needinfo?(whuang)
See Also: → 1033136
There are 2 kinds of use cases apart from the arrow issue. 

1. Cases Where user can still see the text "swipe to share"
2. cases Where users can't see "swipe to share" at all (see one of Juwei's examples above).

In case of #1, UI impact is low as users can at least read the text. 
In case of #2, the user impact is high. Users don't know what to do, They don't see arrow or text. Note that 2.0 is our first (ever) NFC support release and this handicap does not look polished. 

If there are risks to fix it fully, can a solution be found to avoid case #2?

BTW why is this coming at this time? This issue has been open since April.
Flags: needinfo?(skamat)
Ni? for Greg and Alive for Sandip's question in Comment 14.

Meanwhile request to nominate this 2.1+.
But if it's reasonable to make it 2.0+ please nominate to 2.0+
Flags: needinfo?(gweng)
Flags: needinfo?(alive)
Clearing needinfo because I am not actively working on shrinking UI bugs. Will bypass to George if Greg is full occupied.
Flags: needinfo?(alive)
While I'm occupied fully with LockScreen 2.1 features, I temporarily have no time to investigate this bug...I'll dive into it when it's possible.

Also, I remembered I fixed this one on Nexus 4. So it's may be a device (resolution) related issue, this means it's necessary to investigate to see if we can find a solution to fix it on as much as possible devices.

I'll NI myself to keep it in queue.
Flags: needinfo?(gweng)
Flags: needinfo?(gweng)
Thanks Greg. Will be great to get this in so our first launch of NFC with 2.0 release is well received from UX perspective.
take it
Assignee: nobody → gduan
(In reply to Juwei Huang from comment #11)
> It is NOT acceptable in UX perspective. I screen shot some of the screens in
> my device:
> https://www.dropbox.com/s/etojrlc1whuik45/NFC_Arrow_truncate_l_2.png
> https://www.dropbox.com/s/tat2nbg3h9mz6po/NFC_Arrow_truncate_l.png
> https://www.dropbox.com/s/pd8v2mefqwn0krb/NFC_Arrow_truncate_p.png

Wow, these are far worse than the original attachments.

Juwei, does UX team have a set of screen sizes and resolutions that engineers should use to test their code? It might help developers and code-reviewers when evaluating if a big UI feature like this one is ready to land.
Flags: needinfo?(jhuang)
Hi Dietrich, it looks bad indeed.
I believe visual team has different resolutions for dev.
Need info Fang.

Hi Fang,
Can you help to see the link attached on comment 11?
Is there anything we can help such as provide different resolution assets for developers?
Flags: needinfo?(jhuang)
Attached file NFC_VisualSpec.zip
Attached the updated assets & visual spec, Thanks!
Attached file PR to master
patch is ready. waiting for ui review.
Attached file after_patch.zip (obsolete) —
Hi Fang,
could you do a ui review for it?
the zip file contains portrait and landscape cases when tilting. I'll prepare one device for you to check tmr.
Attachment #8482331 - Flags: ui-review?(fshih)
Attachment #8482331 - Attachment is obsolete: true
Attachment #8482331 - Flags: ui-review?(fshih)
Hi Fang,
please kindly review the ui part. Thanks.
Attachment #8482470 - Flags: ui-review?(fshih)
Comment on attachment 8482470 [details]
after_patch_screenshots.zip

Looks great, thanks for all your help George!
Attachment #8482470 - Flags: ui-review?(fshih) → ui-review+
Comment on attachment 8482470 [details]
after_patch_screenshots.zip

Hi Alive,
could you review this patch?
I updated as below,
1. shrinkingUI should also treat landscape-secondary as landscape, so does portrait.
2. the ui refresh
3. for new app-chrome design, we need to do some css modification to make sure fullscreenapp/normalapp/appbrowser with same shrinking ui effect.
Attachment #8482470 - Flags: review?(alive)
Comment on attachment 8482324 [details] [review]
PR to master

Please read https://github.com/mozilla-b2g/gaia/pull/23585/files#r16980469 and tell me if that works for you.
Attachment #8482324 - Flags: review?(alive) → review+
It also affect 2.0 and 2.1 branch.
status-b2g-v2.0: --- → ?
status-b2g-v2.1: --- → ?
Attached file PR to 2.0
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): bug 997606
[User impact] if declined:  as attachment 8408030 [details]
[Testing completed]: unit test has covered part of this change. Mostly are ui change.
[Risk to taking this patch] (and alternatives if risky): Mostly are ui change, so I don't think it's risky.
[String changes made]: None.
Attachment #8487011 - Flags: approval-gaia-v2.0?
Attached file PR to 2.1
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): bug 997606
[User impact] if declined:  as attachment 8408030 [details]
[Testing completed]: unit test has covered part of this change. Mostly are ui change.
[Risk to taking this patch] (and alternatives if risky): Mostly are ui change, so I don't think it's risky.
[String changes made]: None.
Attachment #8487017 - Flags: approval-gaia-v2.1?
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8487017 - Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Sandip, its too late on anything no-blocking to land on 2.0 at this point. I understand the desire from product on having a crisped up UI for a new feature for 2.0, but this way is too late. If this was unacceptable, it should have been blocked on by product early-on. Multiple people on this bug have agreed that this isn't a ship-blocker. This is going to get fixed/cleaned-up in 2.1.
Attachment #8487011 - Flags: approval-gaia-v2.0? → approval-gaia-v2.0-
Bhavana, The 2.0+ blocking flag was not added due to the timing of this and unknown risks involved at that time. I would like this to be made available for latest Flame (which it will get), but specifically for our OEM partners to cherry pick. From Product perspective, this fix is essential for 2.0 commercial NFC launches. What mechanism do we have to indicate this to partners? (release notes is one way I think)
This issue is verified fixed on Flame 2.1 and 2.2.

Result: The arrow under "Swipe to share" is displayed properly.

Device: Flame 2.1 (319mb)(Kitkat Base)(Full Flash)
BuildID: 20141105001204
Gaia: 154da5e17029a51002d5d9b7df39563d509edde6
Gecko: 3b0c3580a58d
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 34.0 (2.1) 
Firmware Version: v188
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

Device: Flame 2.2 Master (319mb)(Kitkat Base)(Full Flash)
BuildID: 20141105040206
Gaia: 7c9e7cabbde941b976e0e40a3a1d94e21aa9c5e9
Gecko: 62990ec7ad78
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 36.0a1 (2.2) 
Firmware Version: v188
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
Status: RESOLVED → VERIFIED
Flags: needinfo?(ktucker)
QA Whiteboard: [COM=NFC] → [QAnalyst-Triage?][COM=NFC]
QA Whiteboard: [QAnalyst-Triage?][COM=NFC] → [QAnalyst-Triage+][COM=NFC]
Flags: needinfo?(ktucker)
Flags: needinfo?(gweng)
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: