Bug 139389 - Wish: Suppress Preview on large files > 500 MB, Preview of large files on accidental click freezes system for minutes. Add a config option for that
Summary: Wish: Suppress Preview on large files > 500 MB, Preview of large files on acc...
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords: junior-jobs
Depends on: 165314
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-30 10:58 UTC by Stefan Mueller
Modified: 2015-07-22 16:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 15.07.80


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Mueller 2006-12-30 10:58:17 UTC
Version:           2.6.4 (using KDE 3.5.5 "release 45" , openSUSE 10.2)
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.18.2-34-default

Thanks for ark. Sometimes I use it, but not too often. Command-line tools (rar, tar, unzip, rm) are simpler, they don't freeze system.

Steps to reproduce:

1. Open a rar archive with a very big file in it, say 600 MB.
2. Click on that big file
3. Ark freezes, because it wants to create a preview


Expected result:

3. No freeze :-)


Some proposed solutions:

3. Time out quietly after 2 seconds, no one-click-preview if processing time to long, user will not notice that.
3. Preview file only on explicit request
3. Add a config option "[x] Do not preview [rar] files larger than [200 MB]" set by default.
Comment 1 Raphael Kubo da Costa 2010-12-08 02:18:26 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 2 Boris Egorov 2014-11-24 18:03:26 UTC
Do I understand correctly that Ark haven't its Settings menu yet? I've implemented limiting preview file size with kconfig compiler, and now the question is where to place this option in GUI.
Comment 3 Boris Egorov 2015-06-03 11:28:08 UTC
Git commit f961b2bc717abbccbfec499f2924d4a9cf3d32df by Boris Egorov.
Committed on 03/06/2015 at 11:14.
Pushed by egorov into branch 'frameworks'.

Suppress preview on large files

Add two config options to limit previewable file size.
REVIEW: 121231

M  +8    -0    kerfuffle/ark.kcfg
M  +7    -1    part/part.cpp

http://commits.kde.org/ark/f961b2bc717abbccbfec499f2924d4a9cf3d32df