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

Re: Enter in Add dialog does not work

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 31 Jan 2009 15:39:25 +0100

David Balažic wrote:
> Kurt Pruenner wrote:
>> David Balažic wrote:
>>> Using TortoiseSVN 1.5.7 on WinXP Pro SP3 I encountered this
>> small bug:
>>> In an existing checkout I:
>>> - created a new folder
>>> - added it (right click , TortoiseSVN/Add... , click OK)
>>> - in this folder created another new folder
>>> - added it the same way as before, but now instead of
>> clicking I just
>>> pressed the enter key, as the OK button is marked as the
>> default dialog
>>> button and should be "activable" by pressing enter
>>>
>>>
>>> But it does not work. Pressing enter makes no response.
>> Same here - I guess it's because the filelist has the initial focus
>> (which you can't see - just press cursor down to highlight the first
>> file) where hitting enter runs the default operation on the
>> highlighted
>> file.
>
> Not exactly true. The default button works regardless of focus.
> Try for example the SVN rename dialog. The focus is in the text field (Edit)
> but enter still triggers the default button.
> The very purpose of the default button is to work regardless of focus.
>
> If there is a conflict with some other GUI element, then the OK button
> should not be marked as the default (to not confuse the user who expects it
> to work).

Removed the default style from the buttons in r15236.

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=1080298
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-01-31 15:39:40 CET

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.