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

Re: Right-clicking on files ceases to function in Commit dialog on occasion

From: Ben Johnson <ben_at_indietorrent.org>
Date: Wed, 25 Jul 2012 17:30:41 -0400

On 7/7/2012 4:12 AM, Stefan Küng wrote:
> On 28.06.2012 18:39, Ben Johnson wrote:
>> On 6/25/2012 4:03 PM, Ben Johnson wrote:
>>> On 6/25/2012 10:50 AM, Ben Johnson wrote:
>>>> Hi, everyone,
>>>> On occasion, I go to commit any number of changes to my files, by
>>>> right-clicking a directory in Explorer and choosing "SVN Commit", and I
>>>> observe a strange behavior:
>>>> When I right-click on individual files (within TortoiseSVN's actual
>>>> Commit dialog/GUI), the context menu that normally contains Compare,
>>>> Properties, etc., is never displayed.
>>>> If I close the Commit dialog altogether and then re-open it in the same
>>>> way, the problem does not occur.
>>>> In order to help troubleshoot the issue, what might I look for? Is there
>>>> a particular log, screenshot, etc. that would be helpful?
>>>> TortoiseSVN 1.7.7, Build 22907 - 64 Bit , 2012/05/15 12:16:05
>>>> Subversion 1.7.5,
>>>> apr 1.4.6
>>>> apr-utils 1.3.12
>>>> neon 0.29.6
>>>> OpenSSL 1.0.1c 10 May 2012
>>>> zlib 1.2.7
>>>> Thanks, and best regards,
>>>> -Ben
>>> I should add that when this issue occurs, it seems that files that are
>>> defined via externals become "stuck in the selected state", for lack of
>>> a better expression. To be clear, I have a modified file listed in
>>> externals (it's greyed-out, as expected), and for some reason I can't
>>> de-select/un-highlight it. If I click another file (single left-click)
>>> that is NOT external, and do a right-click -> Compare with Base,
>>> Tortoise opens two instances of my diff-viewer; one with the
>>> non-external file, and one with the external file (because both files
>>> are "selected" when I choose from the context menu).
>>> I have attached a screenshot in an effort to demonstrate (part of) the
>>> problem.
>>> Again, if I simply close the Commit dialog and re-open it, everything
>>> functions as expected. As late, I'm observing this issue some 5-10% of
>>> the time I attempt to commit.
>> This happened again today. The only information I have to add is that I
>> can't LEFT-click on the files, either. If I left-click a file in the
>> list, it is not highlighted as it should be. If I hold the CTRL key and
>> attempt to click multiple files, the same thing occurs; none of them can
>> be highlighted.
>> And, again, there is one file from an externally-defined repository that
>> is "stuck" in highlighted mode.
> Could it be that a key (Alt, Ctrl, shift) is stuck on your keyboard when
> that happens?
> Stefan

Thanks for the reply, Stefan.

Apologies for the delayed response; I wanted to wait until this issue
occurred again before responding, so I could test your theory and a few

I am finally able to reproduce this at will.

The issue occurs when I left-click a file that is defined with
svn:externals (which is greyed-out/ghosted) and then refresh the Commit
dialog (with F5 key).

After the refresh, I cannot left or right click on any of the local
(non-external) files within the list. The external file that I clicked
before hitting refresh is highlighted with a "dotted line" whenever I
click anywhere within the file-list pane (as opposed to the commit
message field). This dotted line does not go away no matter where I
click or what I try to select. I have to hit F5 again, or close and
re-open the Commit dialog to resolve the problem. (There is one other
way to fix it; see #3, below.)

I see no indication that any key is "stuck" when this occurs. I tested
this hypothesis by opening the On-Screen keyboard that is provided with
Windows. Normally, when Ctrl, Alt, or Shift is depressed, the key is
illuminated on the on-screen keyboard. I have TortoiseSVN open alongside
the keyboard (with TortoiseSVN in this "buggy" state), and none of those
keys is highlighted.

Furthermore, I doubt I would be able to type this message if any of
those keys was stuck. Also, I'm able to type in the commit notes field
without issue, and I'm able to double-click on the "(externals)"
horizontal rules/separators and expand/collapse them without issue.

There are a couple of interesting points of note:

1.) I'm still able to left-click the check-boxes next to the local
(non-external) files, even though I am NOT able to Ctrl-click to
select/de-select several of them at once.

2.) Left-clicking one file and then Shift-clicking another does indeed
select the range of files, even though the first clicked item is not
highlighted upon click.

3.) Un-checking and re-checking "Show externals from different
repositories" fixes the buggy/stuck behavior.

So, it seems safe to say that this issue is related to selecting a file
from externals and refreshing the Commit dialog.




To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-07-25 23:31:02 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.