Universal Viewer - Lister alternative

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
I was thinking about dissociating the CTRL+F and the F3 functions.
I mean, when you press the CTRL+F, you have the find dialog, to enter a search value (like now).
But pressing the F3 key should never show the find dialog (but it is only my personal point of view, and not a standard I guess),
OK, I see what you mean.

I may do this, but Lister does not remember search value after TC restart. So I also don't remember it. This way Viewer behaves slightly different from Lister though (Lister remembers value during TC session by Viewer does not)...

What if I restart Viewer 3-5 days after last session? If it remembers last search value, this will be not intuitive to user...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2majkinetor !

See the nice idea:
http://www.download3k.com/System-Utilities/Text-Editors/Download-Explorer-View-File-Viewer.html

Tool similar to your QV fo Universal Viewer, but for the Explorer this time. And it's in Delphi, not script. It uses some hack to sit in the Explorer and show QV there.

Maybe, you can make smth similar for Explorer, with UV code. If you have time for this.
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:2byblo
I was thinking about dissociating the CTRL+F and the F3 functions.
I mean, when you press the CTRL+F, you have the find dialog, to enter a search value (like now).
But pressing the F3 key should never show the find dialog (but it is only my personal point of view, and not a standard I guess),
OK, I see what you mean.

I may do this, but Lister does not remember search value after TC restart. So I also don't remember it. This way Viewer behaves slightly different from Lister though (Lister remembers value during TC session by Viewer does not)...

What if I restart Viewer 3-5 days after last session? If it remembers last search value, this will be not intuitive to user...
Personally, I prefer to keep the value forever, but 3-5 days seem reasonable and interesting too.



Also, another some little requests, in case you want more work :oops: :
-----------------------------------------------------------------

*Actually, when reaching the end of a searching procedure, a popup window appear : "Search String not found : xxxxx"

Instead of it, could you :
1. remove that popup definitively.
2. instead of the popup, viewer make a beep (or a sound) to announce to the user that the end of the search is reached.
3. At this time, if the user press F3 again, it restart from the beginning the search again.


*Making the loading of the TC plugins optional, like in Tc lister configuration (Menu->Configuration->Edit/View/->Configure internal viewer->Multimedia Display->Load bitmaps as graphics at startup)


