Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sliders Number Problem #66341

Open
Tracked by #125329
erenalpt opened this issue Sep 22, 2020 · 8 comments
Open
Tracked by #125329

Sliders Number Problem #66341

erenalpt opened this issue Sep 22, 2020 · 8 comments
Labels
e: device-specific Only manifests on certain devices f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. P3 Issues that are less important to the Flutter project team-design Owned by Design Languages team triaged-design Triaged by Design Languages team

Comments

@erenalpt
Copy link

Hi. Flutter is a great project. But I came across something strange while using sliders. The numbers are rolling. Is this normal? I created it as a double. However, this sounded very strange. Is it normal to round the numbers?

https://i.ibb.co/yfD7FBp/sliderxcf.jpg

double sliders = 1;

        Text("Selected Sliders"),
        Slider(
          min: 0,
          value: sliders,
          max: 100,
          onChanged: (value) {
            setState(() {
              sliders = value;
            });
          },
          divisions: 100,
          label: sliders.toString(),
        ),

All done!
[✓] Flutter: is fully installed. (Channel stable, 1.20.4, on Linux,
locale tr_TR.UTF-8)
[!] Android toolchain - develop for Android devices: is partially
installed; more components are available. (Android SDK version
30.0.2)
[✓] Android Studio: is fully installed. (version 4.0)
[!] Android Studio: is partially installed; more components are
available.
[✓] Connected device: is fully installed. (1 available)

@darshankawar
Copy link
Member

Hi @erenalpt,
What issue are you seeing exactly ? The screenshot you shared doesn't reveal much. I tried the official Slider example and was able to see the number slide properly without any issues.
Thanks.

@darshankawar darshankawar added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Sep 22, 2020
@erenalpt
Copy link
Author

Hi @erenalpt,
What issue are you seeing exactly ? The screenshot you shared doesn't reveal much. I tried the official Slider example and was able to see the number slide properly without any issues.
Thanks.

Yes it is slipping. It just doesn't increase 1 to 1. I think it should go 28-29-30. But it looks like 28.xxxxx instead of 29 as in the picture. This happens at intervals, not for every number. I am using the Genymotion emulator.

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 22, 2020
@darshankawar
Copy link
Member

@erenalpt I don't see the number slipping. Tested on latest beta using Slider official example as mentioned above.

66341.mov.zip

Can you try on a physical device and see if you get same behavior ? Also please try the Slider official example.
Thanks.

@darshankawar darshankawar added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 22, 2020
@erenalpt
Copy link
Author

e
I'll look at the slider image example. Why am I facing such a situation with the above code. I wonder this.

Video:
https://streamable.com/sj0rzq

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 22, 2020
@erenalpt
Copy link
Author

e
I'll look at the slider image example. Why am I facing such a situation with the above code. I wonder this.

Video:
https://streamable.com/sj0rzq

I tried it on Xiaomi Mi 8. I still have the same problem with the video. No code errors. Because my code, flutter is the same as the official document.

@HansMuller HansMuller added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Sep 22, 2020
@darshankawar
Copy link
Member

I am unable to replicate the issue on devices I tried, but it seems to be happening on certain devices. Keeping this issue open for further analysis.

@darshankawar darshankawar added passed first triage e: device-specific Only manifests on certain devices and removed in triage Presently being triaged by the triage team labels Sep 23, 2020
@erenalpt
Copy link
Author

I am unable to replicate the issue on devices I tried, but it seems to be happening on certain devices. Keeping this issue open for further analysis.

Devices I have tried: Xiaomi mi 8, Mi 8 lite (physical device ), and genymotion emulator Google Pixel (API 28 - 9.0), Nexus 4 (API 19 - 4.4), Amazon Fire HD 10 (API 28 - 9.0).

@TahaTesser TahaTesser self-assigned this May 4, 2023
@TahaTesser TahaTesser removed their assignment Jun 19, 2023
@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-design Owned by Design Languages team triaged-design Triaged by Design Languages team labels Jul 8, 2023
@flutter-triage-bot flutter-triage-bot bot removed the triaged-design Triaged by Design Languages team label Jan 14, 2024
@flutter-triage-bot
Copy link

This issue is missing a priority label. Please set a priority label when adding the triaged-design label.

@HansMuller HansMuller added P3 Issues that are less important to the Flutter project triaged-design Triaged by Design Languages team labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e: device-specific Only manifests on certain devices f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. P3 Issues that are less important to the Flutter project team-design Owned by Design Languages team triaged-design Triaged by Design Languages team
Projects
None yet
Development

No branches or pull requests

5 participants