On 19.04.2011 09:55, Aleksandr Platonov wrote:
> Several notes, which could help you:
> - this problem is not appear if down arrow is clicked (to show drop-down
> list).
> - to reproduce this problem better to use new URL, which is not similar
> to previous ones.
> - it seems that this is not a HistoryCombo problem, because this
> problem is not observed in other dialogs, which use HistoryCombo (e.g.
> checkout, repobrowser). I think that the difference between this dialogs
> should be explored.
> - I found that checkout dialog calls SetCurSel(0) before
> SetWindowText(). After this line addition I could not reproduce this
> problem any more, but if I remove SetCurSel(0) then I could reproduce
> this. I think that if current position remains -1 then something goes
> wrong with combobox indexes in CHistoryCombo::AddString() function
> (which is called from CHistoryCombo::SaveHistory() function).
> AddString() calls FindStringExact() function, which perform case
> insensitive search, and if indexes are really wrong then AddString could
> remove just added string.
Since it still works for me without calling SetCurSel(0), I doubt that
this has anything to do with the issue.
But I've set the combo box now to be case insensitive so maybe that will
help (r21187).
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=2721522
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-19 21:22:46 CEST