Custom handler freezes VS
See original GitHub issueDescription
Creating a custom ViewHandler freezes VS when running the app.
Steps to Reproduce
Branch ViewHandler
- https://github.com/IeuanWalker/Maui.CustomSwitch/tree/ViewHandler
If you run the app on the above branch the app launch screen appears and VS goes into debug mode, but the app never fully launches and VS freezes, and you have to use task manager to kill VS.
If you comment out the an handler registration, the app and VS behaves as normal -
builder.ConfigureMauiHandlers(h => h.AddHandler<SwitchView, SwitchViewHandler>());
Link to public reproduction project repository
https://github.com/IeuanWalker/Maui.CustomSwitch/tree/ViewHandler
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13
VS Version
17.5.3
Issue Analytics
- State:
- Created 6 months ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
SQLAlchemy logging with custom handler freezes
I am trying to write my own Python logging handler which would write log records into a database using SQLAlchemy, which would also...
Read more >Causes and Fix for Frozen Inside Air Handler Coils ...
There are two common causes for freeze-up, and one is less expensive to fix than the other. The first cause is a freon...
Read more >Air handler freezing up
I have a Carrier central heat and air system, model # FX4ANF036. ... I'm having issues with the air handler freezing up.
Read more >Frozen Air Conditioner? Here's How to Fix it…
Make sure it's actually set to ON and not to AUTO. Automatic settings cause the fan to cycle—starting and stopping over and over...
Read more >9 Common Causes Why Does My AC Freezing Up
The Common Causes of AC Freeze Up are: 1Dirty Air Handler or Furnace Filter; 2Closed or blocked air vents; 3Thermostat set too low;...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
All sorted now, did the above approach and all works as expected
@mattleibow I’ve started looking into a different approach, you can see what I have done on the
ExtentContentViewHandler
branchSaw in the MAUI src code you build another handler on top of the
ContentViewHandler
, you do this forPageHandler
.Going to be taking a few days off now, but just want to make sure that this would be a good approach, and something the MAUI team expects people to do?
Doesn’t feel like there is a lot of documentation around this sort of stuff