Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11255] iOS6 Custom Slider does not render correctly

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-09T04:40:20.000+0000
Affected Version/sRelease 2.1.3
Fix Version/sRelease 3.0.0, Sprint 2012-20 API, 2012 Sprint 20
ComponentsiOS
Labelsapi, ios6, module_slider, qe-ios6, qe-review, qe-testadded, rendering, slider
ReporterEli Mor
AssigneeVishal Duggal
Created2012-09-25T03:56:05.000+0000
Updated2012-10-26T19:15:04.000+0000

Description

Using the leftTrackImage, rightTrackImage properties for the slider, it does not render correctly on the new iOS6 as can be seen in the attached screen shots. iOS Simulator Screen shot Sep 24, 2012 8.37.22 PM.png is running iOS6 while iOS Simulator Screen shot Sep 24, 2012 8.37.47 PM.png is iOS 5.1 The default slider renders as it should.

Attachments

FileDateSize
Archive.zip2012-09-25T04:05:36.000+00001584009
iOS5.1 Simulator.png2012-09-25T04:03:59.000+000031823
iOS6 Simulator SDK 2.1.3.v20120915120319.png2012-09-25T04:03:59.000+000028475
iOS6 Simulator SDK 2.1.3.v20120921190208.png2012-09-25T04:03:59.000+000028119

Comments

  1. Rima Umbrasas 2012-09-26

    Able to reproduce on: Titanium Studio, build: 2.1.2.201208301612 Titanium Studio SDK, build:2.1.3.v20120925173111 Devices: iPod iOS6, iPhone simulator 6.0 Note: able to reproduce with KitchenSink> Controls> Slider> Basic.
  2. Vishal Duggal 2012-09-26

    Going to blame this partially on Apple and partially on the developer. Seems like Apple has a problem resizing stretchable images that are larger than the bounds of the receiver which shows up in IOS6. Was able to solve the problem by using smaller images (11x9 WxH). Going to mark this as HOLD
  3. Vishal Duggal 2012-09-26

    Have sent PR to update KS images
  4. Quentin CASACCI 2012-09-30

    Doesn't solve the problem for me here ... Tried smaller image, bigger image and image 11x9. With a smaller image the image (left) is ok, about 3/4 of the slider, then fill the rest of the slider, i think the problem is other than size. (Sorry for my english, i'm french).
  5. Tel Tel 2012-10-01

    Just come here to submit this bug but somebody did it before me... How come it is "resolved" tho?
  6. Daniel Sefton 2012-10-01

    Re-opened: Workaround is not working for users, and needs more clarification.
  7. Robert Baumgartner 2012-10-03

    I am seeing similar behaviour as Quentin. If I go with a smaller image (which isn't really an option in my case) it gets somewhat better, but the problem still occurs after maybe 50% of the slider. I hope this gets resolved soon, custom sliders look pretty bad like that.
  8. Quentin CASACCI 2012-10-03

    Yes it's an important problem to solve ! all custom sliders are visible like a nose in full midlle of the face, i hear customers screaming !!! :(
  9. Vishal Duggal 2012-10-04

    Pull pending https://github.com/appcelerator/titanium_mobile/pull/3111
  10. Olga Romero 2012-10-26

    Closing as fixed. Tested and verified with: Titanium Studio, build: 3.0.0.201210220122 Titanium SDK, build: 3.0.0.v20121025171611 Devices: iPhone5 ios 6.0 iPad2 ios 4.3.5 iPad3 ios 6.0
  11. Eli Mor 2012-10-26

    It's a shame it's not available in earlier releases. We need to wait until December to have this officially available?

JSON Source