Instruments 5.0.2: Value of UIASlider gets set incorrectly.
| Originator: | lingyi.kung | ||
| Number: | rdar://15723925 | Date Originated: | 12/24/2013 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 5.0.2 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: dragToValue() drags to the wrong value. This seems to be a continuation of bug #15235044 (where dragToValue() did not work at all). Steps to Reproduce: 1. Create an app with a UIASlider. 2. Profile the app using Automation. 3. Create a new script. 4. Record sliding the UIASlider to value x (which generates the command "target.frontMostApp().mainWindow().sliders()[0].dragToValue(x);"). 5. Reset the slider. 6. Replay the script. Expected Results: Replaying the script will set the slider back to value x. Actual Results: Replaying the script will set the slider to value x, plus or minus some deviation. Version: Xcode 5.0.2, OS X 10.8.5 Xcode 5.0.2, OS X 10.9.1 Xcode 5.0.0, OS X 10.8.5 Notes: Attached are two sample apps: xcode4_slider.tgz contains SliderExample, created using Xcode 4.6.3, and xcode5_slider.tgz contains SliderTest, created using Xcode 5.0.2. Also attached are screen captures of the bug: slider_xcode4.mov shows the expected behavior (using Xcode 4.6.3, OS X 10.8.5) and slider_xcode5.mov shows the bug (using Xcode 5.0.2, OS X 10.8.5). Configuration: Occurs: Xcode 5.0+ Doesn't occur: Xcode 4.6.3 Attachments: 'xcode4_slider.tgz', 'xcode5_slider.tgz', 'slider_xcode4.mov' and 'slider_xcode5.mov' were successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
I have potentially a duplicate of this
I made a radar that is potentially a duplicate of this, but I'm not sure because I'm not able to see the uploaded files in this bug report. Notably, the slider I saw jiggled wildly, which I didn't see mentioned in this radar.
http://openradar.appspot.com/radar?id=5816625622155264