-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening large files causes editor to white screen #788
Comments
Ps. Just tried |
Just tried rolling back through the releases. Appears this was introduced quite a long time ago...
|
Seems it could be a duplicate of #401, which still hasn't been resolved. I do admittedly have my editor on the right, so I'll try and experiment with turning that off and using a later build... |
What the helllllll... just re-downloaded 0.6.4 from the releases page and it's miraculously started working 😖 |
My wild guess is this probably has something to do with caching inside the web view. 0.4.5 upgraded Prism and likely invalidated the cache. The cache kicked in when you ran 0.6.4 for a second time, and the everything works. The above is just speculation, it’s possible this is totally not what happened, but the web view rendering blocking the UI thread is a real problem. It would be best if we can do this in a different process, like what (modern) browsers and Mou do, but I’m not sure what is the best way to do it. |
I was also thinking |
Incidentally, switching to |
@niklasberglund But @MaffooBristol is using Mavericks… Edit: didn't refresh before comment… |
@MaffooBristol Hi there. Are you still using Mavericks? We plan to drop support for quite some old versions of macOS (#738). |
@FranklinYu Nope! Feel free to close as desired |
It's not the most easily reproducible issue, but it may have something to do with scrolling.
If I create a new file, everything works okay. Put in a few lines of text, save, close, open the file, everything's fine.
Try the same thing but with a file with many new lines (I experimented with lipsum and the like, and the word count seems to not affect it as much as the vertical length). Save, close, open the file- now the preview pane works fine as always, but the editor comes up as purely a white screen (or the background colour of the theme) and doesn't show text, allow user input, etc.
I recently upgraded by a few versions as I hadn't used Macdown for a while. Definitely used to work, definitely doesn't now. I'm on Mavericks.
Cheers
Unsaved:
Saved and reopened:
Macdown version:
Mac version:
The text was updated successfully, but these errors were encountered: