BUG: Export Options: Always Treat As Text Filter

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
David B. Trout
New Member
Posts: 7
Joined: Wed Jan 06, 2010 4:21 am

BUG: Export Options: Always Treat As Text Filter

Post by David B. Trout »

Application: ExamDiff Pro
Version: 5.5 (5.5.1.8)
Build: 6/11/2011 12:28:01 PM
Registered to: David Trout
Registered on: March 26, 2011
Number of licenses: 1
Free upgrades until: March 26, 2013


PROBLEM DESCRIPTION:

The "Always Treat As Text Filter" option is being erroneously saved as the "Always Treat As Binary Filter" option.

STEPS TO REPRODUCE:

Options dialog, Compare page, Advanced sub-page, "Force text/binary file comparison" section: choose the "Automatically detect text/binary files" radio button, and check [X] both of the "Always treat these files as text" and "Always treat these files as binary" check boxes.

In the "Always treat these files as text" edit box, enter the DOS-style pattern "*.*" (i.e. all files).

In the "Always treat these files as binary" edit box, enter the DOS-style pattern "*.bin" (i.e. all files with ".bin" as their file extension).

Click OK.

Select "Options..." from the "View" menu to verify your options are indeed entered correctly.

Click the "Export to File..." button at the bottom of the Options dialog. Respond to the "Save As..." dialog as appropriate (i.e. save your options somewhere).

Open your saved options using an external editor, such as Notepad.

Locate (Find) the lines beginning with "Always Treat As". The lines you will see will be:

Code: Select all

Always Treat As Text=1
Always Treat As Binary=1
Always Treat As Binary Filter=*.*
Always Treat As Binary Filter=*.bin
This is incorrect.

DISCUSSION:

As a result, comparing any two bona-fide (i.e. obvious) text files (such as ".\old\main.cpp" with ".\new\main.cpp") results in a binary comparison display instead of the expected text comparison display.

What's worse, attempting to correct the problem by changing the erroneous Option statement to "Always Treat As Text Filter=*.*" does not produce the expected results. All files are still treated as binary and a binary comparison is still always erroneously performed.

Even importing the (supposedly corrected) new Options doesn't help. After importing the fixed/corrected options, viewing the options again using ExamDiff Pro (i.e. selecting "Options..." from the "View" menu) will show the incorrect settings: the "Always treat these files as text" edit box in the "Force text/binary file comparison" section shows the incorrect value of "*.bin" instead of "*.*", and comparing two text files still results in a binary comparison instead of a text comparison! :(

FINAL REMARKS:

ExamDiff Pro is great. I really, really like it. A LOT!! :D

But I don't like this bug. :(

I hope it gets fixed in the next release.

Thanks!
"Fish" (David B. Trout)
"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning"
- Rich Cook

User avatar
psguru
Site Admin
Posts: 1903
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: BUG: Export Options: Always Treat As Text Filter

Post by psguru »

This is already fixed in the latest build of 5.5.
psguru
PrestoSoft

David B. Trout
New Member
Posts: 7
Joined: Wed Jan 06, 2010 4:21 am

Re: BUG: Export Options: Always Treat As Text Filter

Post by David B. Trout »

Yes, I can see that now.

Sorry!

I didn't have automatic checking for updates enabled.

I have enabled it now, so hopefully this won't happen again.

Again, my apologies for reporting a bug that has alreay been identified and fixed. (in build 5.5.1.9 ?? Is that correct?)
"Fish" (David B. Trout)
"Programming today is a race between
software engineers striving to build bigger
and better idiot-proof programs, and the
Universe trying to produce bigger and better
idiots. So far, the Universe is winning"
- Rich Cook

MSpagni
Expert Member
Posts: 422
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: BUG: Export Options: Always Treat As Text Filter

Post by MSpagni »

Not really:
(build 5.5.1.15, Saturday, January 21, 2012)
as you can see here: http://www.prestosoft.com/edp_examdiffpro.asp

User avatar
psguru
Site Admin
Posts: 1903
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: BUG: Export Options: Always Treat As Text Filter

Post by psguru »

I'm unable to reproduce the issue in build 5.5.1.15.
psguru
PrestoSoft

MSpagni
Expert Member
Posts: 422
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: BUG: Export Options: Always Treat As Text Filter

Post by MSpagni »

Sorry, I misunderstood.

Having read "This is already fixed in the latest build of 5.5." I was thinking that David was saying that build 5.5.1.9 is the latest version.

Post Reply