Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15931] Custom thumbImage cut in half if moved at the end of the slider.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid, slider, thumbImage
Reporterrj masiglat
AssigneeUnknown
Created2013-12-07T02:19:48.000+0000
Updated2018-02-28T20:03:39.000+0000

Description

half of the thumbImage disappear if moved at the end of the slider

Attachments

FileDateSize
Titanium Slider Bug.PNG2013-12-07T02:19:48.000+00003843

Comments

  1. Shak Hossain 2013-12-08

    Hi, We are looking into this. However, we could expedite this review if you post some test case or code snippet from your project where you have the slider implementation. Thanks,
  2. rj masiglat 2013-12-09

    var slider = Ti.UI.createSlider({
       		min: 70,
       		max: 480,
       		thumbImage: '/images/slider/thumbImage.png',
       		leftTrackImage: '/images/slider/leftTrack.png',
       		rightTrackImage: '/images/slider/rightTrack.png',
       		width: 315,
       		height: 45,
       		top: '10%',
       	});
       
    hello here's a snippet from my code. Thanks.
  3. Mostafizur Rahman 2013-12-09

    Hello, We tested this issue and reproduced intermittently as per code sample below. We are moving this to TIMOB so that we can do further investigation on this. Thank you very much for reporting this. We appreciate you helping us to improve our product. Regards,

    Test Environment:

    OS: MAC OS X 10.8.5 Ti SDK: 3.1.3 GA, 3.2.0.x Ti CLI: 3.3.0 Android Device Android SDK 2.3.3, 4.2.2

    Test Code

       Titanium.UI.setBackgroundColor('#000');
         
       var win1 = Titanium.UI.createWindow({  
           title:'Tab 1',
           backgroundColor:'#fff',
           layout:"vertical"
       });
         
       var slider = Titanium.UI.createSlider({
           min: 70,
           max: 480,
           width: 315,
           height: 45,
           top: '10%',
           value:90
           });
          
           var slide2 = Titanium.UI.createSlider({
           min: 0,
           max: 100,
           thumbImage: 'thnumImage.png',
           width: 315,
           height: 45,
           top: '10%',
           value:0,
           top:50
           });
        
        
       win1.add(slider);
       win1.add(slide2); 
       win1.open();
       

    Steps to Reproduce:

    Create a simple mobile project.

    Paste this code in app.js

    Then Run this with testing environment

    Custom thumb Image cut off in 2nd slider

    Thanks

JSON Source