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

Re: TortoiseSVN nightly build 21657 small issue with menu in SVN Properties dialog

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 05 Jul 2011 19:43:13 +0200

On 05.07.2011 04:57, Konstantin Kolinko wrote:
> Hi!
>
> Using TortoiseSVN 1.6.99, Build 21657 - 32 Bit -dev, 2011/07/04 21:49:01
> on WinXP SP3 32-bit
>
> 1. In the "SVN Properties" dialog when I click on the "New>" button
> sometimes the first item in the popup menu is activated.
> So, instead of the menu the edit dialog for "svn:externals" is displayed
>
> It reproduces occasionally. To reproduce,
>
> 1) The SVN Properties dialog should be near the right edge of the screen,
> so that popup menu is displayed not to the right of reference point,
> or to the left of it, so it will be on top of the button.
>
> Note, that the menu is displayed not relative to mouse pointer, but
> relative to the right edge of the button, so the mouse pointer will be
> over the the first menu item.
>
> 2) It depends on mouse position and on click speed. I position mouse
> over the last dot in "New..." and click slowly.
>
> 3) When this happens, it looks like the "New..." button is being
> redrawn as pressed (recessed). When this does not happen, the menu is
> drawn over plain unpressed button.

To reproduce this always:
move the dialog to the upper right corner of the screen. Then the menu
is opened so that it goes down from the top of the button.

Unfortunately, there's nothing I can do to change this: that's the
behavior of the MFC menu button.

> 2. In the same dialog:
> note that "Edit..." button has vertical bar before ">" ("Edit...|>"),
> but the "New..." button does not have one.

The "Edit..." button has a default command. If you click left of the
vertical bar the menu entry "default" is executed without showing the
menu first. The menu is only shown if you click right of the vertical bar.
The "New..." button does not have such a default command, so the
vertical bar is not shown.
Again, that is the behavior of the MFC menu button.

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=2785022
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-05 19:43:43 CEST

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