Closed
Bug 951423
Opened 11 years ago
Closed 10 years ago
[B2G][Calendar][Day View]Header displays truncated if date exceeds eighteen characters.
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Tracking
(blocking-b2g:1.3+, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed)
People
(Reporter: rkuhlman, Assigned: mmedeiros)
References
Details
(Keywords: late-l10n, regression, Whiteboard: [apz_testrun], burirun1.3-2)
Attachments
(8 files, 1 obsolete file)
The calendar app has a 'Day' tab that allows the user to view all of their calendar dates for a single day. The date of the page being viewed is displayed in the header. The date is displayed in <Weekday> <Month> <Date> format.(ex: 'Monday December 16') If the date string contains eighteen or more characters, the display will be truncated. Only the first fifteen characters are displayed, followed by a '...' elipsis. Repro Steps: 1) Updated Buri to Build ID: 20131216140918 2) Launch Calendar app. 3) Navigate to 'Day' tab. Actual: The header is truncated for any date that exceeds 18 characters in length. Expected: The header is never truncated. Build Environmental Variables: Gaia 504cf9a988cd84760b4040706ccc41e508a97fd2 Gecko 55b75ce2263e7d2a8cbfdabc7e5206d9caa89f98 BuildID 20131216140918 Version 28.0a2 ro.build.version.incremental=eng.archermind.20131114.105818 ro.build.date=Thu Nov 14 10:58:33 CST 2013 RIL Type : Mozilla RIL OS Version: 1.3 Device: Buri Notes: Repro frequency: 100% See attached screenshot and logcat. This issue occurs both with and without APZ enabled. Issue also occurs on current default 1.3 build.
Reporter | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #1) > Does this reproduce on 1.2? This reproduces in the latest Buri v1.2 build. It appears the issue is worse in this build, where any header more than 13 characters gets truncated with '...' ellipses. Environmental Variables: Device: Buri v1.2 COM RIL BuildID: 20131217004001 Gaia: 4f53ba8b3628ac311253fc28dfdf66e7ba6832de Gecko: 129ad3c335a5 Version: 26.0 Firmware Version: V1.2_US_20131115
Keywords: qawanted
QA Contact: rkunkel
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Screenshot of the issue from the Buri v 1.2.0 Mozilla RIL has been attached.
Keywords: qawanted
Comment 7•11 years ago
|
||
Yuck. This is one nasty papercut - it makes the day view not very useful for determining the current day viewed. This has to be a regression because I don't recall truncation originally happening this bad originally. Probably can't block on this for 1.2 at this point (even though this does look bad), but I'd really like to see this fixed in 1.3. Dylan - Can someone on your team look into this?
Flags: needinfo?(doliver)
Keywords: qawanted
Updated•11 years ago
|
Keywords: qawanted → regression
Comment 8•11 years ago
|
||
Hi Jason, I think it is also a UX issue. We should needinfo Harly for this.
Flags: needinfo?(hhsu)
Comment 9•11 years ago
|
||
This is really a disaster as the user can not see the day in the day view. For UX side, we would like to propose the following solution: 1. Use abbreviation for month and day of the week, for example: Dec.19, Thu 2. Rearrange title, for example December 19, Thursday 3. Use number for month, for example Thursday 12/19 4. Move day of week out of header, and the header will only display December 19 (Need visual support) Evan, could you study the feasibility of each one?
Flags: needinfo?(hhsu)
Comment 10•11 years ago
|
||
UX - Do you guys see this as a blocker for 1.2?
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 11•11 years ago
|
||
CC'ing Gareth also to review the suggestions in comment #9. I don't think we should block 1.2 on this but we can get a solution for 1.3.
blocking-b2g: --- → 1.3?
Flags: needinfo?(doliver)
Comment 12•11 years ago
|
||
Clearing needinfo on UX - comment 11 I think gives a path forward.
Flags: needinfo?(firefoxos-ux-bugzilla)
Updated•11 years ago
|
blocking-b2g: 1.3? → 1.3+
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Updated•10 years ago
|
Assignee: nobody → miller
Comment 13•10 years ago
|
||
I did a quick test and for English it does fit properly with abbreviated month name + day + full day of the week. For pt-br it would also work "Dez 31, Quarta-feira" ("Wednesday" and "Quarta-feira" are both the biggest words) I will do a pull request in a few hours. Just sending the attachment since I did not see any feedback about which option should be used.
Flags: needinfo?(evanxd)
Comment 14•10 years ago
|
||
Attachment #8356819 -
Flags: review?(gaye)
Comment 15•10 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #12) This issue appears to be occuring since the first Buri v1.2 build. - First Broken - 6/21 Environmental Variables: Device: Buri 1.2 MOZ BuildID: 20130621031231 Gaia: e2f19420fa6a26c4287588701efaec09a750dba1 Gecko: 7ba8c86f1a56 Version: 24.0a1 Firmware Version: 20131115
Keywords: regressionwindow-wanted
Comment 16•10 years ago
|
||
Hi Miller, Anything I could help you for the needinfo from me?
Flags: needinfo?(evanxd)
Assignee | ||
Comment 17•10 years ago
|
||
(In reply to Evan Tseng [:evanxd] from comment #16) > Hi Miller, > > Anything I could help you for the needinfo from me? Hi Evan, the needinfo was just because Harly asked for feedback/feasibility of each option and I ended up implementing what I thought that worked well for current cases. Just wanted you to confirm that current solution is good enough to consider the bug as "fixed".
Assignee | ||
Updated•10 years ago
|
Assignee: miller → mmedeiros
Assignee | ||
Updated•10 years ago
|
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Comment 18•10 years ago
|
||
Hi Miller, Got it. The patch looks good. There is just a little question about the integration test. See it in https://github.com/mozilla-b2g/gaia/pull/15083/files#r8748601. Thanks.
Comment 19•10 years ago
|
||
BTW, one more thing we should notice. After we send a PR to Gaia repo, we need to make sure Travis is good for the patch. This patch seems have some issues in Travis. See the below images. But the issues seems to be not related with this patch. So let us run it on Travis again.(I already did that) Thanks.
Comment 20•10 years ago
|
||
Comment 21•10 years ago
|
||
Comment 22•10 years ago
|
||
The "Error on Travis - 1" and "Error on Travis - 2" images mean that there are some issues happen on Travis for the patch. In normal case, we could land the patch after r+ and Travis is good.
Assignee | ||
Comment 23•10 years ago
|
||
I saw that the Travis build failed but it looks like the error is on separate components and not related to the code I introduced. It seems that the build was re-run and now there is only [1 failing test related to the browser](https://travis-ci.org/mozilla-b2g/gaia/jobs/16553414) ("search navigate to invalid page (about:neterror) loads net_error.html from system" on "/home/travis/build/mozilla-b2g/gaia/apps/browser/test/marionette/navigate_test.js:87:16") I simplified the integration test and added a comment explaining why I validate the content and container width before checking if both values match.
Comment 24•10 years ago
|
||
Hi Miller - Your patch looks good! Thanks :) I'm a bit worried about the integration test. Yesterday I was trying to reenable some calendar tests that click over to the today tab, but there are still some flakes. Will you go ahead and run your integration tests 20 or so times on CI to make sure that we're solid? You can see an example here https://github.com/mozilla-b2g/gaia/pull/15083/files. Also, in the future, if there's a failure that you didn't introduce on CI, filing a bug is great. Short of that, if you sign into Travis (oauth with GitHub) you can rerun the build. In general, I will not r+ something that fails on Travis (even if you didn't introduce the failure).
Updated•10 years ago
|
Flags: needinfo?(mmedeiros)
Assignee | ||
Comment 25•10 years ago
|
||
talked with gaye over IRC and he said that proper way to do it is to ask for PR directly to the master branch and somebody else will cherry-pick commit into proper branches. CI still needs to finish but I think it should be good to go. Next time I'll open bugs for failing tests as well, wasn't aware of the process and heard about many failing tests on the #gaia channel (so I thought it was being ignored for now / know bugs).
Attachment #8356819 -
Attachment is obsolete: true
Attachment #8356819 -
Flags: review?(gaye)
Flags: needinfo?(mmedeiros)
Assignee | ||
Comment 26•10 years ago
|
||
travis build passed! https://travis-ci.org/mozilla-b2g/gaia/builds/16672108
Flags: needinfo?(gaye)
Updated•10 years ago
|
Attachment #8357885 -
Flags: review+
Flags: needinfo?(gaye)
Comment 27•10 years ago
|
||
Merged onto master https://github.com/mozilla-b2g/gaia/commit/61797fd7cf908f13f140b98f94ace038e2321c05
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 28•10 years ago
|
||
Had to disable day_view_test.js in travis for perma-red. Bug 959901 It's not clear to me what caused this issue (might even be a gecko change), but please investigate and re-enable the test when you have the chance. https://github.com/mozilla-b2g/gaia/commit/424a004947754238571efcabf153b52b7d826717
Depends on: 959901
Comment 29•10 years ago
|
||
Hi Miller, The patch looks great, I am just wondering if all the languages Firefox OS supported will fit within the 18 characters limitation with abbreviation for month?
Comment 30•10 years ago
|
||
As this landed without a string ID change, the l10n communities will hardly notice the change.
Keywords: late-l10n
Comment 31•10 years ago
|
||
Uplifted 424a004947754238571efcabf153b52b7d826717 to: v1.3: a1ee40b96be8ec2a2117c83987cd042534ab4141
status-b2g-v1.3:
--- → fixed
Updated•10 years ago
|
Whiteboard: [apz_testrun] → [apz_testrun], burirun1.3-2
Reporter | ||
Comment 32•10 years ago
|
||
This issue still occurs when the device is set to Serbian-Cyrillic. See attached screenshot. Environmental Variables: Device: Buri v1.3 Moz RIL BuildID: 20140220004003 Gaia: a73dbe99db9e01f994f09c012e180a5596aa1847 Gecko: 32fd5d798477 Version: 28.0 Firmware Version: v1.2-device.cfg
Updated•10 years ago
|
status-b2g-v1.3T:
--- → fixed
status-b2g-v1.4:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•