Show a warning when try to open a big file

Bug #190202 reported by Yuri Malheiros
2
Affects Status Importance Assigned to Milestone
TextFlow
Fix Committed
Wishlist
Waldecir Loureiro dos Santos Filho

Bug Description

TextFlow supports drag and drop to open a file, then someone could try to open a big file, for example a image or a pdf, with TextFlow. A file like these has thousands or millions of lines in text format and Gtksourceview could crash trying to display the text.

Sometimes a user really wants to open a big text file with thousand of lines, this could be a little slow, but gtksourceview can open. A warning dialog will give to user the possibility to choose if he or she really wants to open a big file.

Changed in textflow:
importance: Undecided → Wishlist
Changed in textflow:
milestone: none → 0.3.0
Changed in textflow:
assignee: nobody → waldecir
status: New → In Progress
Revision history for this message
Waldecir Loureiro dos Santos Filho (waldecir) wrote :

i ahve attache the patch for this feature.

Changed in textflow:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.