Author Topic: Diff just flashes the diff screen over and over  (Read 5497 times)

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Diff just flashes the diff screen over and over
« on: April 29, 2013, 05:26:21 pm »
Linux 64-bit...using subversion.

Chose "Tools...Version control...Diff with most up-to-date version".  Diff screen is displayed, but just constantly refreshes/redraws.  Continually hitting the "X" window decoration will eventually get processed and close the diff.  The file I'm diff'ing does have changes in it.

Jeff

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #1 on: April 29, 2013, 06:36:57 pm »
Can you resize the dialog?  Does it continue to refresh?  What window manager are you using?
« Last Edit: April 29, 2013, 06:43:42 pm by Dan »

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Re: Diff just flashes the diff screen over and over
« Reply #2 on: April 29, 2013, 06:43:55 pm »
It's hard to get the window to respond to a close or resize, but I was able to resize it, but it just keeps on flashing.  It looks like it's in a constant state of show diff/close win/show diff/close win/show diff....
It never stops (until the window is closed).

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #3 on: April 29, 2013, 06:44:47 pm »
What window manager are you using?

Does this happen if you diff two files rather than diffing with Subversion?

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Re: Diff just flashes the diff screen over and over
« Reply #4 on: April 29, 2013, 06:59:15 pm »
This is on Kubuntu 12.10

Diff'ing two files directory seems fine.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #5 on: April 29, 2013, 07:40:18 pm »
Are you using the default window manager?

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Re: Diff just flashes the diff screen over and over
« Reply #6 on: April 29, 2013, 07:55:57 pm »
yes...kde window manager...sorry, I should have specified that.

In v17, the left file windows shows the file path of the file that I'm diff'ing and the right file window shows the svn URL at the top of the window.  In v18, both windows show the file path of the file that I'm diff'ing.  Is that a change, or could that be related to the problem?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #7 on: April 29, 2013, 08:01:41 pm »
That is probably a change that needs to be put back.  In v18 Subversion has been pulled under a new version control framework that will allow support for new version control systems to be added more easily.  Some things are not 100% the same.  Also two new features are available - a repository browser, and viewing changed symbols in the history dialog.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #8 on: May 06, 2013, 03:41:43 pm »
I thought this was a KDE issue. I had one other user report this when diffing from Backup History (which is also a modal diff).  I installed KDE on my Ubuntu box, but I can't reproduce this so far.  If you think of any other special condition, please let me know.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #9 on: May 07, 2013, 07:06:35 pm »
I have been able to reproduce this, we're trying to figure out what is going on now.

It seems to stop if you move the window, or activate another application.

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Re: Diff just flashes the diff screen over and over
« Reply #10 on: May 08, 2013, 02:18:18 am »
cool.  I finally got time to play with it some more.  It seems to happen to me if I have the window behavior set to "Focus Follows Mouse" or (most of the time) "Click to Focus".  If I use "Focus Under Mouse" or "Focus Strictly Under Mouse", I don't see this issue.

Hope this helps.
Jeff

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #11 on: May 08, 2013, 05:14:55 pm »
This is fixed in beta 3.

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Re: Diff just flashes the diff screen over and over
« Reply #12 on: May 08, 2013, 05:17:28 pm »
great.  thanks, Dan.

JeffB

  • Senior Community Member
  • Posts: 308
  • Hero Points: 14
Re: Diff just flashes the diff screen over and over
« Reply #13 on: May 09, 2013, 09:25:18 pm »
Hi Dan...looks like it's fixed.

Not sure if this is related, though...After I do the diff, the "undo" history seems to be lost.
I add a character or make a small change, show the VCS diff, close the diff dialog, then hit the undo.  It maybe undoes a cursor movement moving the cursor to the end of the file, and and then says "Nothing to undo" on subsequent "undos", but will not remove the character I added.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2608
  • Hero Points: 141
Re: Diff just flashes the diff screen over and over
« Reply #14 on: May 10, 2013, 10:26:08 am »
Diff clears the undo history, it has always been that way.  I hope to change this in a future version.