Crash bug in the text editor là gì năm 2024
Long pressing an Apple Pencil inside a UITextView (instantiated in code) causes Scribble to sometimes insert a long wrapped--almost 2 lines--of blanks, after which there is a short delay and crash with exception "...Inconsistent element cache state...". This crash can be prevented by changing the layout manager of the UITextView from TextKit 2 (now the iOS 16 default) to TextKit 1, which is done strangely enough by simply accessing the UITextView.layoutManager property as described in Apple's source code:
NOTE that this does stop the strange insertion of the extra long blank lines, but instead just makes those blanks vanish when the pencil touches down again. Ensure to back up your folders as resetting preferences removes all the custom settings, and InDesign launches with default settings. Approximate troubleshooting time: 5 mins.App freeze/crash on launchApproximate troubleshooting time: 3 mins.It is possible that antivirus software settings on your computer cause InDesign to crash on launch. Follow these steps to troubleshoot some of the antivirus issues: Follow these steps to troubleshoot unexpected errors like library files issues on a network, OS-specific issues, or naming issues for UXP and CEP folders: Approximate troubleshooting time: 3 mins.InDesign can crash when working with InDesign Libraries stored on a network or shared location. Follow the steps below to fix the issue on Windows or macOS operating systems.
If you've installed a third-party plugin recently, it could be the reason for the crash. Learn how to troubleshoot InDesign third-party plugins. If you double-click an InDesign file to open the application and there is a crash, the issue could be with the InDesign file. Try to open the application separately to rule out the issue with the file. Learn how to troubleshoot damaged InDesign files. |