Skip to content

[regression/8.0.0-preview.7.8842] Binding Issue: Multiple platform Slider control 'Value'Β #16720

Closed

Description

@Stedy59

Description

Slider control ValueProperty will not update using a bound property.

Steps to Reproduce

  1. Create a Slider
  2. Bind its Value property to a BindableProperty
  3. Slider value remains at 0

Link to public reproduction project repository

https://github.com/Stedy59/StedySoft.BindingIssues.1

Version with bug

8.0.0-preview.7.8842

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.0-preview.6.8686

Affected platforms

Android, Windows, I was not able test on other platforms

Affected platform versions

Windows SDK - all, Android API 34

Did you find any workaround?

No

Relevant log output

No response

Activity

  1. added
    area-xamlXAML, CSS, Triggers, Behaviors
    i/regressionThis issue described a confirmed regression on a currently supported version
    on Aug 15, 2023
  2. added this to the Backlog milestone on Aug 15, 2023
  3. ghost added
    legacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
    on Aug 15, 2023
  4. Stedy59 commented on Aug 15, 2023

    @Stedy59
    Author

    How can a bug like binding to the core property of a core Maui control on multiple platforms, be deemed a backlog issue???

  5. jsuarezruiz commented on Aug 16, 2023

    @jsuarezruiz
    Contributor

    Cannot reproduce the issue on current net8 branch with W11 22H2.
    issue-slider-net8

  6. Stedy59 commented on Aug 16, 2023

    @Stedy59
    Author

    image

    ScreenCapture_4
    ScreenCapture_5

  7. Stedy59 commented on Aug 16, 2023

    @Stedy59
    Author

    Cannot reproduce the issue on current net8 branch with W11 22H2. issue-slider-net8

    @PureWeen @davidortinau I don't think this issue is just with the slider control... Prior to the latest release, the core binding logic for two-way binding was modified. If you set a value to a control property, then attempt to bind the control, two way binding no longer works.... And guaranteed to fail if you use templated controls!

    I spend 4 days researching this, and creating multiple projects for your team.... One could reproduce this at will. Two way binding is broken... on multiple platforms.

  8. daltzctr commented on Aug 16, 2023

    @daltzctr
    Contributor

    I can also reproduce this.

  9. StephaneDelcroix commented on Aug 17, 2023

    @StephaneDelcroix
    Contributor

    should be fixed by #16410

  10. Stedy59 commented on Aug 17, 2023

    @Stedy59
    Author

    should be fixed by #16410

    @StephaneDelcroix I am using the Nightly Builds. The last Maui nightly was August 10th. Any idea when this might be merged and a nightly build run. I would like to test ASAP to validate my code. Thank you for your attention on this.

  11. modified the milestones: Backlog, .NET 8 GA on Aug 17, 2023
  12. samhouts commented on Aug 17, 2023

    @samhouts
    Contributor

    @Stedy59 We'll get a new nightly up as soon as possible. If this isn't fixed in the new build, let me know! Thanks!!

  13. developer9969 commented on Aug 20, 2023

    @developer9969

    is the above related to #16849 where it says that is not fixed

  14. ghost locked as resolved and limited conversation to collaborators on Sep 21, 2023
  15. removed
    legacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
    on May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions