Page 1 of 1

Strange behaviour with TortoiseSVN

Posted: 18 Jan 2008, 16:39
by knick
All,

let's say ou have a directory with some files, in example

a1po001.cob
a1po002.cob
a5po000.cob

Now, enter this directory and press the keys "a5". The Salamander file selector jumps to the file "a5po000.cob". Now use the mouse and right-klick this file and choose "TortoiseSVN -> Show Log".

What now happens is: TortoiseSVN fires up and in the background the Salamander file selector jumps up to the first file. This is very annoying if the directory contains many many files (> 800 in my case) and one has to scroll down again and again....

I guess this happens because TortoiseSVN creates a new temporary file in this directory (and deletes it after a very short period) and so Salamander updates its file list. Is there any chance that Salamander keeps the file selector on the "current" file if the file still exists afer the directory was updated?


Thank you,
Michael

Posted: 19 Jan 2008, 00:12
by zarevak
I confirm this bug. You don't even have to use quick search.

The file created is named like some GUID (eg: {05741520-C4EB-440A-AC3F-9643BBC9F847}, different each time) without any extension. Problem doesn't occur every time because sometimes the file is created after Salamander loses focus and thus stops updating the panels.

TortoiseSVN used: TortoiseSVN 1.4.5, Build 10425 - 32 Bit , 2007/08/26 11:14:13 on: Windows XP SP2 Professional English

Posted: 24 Jan 2008, 15:00
by Jan Rysavy
Salamander is watching next directory change when the context menu command was executed. If one new file or directory appear during this refresh, it is focused.

It works fine for (context menu) > New > Folder, (context menu) > Add to archive (for some archiver), etc.

The problem is: how to distinguish such files from temporary files created by TSVN (and other software). Is the T attribute set for mentioned file?

Posted: 24 Jan 2008, 23:02
by zarevak
Yes, the T attribute is set! :wink: (I never saw a file with T attribute before :oops: )

Image

Posted: 25 Jan 2008, 10:44
by knick
[quote="Jan Rysavy"]Salamander is watching next directory change when the context menu command was executed. If one new file or directory appear during this refresh, it is focused.

I personally see no reason for this (focus a new file)... Why did you realized this? Maybe it would be a good idea t make this optional.

Bye,
Michael

Posted: 25 Jan 2008, 23:02
by Ether
@knick] It's standard Windows behaviour to focus the file, that has been just created using the New menu or by copying or moving.

Posted: 26 Jan 2008, 00:31
by knick
ether wrote:@knick] It's standard Windows behaviour to focus the file, that has been just created using the New menu or by copying or moving.
Maybe, but that doesn't mean that it is a "Good Thing (TM)"...

Posted: 26 Jan 2008, 12:57
by Ether
@knick] I know. You asked why, I just answered. But there's no need for further discussion as the solution has been already found.

Posted: 29 Jan 2008, 12:06
by Jan Rysavy
Salamander will ignore (not focus) temporary file, thank you for the information!

Posted: 30 Jan 2008, 11:18
by knick
Jan Rysavy wrote:Salamander will ignore (not focus) temporary file, thank you for the information!
Thank you!

Bye,
Knick

Re: Strange behaviour with TortoiseSVN

Posted: 29 Nov 2016, 12:32
by Petr Solin
I see I have fixed very old bug. Maybe still interesting for someone. It will be fixed in release 3.08.