Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large file compare causing display issues #387

Open
quattj opened this issue Apr 7, 2024 · 3 comments
Open

Large file compare causing display issues #387

quattj opened this issue Apr 7, 2024 · 3 comments
Labels

Comments

@quattj
Copy link

quattj commented Apr 7, 2024

I am comparing two large files (MID files converted to text) in Windows 10.
The files compare successfully, with the status bar displaying
74236 Diff Lines: 46970 Added, 24627 Removed, 1033 Moved, 583 Changed. 41551 Match
file stats 1: length: 3,738,265 lines: 67,794
file stats 2: length: 5,128,377 lines: 90,137

However, once the compare is finished and I try to either do a search or scroll the windows, the vertical scrollbar in the longer file window starts twitching all over the place and eventually disappears, as do the displayed contents of the file. The contents of the shorter file also disappear after about the halfway mark.

Cancelling the compare restores the correct view of both files.

Notepad++ has been updated to 8.6.5 and ComparePlus has been updated to 1.2.0

@pnedev
Copy link
Owner

pnedev commented Apr 8, 2024

Thanks for the feedback.
Unfortunately I cannot reproduce that behavior and because of that I cannot analyze the problem.
Compare plugins are not generally meant for handling big files (or files that differ a lot) because they are not natively handling the diff marking and synchronization.
If your files are not private and you could send them I can take a look and try to figure out what might be causing the problem. Otherwise I cannot do anything about that. In that case you could try using the old Compare plugin v2.0.2 to see if the problem appears again.
Do you use ComparePlus with the default plugin settings?

@pnedev pnedev added the question label Apr 8, 2024
@pnedev
Copy link
Owner

pnedev commented May 27, 2024

@quattj ,
Could you tell me what are your ComparePlus plugin settings when you observed the issue?

@quattj
Copy link
Author

quattj commented May 27, 2024

In the drop down menu, only "Detect Moves" and "Show Status Bar" are checked.

image
largetxt.zip

I've included the files. It may display fine at first, but scrolling to the end or sometimes trying to jump to other spots causes it to glitch out.

I did work around it by comparing smaller areas of each file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants