Why is the first line of the "Ignore list" blank?

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Why is the first line of the "Ignore list" blank?

Post by *sky66 »

I have searched the forum, but I can't find the reason why the first line is blank.
However, I can also manually delete the first line of blanks, which seems to have no effect.
Not sure if it's the design intent?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6496
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Why is the first line of the "Ignore list" blank?

Post by *Horst.Epp »

What about ignoring it and just check that your entries are woking :wink:
Btw. in my list there is no blank line.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Why is the first line of the "Ignore list" blank?

Post by *petermad »

2sky66

I just renamed my tcignore.txt file and restarted TC. Then I made and entry via the Ignore list settings dialog, and closed TC. The new generated tcignore.txt file did NOT start with a blank line - so if you had a blank line, you must have put it there yourself.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Re: Why is the first line of the "Ignore list" blank?

Post by *sky66 »

Thanks for helping to confirm.

I also tested using the same method, with all default values, and made sure there was no "tcignore.txt" file. However, the first line still appeared blank. I think it might be a bug.
Image: https://i.imgur.com/OuIXBl0.png

I looked into older versions of TC and confirmed that TC 7.04a works fine. However, starting from TC 7.50, when using "Add selected names" for the first time to create an Ignore list, the first line in the dialog box appears blank.
Image: https://i.imgur.com/76PAqmU.png
Image: https://i.imgur.com/oZMwL9I.png

So this is a very old bug, and sorry for the late report.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Why is the first line of the "Ignore list" blank?

Post by *petermad »

when using "Add selected names" for the first time to create an Ignore list,
I had just typed in manually, when I tested - Indeed using the "Add selected names" adds and extra line at the top. But actually a line break is added before a new name every time one is added - I guess to prevent getting two names on the same line.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Why is the first line of the "Ignore list" blank?

Post by *ghisler(Author) »

It's need not necessary. I will not append a line break if the list is empty or already ends with a line break.
Author of Total Commander
https://www.ghisler.com
sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Re: Why is the first line of the "Ignore list" blank?

Post by *sky66 »

TC 11.00b8 has already solved this issue. Thank you.
Post Reply