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
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Bug with icons

Post by *Clo »

2Alextp

:) Hello Alexeï !

• There is a bug when viewing icons :

1. Display an icon, let's say 32² - 24 BPP

2. Zoom-in from the button of the tool-bar

3. Try to come back to 1:1 scale with the 1 button, the image takes the size stated in the INI
as the maximal displayable *.ICO, so here 256²…
… with the entry ImageIconSize=256

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2Clo

Hi.. Sent you 2 e-mails, all are lost...

This issue is due to the Delphi bug with determining icons sizes. That ini key was introduced also due to this bug.
You can see also that for every icon image sizes at the window corner are shown as 256x256 (with ImageIconSize=256).

I don't know about alternative D libraries that support ICO format. So we stay with this issue....
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2Clo
Almost fixed this ("Version wihtout installer" link):
ImageIconSize key is not used now;
works ok with 48x48/64x64 icons but doesn't work with 256x256 icons (don't know why).

Here's issue at Borland and my comment at the bottom:
http://qc.codegear.com/wc/qcmain.aspx?d=6018
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

I'll test

Post by *Clo »

2Alextp

:) Hello Alexeï !

• Thanks, I'll make some tests a.s.a.p.

• About the lost e-mails, I fear that they be sent to spam if you sent them @ wanadoo, because I saw some fakes with your address (and a crap attached, same than other craps having other stollen addresses…)

:mrgreen: FR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Hi Alextp,

Great program the UV. Since I use it more often nowadays a little request. On some files I have auto-tail on and this works like a charm. The only thing I would like to see is a date/time when the file was last re-read. Is this possible?

My reason for this request is, that I know whether I am looking at old or new data.

Thanks a lot,

RolandD
Registered user #92105
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2rolandd
I may, for example, show file date in the status line.
I plan to add status line to some next version...

As workaround (now) you may use some extarnal tool, which can show file date in the message box. Though you'll need to do mouse click for it....
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

Wow, quick reply ;)

I can wait till the next version :P

When you say file date, does it include last modification time or just a date only?

Just to be the first one, I think most people would like the statusbar optional :)
Registered user #92105
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

When you say file date, does it include last modification time or just a date only?
Includes both date and time. :)
Just to be the first one, I think most people would like the statusbar optional
Yes. And I suggest to show status bar in all modes, except:
- Multimedia: WMP has its own status bar showing duration, position etc.
- Plugins: some plugins have their own status bar.
editor1955
Junior Member
Junior Member
Posts: 4
Joined: 2007-01-09, 04:52 UTC

Post by *editor1955 »

I wonder if someone could help me better understand how to configure User Tools. I have successfully configured "_caption", "_command" and "_actions", but I don't understand what "_params" and macros do or how to configure them. Can someone help me with an explanation and some working configuration examples? Thanks very much.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2editor1955
Since last version 1.5.8, you don't need to edit Viewer.ini at all. User tools are configured through "Options -- Configure user tools".
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2rolandd
Status bar done ("Version without installer" link - beta). Is it OK?

I show not only date/time, but also image sizes, file number in the directory (when Next/previous is pressed) etc...
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

2Alextp
Thanks for the quick release. I tried it and the status line looks good. I like its simplicity.

Some points I found:
1. The file number in directory doesn't show when I view the first file with F3 from TC. After going to previous or next file it comes up.
2. The date/time doesn't change when the file contents is changed and UV rereads the file. So for example, I open the file at 20:00 and change it at 20:05 it will still show 20:00 while the content is of 20:05.

As for images, I use Imagine plugin.

Regards,

RolandD
Registered user #92105
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2rolandd
File updated:

1. This is by design: I read directory info only after you press Next/Previous. If I'll read it at startup, this will slow down startup time.
2. This's fixed: thanks!


Edit
Also added shortcuts to show/hide Menu, Toolbar, Statusbar. Someone has requested here...
I used IrfanView's shortcuts.
editor1955
Junior Member
Junior Member
Posts: 4
Joined: 2007-01-09, 04:52 UTC

Post by *editor1955 »

Alextp wrote:2editor1955
Since last version 1.5.8, you don't need to edit Viewer.ini at all. User tools are configured through "Options -- Configure user tools".
I'm aware of that. My point was that when I configure a User Tool, I understand the purpose of "_caption", "_command" and "_actions", but not of "_params". When I open "Options -- Configure user tools...", I'm able to choose from a list of eight parameters macros that begins with "{FileName}" and ends with {PosOffsetHex}. My problem is that I don't understand what these macros do. So then, if I add "{FileName}" to the parameters list, what does that do? And if I add "{FileDir}", what does that do? And so on. That's what I would like some help with. Explanations and examples would be greatly appreciated from anyone. Thanks.
rolandd
Senior Member
Senior Member
Posts: 313
Joined: 2003-06-26, 09:02 UTC
Location: Indonesia
Contact:

Post by *rolandd »

2Alextp

1. Fair enough. No problem.
2. Checked and confirmed fixed. Super :)

Regards,

RolandD
Registered user #92105
Post Reply