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

Re: user selected column width for SVN update dialog gets altered and lost

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 28 Jul 2014 22:04:18 +0200

On 28.07.2014 11:59, Stohr, Alexander wrote:
> Hello,
>
>
> What steps will reproduce the problem?
> 1. do a SVN update
> 2. let the dialog pop up
> 3. change column widths
>
> What is the expected output? What do you see instead?
> * the column width stays as the user has tuned them
> * the column width stays persistant across multiple invocations

That would be correct if you have one working copy, or all working
copies with similarly length paths.

But I'd say most setups are using multiple working copies with paths
that are very different in length.

> What version of TortoiseSVN are you using?
> 1.8.x
>
> What Windows version are you using?
> Window 7, 64bits
>
> Please provide any additional information below.
> * the SVN update dialog window is resized to nicely fit the HD screen resolution
> * I am updating multiple larger scale repositories in a single go
> * the path names of the repositories are longer than the default column width, thus I hope to not always beeing forced to adjust those widths (for path and for mime type) to normally avoid any "..." text shortening indicators
> * the column widths will get shrinked or widen'th by the running update process - even if the user has selected a width of desire during the current session
>
> i hope that the column width will see a smarter handling like being persistent over invocations and only seeing auto-widening but not shrinking in a single invocation on multiple repos. i did not test for single repo cases so i dont know it it happens there as well. my main intent is the "feature" of keeping the column widths similar remembered as the window size but in fact there is a problem with the update progress sometimes even doing shrinking of the column width out of a sudden despite that width was already tuned to a nicer value by the user.

Here's how it works:
* the columns are adjusted automatically to the path for the first few
entries shown.
* after ~10-50 entries are shown, the columns are not adjusted
automatically anymore since that's an expensive operation and would slow
down the UI update severely.
* as soon as the auto-column-adjustment is over, you can however adjust
the column with manually, and it will stay there!
* once the operation (update/commit/...) is finished, the columns are
adjusted to fit the shown text one last time.

Remembering the column width would lead to the wrong width for almost
all operations, unless you're working with the same working copy all the
time.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3085906
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-07-28 22:04:30 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.