maui icon indicating copy to clipboard operation
maui copied to clipboard

[iOS] [MacCatalyst] Entry Text color not updated initially when updating text from code behind in .NET MAUI

Open anandhan-rajagopal opened this issue 1 year ago • 8 comments

Description

When initializing the Entry control with TextColor as "red" and then updating the Text property from code behind in .NET MAUI on the iOS and MacCatalyst platforms, the text color is not updated initially.

https://github.com/dotnet/maui/assets/97146406/a5fd2603-34cb-43df-8441-111f0ca4dceb

Note: Once I clear the text and start re-entering or updating it from the code behind, it works fine.

Steps to Reproduce

  1. Run the attached sample
  2. Click the Button
  3. The text will updated but the text color remains "black".

Expected Behavior The text will updated with "red" text color

Link to public reproduction project repository

https://github.com/anandhan-rajagopal/iOS-MacCatalystEntryBreaking.NET8.0

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iOS 11 or higher, macOS 11.15 or higher

Did you find any workaround?

NA

Relevant log output

No response

anandhan-rajagopal avatar Dec 18 '23 10:12 anandhan-rajagopal

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

ghost avatar Dec 18 '23 15:12 ghost

Could be the same or related with https://github.com/dotnet/maui/issues/19424

jsuarezruiz avatar Dec 20 '23 12:12 jsuarezruiz

Is any workaround for this @jsuarezruiz ?

Ahamed-Ali avatar Dec 28 '23 05:12 Ahamed-Ali

I would also be interested in a workaround ....

MSicc avatar Jan 03 '24 17:01 MSicc

Given that this bug breaks any production application deployed to MacOs with .Net 8..... when can we expect a fix?

mootah01 avatar Jan 04 '24 09:01 mootah01

This breaks my production IOS .NET 8 app so .. Please .. do fix this!!!

exquirentibus avatar Jan 04 '24 11:01 exquirentibus

Any updates on this?

BrundhaVelusamy avatar Jan 24 '24 05:01 BrundhaVelusamy

@SF3969 @anandhan-rajagopal @exquirentibus @jsuarezruiz the fix is here https://github.com/dotnet/maui/pull/20100

kubaflo avatar Jan 27 '24 12:01 kubaflo

Sadly it's apparently Not fixed yet as there are multiple failed checks for #20100? Hopefully as a regression this will get some attention as when the data is .. invisible .. that causes a it of a problem?

exquirentibus avatar Feb 02 '24 19:02 exquirentibus

any update on this ?

Ahamed-Ali avatar Mar 19 '24 05:03 Ahamed-Ali

@Ahamed-Ali @exquirentibus the fix is here https://github.com/dotnet/maui/pull/20100

kubaflo avatar Mar 19 '24 09:03 kubaflo

Reviewing the above PR , it seems that the fix is not merged yet.. Can you please let us know when it will be merged ? @kubaflo

Ahamed-Ali avatar Mar 26 '24 12:03 Ahamed-Ali

Reviewing the above PR , it seems that the fix is not merged yet.. Can you please let us know when it will be merged ? @kubaflo

@Ahamed-Ali unfortunately, I cannot tell you when it will be merged - I'm not the one who can merge PRs 😅

kubaflo avatar Mar 26 '24 13:03 kubaflo

@kubaflo PR merged, Which Maui version can I expect this Fix ?.

letscodewithkalyan avatar May 02 '24 01:05 letscodewithkalyan

In which version of Maui can we expect this fix, @kubaflo?

BrundhaVelusamy avatar May 23 '24 06:05 BrundhaVelusamy