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

[PATCH] Sparse checkout: items selection dialog

From: Sergey Azarkevich <azarkevich_at_gmail.com>
Date: Wed, 4 Sep 2013 20:22:20 +0300

Hello,

Disclaimer: I attach patch, but it is only DRAFT. If it will be agreed to
apply, then I test it more heavily.

I try improve behavior of 'Choose items' dialog by:

1. When tree item inserted into tree, it inherit parent check state

I think it is logical - expand checked item and see all children checked.
Expand unchecked item and see all items unchecked

As side effect all items initially checked (inherit root check state).

2. Introduce pseudo tri-state behavior (but not look):

If user click unchecked item, then only this item checked (depth - 'Only
this item')
If user click checked item and all children unchecked - check whole subtree
If user click checked item and not all children unchecked - uncheck whole
subtree

This rule not concern when:

  * several items selected in tree.
it can confuse user when click can lead to different effects: some items
will be checked, some unchecked. check/uncheck will be applied recursevily
to all selected items and theirs children

 * item collapsed
it will confuse user when check will be reset only from second try without
other side effects.
also if item still not loaded, then we will not remember special
semi-checked mode.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2013-09-04 19:24:06 CEST

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

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