Closed DeepWorksStudios closed 2 months ago
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.
Hi @DeepWorksStudios,
Did you find any workaround for this issue?
Hi @DeepWorksStudios,
Did you find any workaround for this issue?
Yes i did via completely trying to avoid the control element 'frame' i used only border since the frame element suffers alot of issues somehow idk why but i had alot of issues with it in the past.
So i repeat just try to avoid it and use border instead.
Hope it will help you to succed your goal. Cheers
Hi @DeepWorksStudios, Did you find any workaround for this issue?
Yes i did via completely trying to avoid the control element 'frame' i used only border since the frame element suffers alot of issues somehow idk why but i had alot of issues with it in the past.
So i repeat just try to avoid it and use border instead.
Hope it will help you to succed your goal. Cheers
Thanks for your response, @DeepWorksStudios.
I am facing the same issue with the Label control. In my case, I can't avoid using the label control. If you know the root cause of the issue, kindly let me know. It would be very helpful to investigate the issue further.
Hi @DeepWorksStudios, Did you find any workaround for this issue?
Yes i did via completely trying to avoid the control element 'frame' i used only border since the frame element suffers alot of issues somehow idk why but i had alot of issues with it in the past.
So i repeat just try to avoid it and use border instead.
Hope it will help you to succed your goal. Cheers
Thanks for your response, @DeepWorksStudios.
I am facing the same issue with the Label control. In my case, I can't avoid using the label control. If you know the root cause of the issue, kindly let me know. It would be very helpful to investigate the issue further.
Just simply remove the frame and replace it with a border
Hi @DeepWorksStudios. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 3. Not repro on android platforms with sample project. DeepWorksStudios/ReproductionProjectBug15196_ServiceCrash (github.com)
The issue still presist
I updated the repo accordingly
any updates?
any updates? it been a while
Description
I am currently developing a messaging app and have discovered a strange bug. As soon as I started implementing a background service and a separate foreground service, I observed that my app would crash as soon as the service was running and the app was closed and then reopened. I thought it was the fault of my service and yes it is partially the fault but not the root. I thought because my service starts twice it causes the crash, after fixing the problem I found out that my service somehow keeps the main app activity alive which would be fine but it causes a crash when opened twice.
The reason was hard to diagnose, my loginPage had used an entry nested in a frame and it seems that on the second launch the code tries to disconnect some old handlers but the object has already been disposed.
I found this out by diagnosing the callstack and trying to reproduce it with a clean project with only the services and code of my loginPage. how to fix it i honestly don't know but i really despairt of such errors.
Steps to Reproduce
if the isssue still remains it leads to an crash
i added the log, callstack and a repoduction repo exception.txt callStack.txt debugLog.txt
Link to public reproduction project repository
Repoduction Project
Version with bug
7.0.86
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
API Level >= 26
Did you find any workaround?
Only to avoid nesting an Entry into a Frame. Border seems to work fine so i will use this instead .
Relevant log output