| View previous topic :: View next topic |
| Author |
Message |
roentgen Power Member


Joined: 03 Dec 2005 Posts: 759
|
Posted: Fri Dec 08, 2006 4:43 am Post subject: [BUG] Custom fields order in Overwrite dialog |
|
|
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 |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Fri Dec 08, 2006 6:41 am Post subject: |
|
|
| 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 |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Fri Dec 08, 2006 11:03 am Post subject: |
|
|
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 |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Fri Dec 08, 2006 11:21 am Post subject: |
|
|
| 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 |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Fri Dec 08, 2006 9:58 pm Post subject: |
|
|
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:
to
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
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Sun Dec 10, 2006 10:44 am Post subject: |
|
|
Thanks for all the details, I will investigate. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Fri Jan 12, 2007 11:04 am Post subject: |
|
|
Not fixed in TC7pb3... _________________ #524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Fri Jan 12, 2007 1:44 pm Post subject: |
|
|
I did change that! What settings did you use? _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
|
| Back to top |
|
 |
roentgen Power Member


Joined: 03 Dec 2005 Posts: 759
|
Posted: Sat Jan 13, 2007 10:31 am Post subject: |
|
|
It works for me. _________________ TC for Linux please! |
|
| Back to top |
|
 |
petermad Power Member


Joined: 05 Feb 2003 Posts: 5350 Location: Valsted, Denmark
|
Posted: Sat Jan 13, 2007 11:47 am Post subject: |
|
|
2ghisler(Author)
2roentgen
Sorry - I must have made an error while setting up the test conditions - now trying again, everything works as expected  _________________ #524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit
Get Extended Total Commander Menus |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Sun Jan 14, 2007 7:56 am Post subject: |
|
|
Nice to hear that it does work now.  _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Lefteous Power Member


Joined: 08 Feb 2003 Posts: 7671 Location: Germany
|
Posted: Sun Jan 14, 2007 8:05 am Post subject: |
|
|
| I just want to complement that it also works fine for tooltips in beta 3. |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Sun Jan 14, 2007 8:46 am Post subject: |
|
|
Thanks! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
|