[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: 1.7 TortoiseMerge word wrap can cause crash

From: Stein Somers <ssomers_at_opnet.com>
Date: Mon, 22 Aug 2011 06:47:02 -0700 (PDT)

I haven't seen a file where I can't make it happen after a few attempts. Here are two minimal files I can easily reproduce it with, selecting both files and choosing SVN diff:
a.txt: word
b.txt: word

That's simply two text files with 1 line each (CR/LF line ending), with a different indentation.

> The stacktrace is also wrong: toggling word wrap would happen in OnViewWraplonglines()

Toggling word wrap doesn't cause a crash, it just blanks the screen (scrolls down), if the TortoiseSVN instance got in a bad mood the first time you tried. The crash happens when toggling the white space buttons later (but only if word wrap put the TortoiseSVN instance in a bad mood). In fact, in that situation, clicking the whitespace button that was already selected is enough to crash. Clicking "Reload" or "Switch left and right" also crashes.

I've now also noticed situations where you get in 2.2 (toggling word wrap blanks screen, every time you try) and the other buttons still work fine, but that is rare.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2827604

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-22 15:47:06 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.