*Recognize the url when viewing in text mode (http://www.*.* or even www.*.*), color them and make them clickable to open with the default net browser.


*A fix : Some files are always loaded as text(1) by default when they sometimes should be viewed as binary(2) (like TC lister)
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
Personally, I prefer to keep the value forever,
OK, I'll see.
Instead of it, could you :
1. remove that popup definitively.
2. instead of the popup, viewer make a beep (or a sound)
I may make this as hidden option: not much ppl need this. Smth like [Options] SearchNoErrorMessage.
*Making the loading of the TC plugins optional, like in Tc lister configuration
But plugins may be turned off by clearing their checkboxes in list. And you can set them lower priority so e.g. TXT file will be loaded to Text mode instead of SynPlus.
*Recognize the url when viewing in text mode (http://www.*.*
I'll see: I know RichEdit has this feature.
*A fix : Some files are always loaded as text(1) by default
This can be changed by setting extensions lists: you need to remove TXT, LOG etc from the first list (first page of options dialog). If it doesn't work, send me by email your Viewer.ini and your file.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
What if Viewer will display msg: "Search string not found: xxxx. Continue search from the beginning/ending of the file?" [OK/Cancel]

You may not hear sound beep you suggested, because you haven't speakers/ Winamp is playing or smth.


Edit
RTF mode made URL aware
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:2byblo
Personally, I prefer to keep the value forever,
OK, I'll see.
Instead of it, could you :
1. remove that popup definitively.
2. instead of the popup, viewer make a beep (or a sound)
I may make this as hidden option: not much ppl need this. Smth like [Options] SearchNoErrorMessage.
It seem fine.
Alextp wrote:
*Making the loading of the TC plugins optional, like in Tc lister configuration
But plugins may be turned off by clearing their checkboxes in list. And you can set them lower priority so e.g. TXT file will be loaded to Text mode instead of SynPlus.
You proposing to disable plugins one by one clearing their checkboxes in the list, but this disable them definitively!
What I need is : make the loading of plugins as secondary, like in the TC's lister when the Load bitmaps as graphics at startup option is uncheck : opening the viewer will select ALWAYS the view type 1(text mode if text detected) or 2(binary mode for the rest), and if I want to interpret the content using plugin, I have to push the key [4].
Alextp wrote:
*Recognize the url when viewing in text mode (http://www.*.*
I'll see: I know RichEdit has this feature.
*A fix : Some files are always loaded as text(1) by default
This can be changed by setting extensions lists: you need to remove TXT, LOG etc from the first list (first page of options dialog). If it doesn't work, send me by email your Viewer.ini and your file.
I meant : If as instance you open with the universal viewer a binary file, instead of showing it using the second view type (binary mode), the file is show using the text mode by default, which is wrong (a binary file should be presented by default as binary file, not text file). I make a picture to make things more clearer : http://users.skynet.be/fb119101/temp/UVs1.png (1=actual, 2=expected)
Alextp wrote:2byblo
What if Viewer will display msg: "Search string not found: xxxx. Continue search from the beginning/ending of the file?" [OK/Cancel]

You may not hear sound beep you suggested, because you haven't speakers/ Winamp is playing or smth.
The idea was to make things faster when pressing F3, and an asking popup will break it.
About the sound, I guess its not a big deal if the user didn't hear it sometimes, specially if he choose to set the option that you proposed above : SearchNoErrorMessage

Edit : a little note to ghisler : Load bitmaps as graphics at startup TC's option seem wrongly presented. It should be something like : Use plugin by default
Last edited by byblo on 2006-12-26, 18:04 UTC, edited 1 time in total.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

What I need is : make the loading of plugins as secondary, like in the TC's lister when the Load bitmaps as graphics at startup option is uncheck : opening the viewer will select ALWAYS the view type 1(text mode if text detected) or 2(binary mode for the rest), and if I want to interpret the content using plugin, I have to push the key [4].
What filetypes are you talking about?
Again: what about clearing option "Plugins have higher priority" and adding extensions to the Text list?
instead of showing it using the second view type (binary mode), the file is show using the text mode by default, which is wrong (a binary file should be presented by default as binary file, not text file). I make a picture to make things more clearer :
[deleted]

Edit
Viewer doesn't use Binary mode for binary files - that's the "problem". You expect this but it is not used. Text mode is used both for text and binary files...
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:
What I need is : make the loading of plugins as secondary, like in the TC's lister when the Load bitmaps as graphics at startup option is uncheck : opening the viewer will select ALWAYS the view type 1(text mode if text detected) or 2(binary mode for the rest), and if I want to interpret the content using plugin, I have to push the key [4].
What filetypes are you talking about?
All type. By default (I'm talking about TC's lister), I didn't use any preview using plugin or internal "multimedia" functions. They are all presented as text or binary when lister is show. Only after that, I press the key 4 to see them through plugin if needed. I'd liked to do the same with the Universal Viever.
Alextp wrote:Again: what about clearing option "Plugins have higher priority" and adding extensions to the Text list?
It doesn't resolve my problem.
Alextp wrote:
instead of showing it using the second view type (binary mode), the file is show using the text mode by default, which is wrong (a binary file should be presented by default as binary file, not text file). I make a picture to make things more clearer :
[deleted]

Edit
Viewer doesn't use Binary mode for binary files - that's the "problem". You expect this but it is not used. Text mode is used both for text and binary files...
Ah ok.. Are you planning to fix it ?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
By default (I'm talking about TC's lister), I didn't use any preview using plugin or internal "multimedia" functions. They are all presented as text or binary when lister is show. Only after that, I press the key 4 to see them through plugin if needed. I'd liked to do the same with the Universal Viever.
I see. You need option "Don't use plugins at startup" (right?).
But then we'll need options "Don't use Web browser at startup", "... Image mode at startup" etc....
Ah ok.. Are you planning to fix it ?
I think yes: I'll make some option...
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Post by *byblo »

Alextp wrote:2byblo
By default (I'm talking about TC's lister), I didn't use any preview using plugin or internal "multimedia" functions. They are all presented as text or binary when lister is show. Only after that, I press the key 4 to see them through plugin if needed. I'd liked to do the same with the Universal Viever.
I see. You need option "Don't use plugins at startup" (right?).
Yes.
Alextp wrote: But then we'll need options "Don't use Web browser at startup", "... Image mode at startup" etc....
Yes, it should be nice, I always needed to preview only images by default and to see the rest in text or binary mode. But I guess its a lot of work...
Alextp wrote:
Ah ok.. Are you planning to fix it ?
I think yes: I'll make some option...
Great.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2byblo
No at all, I already have properties like "Modes disabled for detection" and "Mode used for unknown file types". I just need to put them to main app as options.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2Alextp

Some issues:

1. When starting viewer from within TC (with Alt+F3) in taskbar the viewer does not look like it's the active window (TC icon shows as active). Anyway UV is accepting commands (keyboard shortcuts).

2. When exiting UV in fullscreen mode, next time it starts also in fullscreen (OK) but after Alt+Enter it shows as a small window (not fully maximized).
TC for Linux please!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2roentgen666

1- Strange.. I don't know what to do here...

2- This is "by design": Viewer remembers maximized position on exit, so on Alt+Enter it cannot recall non-max position (it doesn't remember it) and sets default size of ~600x400.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2Alextp
Just to clarify: UV is maximized before fullscreen.
TC for Linux please!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2roentgen666
It doesn't matter...
Post Reply