SteveSandersonMS / WebWindow

.NET Core library to open native OS windows containing web UI on Windows, Mac, and Linux. Experimental.
Apache License 2.0
1.98k stars 215 forks source link

Setting window.Title crashes on Mac #9

Open mika76 opened 4 years ago

mika76 commented 4 years ago

In the vue file explorer app, on a Mac, when clicking around and going from folder to folder and back up again, the app keeps crashing (mostly when going to /bin and then back /..)

Weirdly it crashes on the line window.Title = path; but there is no exception thrown, the app just stops dead. I changed it to a static string and it did not crash, so definitely that line.

I'm guessing the native stuff needs more error checking...

SteveSandersonMS commented 4 years ago

Unfortunately I don't have a Mac with me at the moment for testing, but can you check if it works OK after this commit?

mika76 commented 4 years ago

Left a comment: https://github.com/SteveSandersonMS/WebWindow/commit/87049348966440ca2696f4254d96dbb946640540#r36051735 - still not working