Status Update
Comments
an...@google.com <an...@google.com>
ma...@google.com <ma...@google.com> #2
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #3
Please restart the device and check for this issue on the latest software build. If the issue is still reproducible please share the bugreport(to be captured immediately after resolving the issue) and screenrecord of the issue.
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Screen Record of the Issue Please capture screen record or video of the issue using following steps: adb shell screenrecord /sdcard/video.mp4 Subsequently use following command to pull the recorded file: adb pull /sdcard/video.mp4 Attach the file to this issue.
Description
Jetpack Compose release version: 1.0.0-beta05 Android Studio Build: Android Studio Arctic Fox | 2020.3.1 Canary 14 Build #AI-203.7717.56.2031.7260174, built on April 6, 2021 Runtime version: 11.0.9.1+0-b77-7246554 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.16 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 8 Registry: external.system.auto.import.disabled=true Non-Bundled Plugins: com.dubreuia, com.squareup.sqldelight, org.intellij.plugins.markdown
I have a slider that calls a callback only when the user releases their finger from the slider.
It works fine while running the app.
However when testing the component, the callback is not called:
You can find a reproducing project here:https://github.com/jschmid/ComposeSlider-BugUITest
The MainActivity shows the slider working in the logcat. However the intrumentation test does not pass.