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

Re: Restore selection list after applying filter

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 1 Oct 2016 10:46:21 +0200

On 30.09.2016 12:51, Dani Soufi wrote:
> Dear devs,
>
> I encoutered recently an annoyance while working on a large project. I
> selected several commits to merge into a seperate branch, no problem
> there. Then I applied a filter to select some other commits, no problems
> there too. Now when I clear the filter, only the recently selected list
> is restored but my previous selection is deselected. Actually, the
> selection list is restored only for the current visible list and does
> not work for all the previous selects if the list was reloaded/filtered.
> This is a huge annoyance when you use alot of filtering, some selects
> will be lost and you need to keep track of them.
>
> That's why I submit a patch to fix this.
>
> The patch was developed and tested against r27333.

Thanks for the patch.
But I think this is the wrong way to approach the issue:
we already have something in place to restore selections/checkmarks.
Your patch introduces a second way to do that, and leaves the existing
one in place which leads to sometimes multiple restores.

I'll try to improve the restore some other way...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3187878
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-10-01 10:46:37 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.