Request: suffixes to ignore for preview/raw view

Features wanted...
avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Request: suffixes to ignore for preview/raw view

Post 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!

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

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

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

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

Post 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?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66334
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

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

Post 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... :) )

admin
Site Admin
Posts: 66334
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

avsfan wrote:list of extensions to ignore for preview/raw view ...
Okay, can do.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

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

Post 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

admin
Site Admin
Posts: 66334
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

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

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

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

Post 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....

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

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

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

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

Post 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!

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

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

Post 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

admin
Site Admin
Posts: 66334
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Preview: simply uncheck file type in Previewed Formats.
Raw View: ok, done. 8)

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

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

Post 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

Post Reply