Page 1 of 2

Request: suffixes to ignore for preview/raw view

Posted: 04 Sep 2008 19:56
by avsfan
Hi All,

I've got a situation where sometimes I will have a dll file selected. Clearly, it's not a preview-able file, so it displays in raw view (if I'm on the preview or raw view tab).

Unfortunately, if I try to recompile the source for that dll, I get an error because it says the file is locked.

What I'd like to have is the ability to ignore certain suffixes completely for the preview/raw view modes i.e. if I select a .dll file, the IP will just be blank (or perhaps with a message something like "you have chosen not to preview this format.")

Would this be useful for anyone else?

(now there's one fool on the list -- let's get two fools! :) )

Thanks!

Re: Request: suffixes to ignore for preview/raw view

Posted: 04 Sep 2008 20:18
by j_c_hallgren
avsfan wrote:i.e. if I select a .dll file, the IP will just be blank (or perhaps with a message something like "you have chosen not to preview this format.")

Would this be useful for anyone else?

(now there's one fool on the list -- let's get two fools! :) )
8) Here I am! Fool #2!

I seem to recall asking for something similar quite some time ago, but in my case, it was for .XLS files! I've got it unchecked on 'preview fmt' and have 'auto raw' also off....but...

I've ended up getting the "Read Only" lockout in Excel due to this, so totally disabling preview and thus 'lock' would seem to prevent this.

Re: Request: suffixes to ignore for preview/raw view

Posted: 05 Sep 2008 03:05
by lukescammell
Why should a previewed file be locked at all? IMO it shouldn't. It would certainly confuse the hell out of me if I got a locked file problem due to a previewed file - I wouldn't think to look at XY...

Can't the file just be locked for long enough to read it and then unlocked and the result displayed until you change to another file?

Re: Request: suffixes to ignore for preview/raw view

Posted: 05 Sep 2008 07:56
by admin
lukescammell wrote:Why should a previewed file be locked at all? IMO it shouldn't. It would certainly confuse the hell out of me if I got a locked file problem due to a previewed file - I wouldn't think to look at XY...

Can't the file just be locked for long enough to read it and then unlocked and the result displayed until you change to another file?
The speed of the Raw View makes locking necessary. You can open and look at 10 GB sized files within a few milliseconds. This works only with locking.

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 05:11
by avsfan
admin wrote:
lukescammell wrote:Why should a previewed file be locked at all? IMO it shouldn't. It would certainly confuse the hell out of me if I got a locked file problem due to a previewed file - I wouldn't think to look at XY...

Can't the file just be locked for long enough to read it and then unlocked and the result displayed until you change to another file?
The speed of the Raw View makes locking necessary. You can open and look at 10 GB sized files within a few milliseconds. This works only with locking.
Having again been bitten by this issue multiple times in the past 2 days (being unable to open for read/write or to overwrite the file because it's locked by XY -- both with dll files I'm working with and MS Office files), I'm wondering if there's a way to use the same method currently used but remove the restrictions -- i.e. lock the file to get the info that you need, and then immediately unlock it (while keeping the retrieved information in memory and in the preview/raw view window, if appropriate, though that becomes a problem with huge files...).

That would be my number one preference for a solution, with a list of extensions to ignore for preview/raw view i.e. the preview/raw view window would just be blank...

Any chance of getting this implemented? (I think we've got at least 3 fools on board, now... :) )

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 07:33
by admin
avsfan wrote:list of extensions to ignore for preview/raw view ...
Okay, can do.

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 07:52
by avsfan
admin wrote:
avsfan wrote:list of extensions to ignore for preview/raw view ...
Okay, can do.
Excellent! Looking forward to it!

Thanks, Don!

andy

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 11:00
by admin
avsfan wrote:
admin wrote:
avsfan wrote:list of extensions to ignore for preview/raw view ...
Okay, can do.
Excellent! Looking forward to it!

Thanks, Don!

andy
Wait, maybe there is an easier solution. Currently a raw viewed file stays locked even of you close the raw view tab (this is to allow you checking some other tab and then go back to the exact scrollposition/selection you have been before).

I can make that optional: so when there is no Raw View visibly staring in your face, then there is no locking.

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 16:10
by j_c_hallgren
admin wrote:I can make that optional: so when there is no Raw View visibly staring in your face, then there is no locking.
Hummm...I don't mind the locking for some file types because it doesn't affect other pgms, but I do for other file types, especially XLS.

And thus losing position in a TXT file just to prevent lockup of XLS isn't the ideal or desired solution, at least for me.

If there was a simple exclusion list, like the PreviewCustomExtension tweaks, so one could specify which extensions this would apply to, then we might have a workable solution.

However...it still wouldn't solve the problem of when I am on RawView tab from a prior file, and then dbl-click/select a XLS file so that I can open it in Excel...I'd still have to remember to swap tabs, so just blocking me from RawView by default would make it easier...

But...there are some times when I would like to Raw View these file types, so there would need to be some way to somewhat easily override the bypass just for that instance.

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 16:45
by avsfan
Perhaps a combination of things, such as an exclusion list (no preview/raw view) plus a function like "preview selected" which could be assigned using CKS and would (for those excluded files) do either a preview or raw view depending on which IP tab the user had selected (no action if not on either of those tabs).

I think that might address all cases...

Just a thought....

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 17:18
by j_c_hallgren
avsfan wrote:plus a function like "preview selected" which could be assigned using CKS and would (for those excluded files) do either a preview or raw view depending on which IP tab the user had selected (no action if not on either of those tabs).
Or maybe...based on this thought, if the file type was excluded from Raw, and you were on the Raw tab, and then just used the "File>Preview" or its KS, that would allow a one-time override which would be reset when that file is deselected.

Re: Request: suffixes to ignore for preview/raw view

Posted: 24 Sep 2008 17:45
by avsfan
j_c_hallgren wrote:
avsfan wrote:plus a function like "preview selected" which could be assigned using CKS and would (for those excluded files) do either a preview or raw view depending on which IP tab the user had selected (no action if not on either of those tabs).
Or maybe...based on this thought, if the file type was excluded from Raw, and you were on the Raw tab, and then just used the "File>Preview" or its KS, that would allow a one-time override which would be reset when that file is deselected.
Yeah, I had forgotten (or didn't know about!) about File-Preview... Otherwise, it sounds like we're thinking of the same thing!

Re: Request: suffixes to ignore for preview/raw view

Posted: 02 Jul 2009 08:13
by avsfan
Bump.

I just got bitten by this issue again a couple of times today...

Any chance of getting a list of extensions to ignore for both preview and raw views?

Thanks!

andy

Re: Request: suffixes to ignore for preview/raw view

Posted: 02 Jul 2009 08:36
by admin
Preview: simply uncheck file type in Previewed Formats.
Raw View: ok, done. 8)

Re: Request: suffixes to ignore for preview/raw view

Posted: 02 Jul 2009 08:57
by avsfan
admin wrote:Preview: simply uncheck file type in Previewed Formats.
Raw View: ok, done. 8)
Excellent! I had already unchecked the preview (so it would show in raw view even on the preview tab) -- but even then it would still be locked if I was on either the Preview or Raw View tabs!

So I'm glad to hear that it's now fixed!

Thanks, Don!

andy