Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[BUG] Custom fields order in Overwrite dialog

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs Printable version
View previous topic :: View next topic  
Author Message
roentgen
Power Member
Power Member


Joined: 03 Dec 2005
Posts: 759

PostPosted: Fri Dec 08, 2006 4:43 am    Post subject: [BUG] Custom fields order in Overwrite dialog Reply with quote

In overwrite dialog the defined custom fields by file type don't seem to react to the order that they are arranged.

For example: I have 2 custom fields: a. (the first in the list) for Images (a saved search) and b. (the last in the list) for *.*, but everytime the settings for *.* custom field are taken into account.
_________________
TC for Linux please!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7941
Location: Germany

PostPosted: Fri Dec 08, 2006 6:41 am    Post subject: Reply with quote

I just want to state I have the same problem for a long time and also for custom tooltips. I always thought it was my fault and didn't report it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 28534
Location: Switzerland

PostPosted: Fri Dec 08, 2006 11:03 am    Post subject: Reply with quote

I cannot confirm that. My [OverwriteCustomField] section looks like this:

Code:

0exts=*.jpg *.gif *.png
0fields=[=imgsize.Width"x"][=imgsize.Height" Pixel"]\n[=tc.comment]
1exts=*.*
1fields=[=tc.comment]


In the overwrite dialog, TC shows both the image dimensions and the comment (both from field 0). Now I click on "+" and rearrange the two, so the *.* item comes first. The extra fields immediately change to show only the comment.

How does your [OverwriteCustomField] section looks like?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7941
Location: Germany

PostPosted: Fri Dec 08, 2006 11:21 am    Post subject: Reply with quote

Quote:
How does your [OverwriteCustomField] section looks like?


I have created a minimal configuration which doesn't work here:
Code:
[OverwriteCustomField]
0exts=>Einstellungsdateien
0fields=DOS-Name: [=tc.dosname]
1exts=*.*
1fields=Attr: [=tc.attributestr]


Code:
Einstellungsdateien_SearchFor=*.ini
Einstellungsdateien_SearchIn=
Einstellungsdateien_SearchText=
Einstellungsdateien_SearchFlags=0|000002000020||||||||22220|0000|


TC always shows the field values for *.* instead of the field values for >Einstellungsdateien (for *.ini files of course) although it's the first in the list.
When I delete the *.* definition TC shows the field values for >Einstellungsdateien properly.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5822
Location: Valsted, Denmark

PostPosted: Fri Dec 08, 2006 9:58 pm    Post subject: Reply with quote

If I use 2 searches:
Code:

[OverwriteCustomField]
0exts=>Billeder (web)
0fields=[=imgsize.Width] x [=imgsize.Height] pixels
1exts=>Kommentar
1fields=[=tc.comment]


Code:
[Searches]
Billeder (web)_SearchFor=*.gif *.jpg *.jpeg *.jpe *.png
Billeder (web)_SearchIn=
Billeder (web)_SearchText=
Billeder (web)_SearchFlags=0|000002000020|||||||||0000|
Kommentar_SearchFor=
Kommentar_SearchIn=
Kommentar_SearchText=
Kommentar_SearchFlags=0|000002000020|||||||||0000|

then, if I try to owerwrite a .jpg file that does not have a comment, I get the width x height in the overwrite dialog, but if I try to overwrite a .jpg file without a comment with a file that do have a comment I get the comment for the source file and the width x height for the target file.

If I change:
Code:
1exts=>Kommentar

to
Code:
1exts=*.*

then, if I try overwriting the same file I always only get the comment (if any), but never get the width x height no matter whether >Billeder (web) or *.* is placed first in the OverwriteCustomField section - here I would expect to have width x height shown if no comment is set.


E.g. always use the last found filter that has a value, not just the last filter that applies.
_________________
#524
Danish Total Commander Translator
Win XP 32bit SP3 & Win 7 64bit SP1 & Win 8.1 64bit. TC 8.51 32+64bit, TC 2.05b2d

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 28534
Location: Switzerland

PostPosted: Sun Dec 10, 2006 10:44 am    Post subject: Reply with quote

Thanks for all the details, I will investigate.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5822
Location: Valsted, Denmark

PostPosted: Fri Jan 12, 2007 11:04 am    Post subject: Reply with quote

Not fixed in TC7pb3...
_________________
#524
Danish Total Commander Translator
Win XP 32bit SP3 & Win 7 64bit SP1 & Win 8.1 64bit. TC 8.51 32+64bit, TC 2.05b2d

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 28534
Location: Switzerland

PostPosted: Fri Jan 12, 2007 1:44 pm    Post subject: Reply with quote

I did change that! What settings did you use?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5822
Location: Valsted, Denmark

PostPosted: Fri Jan 12, 2007 6:04 pm    Post subject: Reply with quote

Quote:
What settings did you use

As described in http://ghisler.ch/board/viewtopic.php?p=107647#107647
_________________
#524
Danish Total Commander Translator
Win XP 32bit SP3 & Win 7 64bit SP1 & Win 8.1 64bit. TC 8.51 32+64bit, TC 2.05b2d

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
roentgen
Power Member
Power Member


Joined: 03 Dec 2005
Posts: 759

PostPosted: Sat Jan 13, 2007 10:31 am    Post subject: Reply with quote

It works for me.
_________________
TC for Linux please!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5822
Location: Valsted, Denmark

PostPosted: Sat Jan 13, 2007 11:47 am    Post subject: Reply with quote

2ghisler(Author)
2roentgen

Sorry Embarassed - I must have made an error while setting up the test conditions - now trying again, everything works as expected Smile
_________________
#524
Danish Total Commander Translator
Win XP 32bit SP3 & Win 7 64bit SP1 & Win 8.1 64bit. TC 8.51 32+64bit, TC 2.05b2d

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 28534
Location: Switzerland

PostPosted: Sun Jan 14, 2007 7:56 am    Post subject: Reply with quote

Nice to hear that it does work now. Smile
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7941
Location: Germany

PostPosted: Sun Jan 14, 2007 8:05 am    Post subject: Reply with quote

I just want to complement that it also works fine for tooltips in beta 3.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 28534
Location: Switzerland

PostPosted: Sun Jan 14, 2007 8:46 am    Post subject: Reply with quote

Thanks!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group