Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17703] "Ti.UI.Dashboarditem" badges are not correctly displayed on iPhone 6/6+ simulator

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-09-26T23:36:42.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 3.4.0, Release 3.5.0
ComponentsiOS
Labelsqe-3.4.0
ReporterFederico Casali
AssigneeChris Barber
Created2014-09-16T15:18:10.000+0000
Updated2014-11-21T20:26:29.000+0000

Description

Problem description

Ti.UI.Dashboarditem object is not displaying badges and the close 'X' button correctly on iPhone 6 and iPhone 6+ simulators. Those are correctly displayed on iPad mini device with iOS 8.

Steps to reproduce

Sample code attached extracted from KitchenSink - so to reproduce, either run Kitchensink and go to Views>Dashboard Views or run the attached sample project. 1. Run the sample on both iPhone 6 simulators and iOS device with iOS 8 and check the Dashboarditem badge for the first item. Result: Badge displayed is on the top left, just a white number. See comparison screenshots. 2. Click and hold to re-order or delete the icons Result: 'Delete' button is displayed with no 'X' in the middle. See comparison screenshots.

Attachments

FileDateSize
Dashboarditem_sample.zip2014-09-16T18:32:25.000+00008675909
iPadDevice_iOS8_badgeCount.PNG2014-09-16T15:18:10.000+000052025
iPadDevice_iOS8_delete.PNG2014-09-16T15:18:10.000+000062086
iPhone6_simulator_badgeCount.png2014-09-16T15:18:10.000+000045966
iPhone6_simulator_delete.png2014-09-16T15:18:10.000+000056467

Comments

  1. Jon Alter 2014-09-16

    This is a CLI issue. Assigning to CB1kenobi. Reproducable with TiSDK 3.3.0.GA Happens on on simulator builds, works fine on device. Not iOS 8 or iPhone 6 related.
  2. Chris Barber 2014-09-16

    Master: https://github.com/appcelerator/titanium_mobile/pull/6095 3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6096 To test, you need to test Ti.UI.DashboardItem and Ti.UI.ImageView (without specifying an image so that the default image is displayed). I believe you can test this by running KitchenSink and finding the appropriate tests.
  3. Ewan Harris 2014-09-16

    Verified fix on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.4.0.201409131030 Titanium SDK build: 3.4.0.v20140916151649 Titanium CLI, build: 3.4.0-rc4 Alloy: 1.5.0-rc2 Xcode6 GM Seed iPhone 6 Simulator, iPhone 6 Plus Simulator KitchenSink 3.1.1 Navigated to Views->Dashboard Views,the badge was displayed correctly and when trying to remove and app the delete button was displayed correctly. Closing ticket.
  4. Chris Barber 2014-09-26

    Reopening to set story points.

JSON Source