Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20267] Android: Slider track not show under transaprent image

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-06-08T18:26:42.000+0000
Affected Version/sRelease 5.1.2, Release 5.1.1
Fix Version/sRelease 6.2.0
ComponentsAndroid
Labelsandroid, slider, thumbImage
ReporterCREATIVE KAIZEN
AssigneeFrankie Merzadyan
Created2016-01-18T20:31:00.000+0000
Updated2017-06-12T20:20:55.000+0000

Description

Slider track is not show under transparent thumbImage: *How to reproduce*: var slider = Ti.UI.createSlider({ min: 1, max: 51, value: 51, backgroundImage: 'background.png', thumbImage: 'thumb.png' }); *Expected behaviour*: Track should be visible under transparent image. It was working in past version. *Actual behavior*: The track is not showed under image no matter if it is transparent or not. !Zrzut ekranu 2016-01-18 o 21.19.42.png|thumbnail!

Attachments

FileDateSize
Zrzut ekranu 2016-01-18 o 21.19.42.png2016-01-18T20:28:22.000+00007270
Zrzut ekranu 2016-01-20 o 16.09.05.png2016-01-20T15:18:08.000+00005623

Comments

  1. Jebun Naher 2016-01-19

    Hello, We have tested this issue but couldn't reproduce this as a bug in our environment. Slider track is showing as expected under transparent image. Please find the link below to see the output. [Simulator output](http://postimg.org/image/48rdyhqdj/) [Emulator output](http://postimg.org/image/odexmkkmd/) *Testing Environment:* Appcelerator Studio, build: 4.4.0.201511241829 Appcelerator Command-Line Interface, version 5.1.0 Titanium Command-Line Interface, CLI version 5.0.5, Titanium SDK version : 5.1.1GA, 5.1.2 GA Mac OS X : 10.11.1 (EI Capitan) Node.js Version = 0.12.7 iOS Simulator: iPhone5s(iOS 9.1) Android Emulator: Samsung Galaxy S4-4.4.4 *Test Case:*
       var win = Ti.UI.createWindow();
       var slider = Ti.UI.createSlider({
       	min : 1,
       	max : 51,
       	value : 51,
       	thumbImage : 'round2.png'
       });
       win.add(slider);
       win.open();
       
    *Steps to test:* 1. Create a classic project and replace app.js with the above code 2. Place a transparent image inside resource directory 3. Run the app Result: Observe that slider track is shown as expected under the transparent image. Thanks.
  2. CREATIVE KAIZEN 2016-01-20

    1. On iOS there is no problem. 2. I followed all steps and your code on Android cause same effect as reported. !Zrzut ekranu 2016-01-20 o 16.09.05.png|thumbnail!
  3. Jebun Naher 2016-01-21

    Hello, I could reproduce this issue on physical device but not on emulator. Following is the device information: Nexus 7(Android version: 6.0.1) *Steps to reproduce*: As mentioned in my earlier post. *Actual behavior*: Slider track is not showed under transparent image. *Expected behavior*: Slider track should be visible Thanks.
  4. CREATIVE KAIZEN 2016-01-21

    Hello, I could reproduce it on other device: Sony Xperia Z2 (Android 5.1.1). I also found that such error occurs with older version of application (few months old I guess), so it is not new bug. And have you tested on Android Emulator or GenyMotion Emulator - there might be a reson why you couldn't reproduce. Regards
  5. Frankie Merzadyan 2017-03-07

    master: https://github.com/appcelerator/titanium_mobile/pull/8863
  6. Samir Mohammed 2017-06-12

    Verified fix in SDK Version 6.2.0.v20170612114319. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8863

JSON Source