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

OnIdiom with Binding doesn't work in Release mode #22877

Closed
davidortinau opened this issue Jun 6, 2024 · 1 comment · Fixed by #24594
Closed

OnIdiom with Binding doesn't work in Release mode #22877

davidortinau opened this issue Jun 6, 2024 · 1 comment · Fixed by #24594
Assignees
Labels
area-xaml XAML, CSS, Triggers, Behaviors fixed-in-8.0.90 fixed-in-9.0.0-rc.2.24503.2 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst t/bug Something isn't working
Milestone

Comments

@davidortinau
Copy link
Contributor

davidortinau commented Jun 6, 2024

Description

I'm using code like this, and it works in Debug but not Release.

<Label Text="{OnIdiom {Binding BoundString}, Phone=Grade}" />

ReleaseBindings.zip

Release build:
Screenshot 2024-06-05 at 10 48 39 PM

Debug build:
Screenshot 2024-06-05 at 10 47 05 PM

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.0-preview.4.10690
8.0.40

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@davidortinau davidortinau added the t/bug Something isn't working label Jun 6, 2024
Copy link
Contributor

github-actions bot commented Jun 6, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@jsuarezruiz jsuarezruiz added the area-xaml XAML, CSS, Triggers, Behaviors label Jun 6, 2024
@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 6, 2024
StephaneDelcroix added a commit that referenced this issue Jun 26, 2024
align debug behavior with compiled one. OnIdiom doesn't tell the
compiler the type returned, so it can't Setbinding

- fixes #18697
- fixes #22877
StephaneDelcroix added a commit that referenced this issue Jul 18, 2024
align debug behavior with compiled one. OnIdiom doesn't tell the
compiler the type returned, so it can't Setbinding

- fixes #18697
- fixes #22877
github-actions bot pushed a commit that referenced this issue Aug 9, 2024
align debug behavior with compiled one. OnIdiom doesn't tell the
compiler the type returned, so it can't Setbinding

- fixes #18697
- fixes #22877
StephaneDelcroix added a commit that referenced this issue Sep 4, 2024
- fixes #19388
- fixes #18697
- fixes #22877
- closes #23798
- closes #23272

and some others
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-xaml XAML, CSS, Triggers, Behaviors fixed-in-8.0.90 fixed-in-9.0.0-rc.2.24503.2 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst t/bug Something isn't working
Projects
None yet
4 participants