[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: David Balažic <david.balazic_at_hermes-softlab.com>
Date: Fri, 30 Jan 2009 14:50:17 +0100

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).

Regards,
David

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1074526

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-30 15:17:39 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.