In web client, comment is submitted on ENTER

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
Glebby
Posts: 28
Joined: Sun Mar 04, 2007 9:48 am

In web client, comment is submitted on ENTER

Post by Glebby » Sat Aug 22, 2009 1:38 am

As of Fortress 2.0 there is annoying bug in web client, when adding new comment to item, pressing Enter key in both Subject and Description text boxes causes immediate submitting of the comment. It especially annoys in Description text area where you expect Enter key to add new line in multiline textbox.

I managed to fix it partially by myself by removing DefaultButton attribute in ascx file.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: In web client, comment is submitted on ENTER

Post by lbauer » Mon Aug 24, 2009 9:02 am

I wasn't able to reproduce this. What web browser are you using, and what version?

Could you describe the exact sequence of steps?
Linda Bauer
SourceGear
Technical Support Manager

Glebby
Posts: 28
Joined: Sun Mar 04, 2007 9:48 am

Re: In web client, comment is submitted on ENTER

Post by Glebby » Tue Aug 25, 2009 1:29 am

Open any ticket, go "Add a comment" tab, click Enter on Subject or Body tag.
Happens in both IE8 and FF3.5.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: In web client, comment is submitted on ENTER

Post by lbauer » Fri Aug 28, 2009 12:17 pm

Ok, I had been previously trying this with IE 7, but I've reproduced it in FireFox 3.5.2. I've logged bug 14780; we'll try to fix this in a maintenance release. Thanks for the report.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: In web client, comment is submitted on ENTER

Post by lbauer » Fri Aug 28, 2009 1:03 pm

Update: This issue is actually Fortress server-side. You need to have Service Pack 1 for .NET 3.5 installed on the Fortress Server machine. Then you should be able to use the Enter key in the Comments text area without submitting the comment.

Since the Subject area is only one line, submitting the comment with Enter is expected behavior. If you want to type a subject and then move to the Comments text area, try using the Tab key.

Let us know if upgrading the .NET 3.5 Framework with SP 1 takes care of this.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply