Preview crashes after trying to preview a large .sh file
Affected version
- Nightly flatpak: In nightly flatpak preview was not working for me at all, I face this issue in nautilus stable version 3.36.2-48262ad
- Other: Using fedora 32 workstation
Steps to reproduce
- Click space on a large .sh file (Ananconda install script was the file which triggered this issue). The preview will not open because it is a huge .sh file (fair enough, since even gedit suffers to open this file)
- After this preview does not work for any other file
Expected behavior
In my opinion, we could just have said the file is too large to be previewed.