Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Fix hangs and NREs with Entry Observer #14859

Merged
merged 2 commits into from
Nov 10, 2021
Merged

Fix hangs and NREs with Entry Observer #14859

merged 2 commits into from
Nov 10, 2021

Conversation

jfversluis
Copy link
Member

Description of Change

The fix in #14828 caused, again, issues unfortunately. I have now taken the changes from Javier in #14790 which do seem to work better. Reverted the one commit and added Javiers fix.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

jfversluis and others added 2 commits November 9, 2021 16:30
Co-Authored-By: Javier Suárez <javiersuarezruiz@hotmail.com>
@jfversluis jfversluis merged commit 5188c4f into 5.0.0 Nov 10, 2021
@jfversluis jfversluis deleted the fix-14828 branch November 10, 2021 10:42
@lee-m
Copy link
Contributor

lee-m commented Nov 10, 2021

@jfversluis Does Javier's change actually fix the issue? In #14790 you commented

Seeing the response from @tylerjnettleton it doesn't seem to fix it, just waiting for them to confirm so we can move forward on the other fix.

Where the "other fix" is the change that has now been reverted in favour of those in #14790. What is a huge concern for me is the severity of this (bit of a showstopper for us) and that the description of why the crash occurs does not match what I'm seeing with my own code.

It'd be a real pain to have to wait a month for SR8 for any follow on fixes for this.

@jfversluis
Copy link
Member Author

@lee-m you're welcome to try out version 5.0.0.7816 on the PR feed and let me know :)

My fix was causing crashes/hangs in other areas, so clearly that wasn't the way as well

@lee-m
Copy link
Contributor

lee-m commented Nov 10, 2021

@jfversluis I'll happily test out the PR NuGet but I won't be in a position to do this until tomorrow, unfortunately. Hopefully everything still works :)

@jfversluis
Copy link
Member Author

No rush! Let me know how it goes! This one, among others, I have found a couple of things to iron out before creating the actual release. It will probably be early next week.

@lee-m
Copy link
Contributor

lee-m commented Nov 11, 2021

@jfversluis Using 5.0.0.7816 on the PR feed also fixes the crash I'm seeing. I've still got no idea how given the explanation but it does so I must be missing something :)

Looking forward to getting my hands on this in SR7!

@jfversluis
Copy link
Member Author

YES! That is great news. Thanks for working together on this @lee-m

Be on the lookout for the new release!

jfversluis added a commit that referenced this pull request Nov 16, 2021
jfversluis added a commit that referenced this pull request Nov 16, 2021
* Revert "Fix hangs and NREs with Entry Observer (#14859)"

This reverts commit 5188c4f.

* Revert "Refactor observer lifecycle (#14828)"

This reverts commit f95f671.

* Revert "Fix crashing on iOS < 14 if ClearButtonVisibility = WhileEditing in Entry (#14479 #14510) (#14526)"

This reverts commit a21b36a.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NsRangeException while leaving content page containing custom entry with Xamarin Forms (v5.0.0.2196)
3 participants