Search

TFS Web Access - AltGr-S saves edited work item by Kamil Kaczmarczyk

Closed
as Duplicate Help for as Duplicate

1
0
Sign in
to vote
Type: Bug
ID: 773926
Opened: 12/10/2012 4:18:05 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Ctrl-S saves the work item edited in TFS Web Access - that's OK. The problem is that right Alt in some keyboard layouts is actually AltGr - Alt+Ctrl. Some layouts may use this key in combination with S to input some national character - e.g. in Polish AltGr-S is used to type "ś". It doesn't cause any problems with most applications but it is a problem for TFS which saves the work item and prevents "ś" from being typed.

It shouldn't be difficult to fix. In fact, we've come up with a fix ourselves: in TFS.WorkItemtracking.Controls.min.js we changed the line

if (b.ctrlKey && String.fromCharCode(b.keyCode).toLowerCase() === "s") {

to

if (b.ctrlKey && !b.altKey && String.fromCharCode(b.keyCode).toLowerCase() === "s") {
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Team Foundation Server 2012

Steps to reproduce

1. Change keyboard layout to Polish (programmers') (physically it's the same layout as the one used in the US)
2. Go to TFS Web access, create a work item, fill it with some data
3. Place cursor in the Description text area
4. Press right Alt together with S

Product Language

English

Operating System

Any

Operating System Language

Any

Actual results

The work item is saved.

Expected results

"ś" appears on the cursor position.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 2/4/2013 at 3:10 PM
Thanks for reporting the issue. There is already a Connect Bug tracking this issue: http://connect.microsoft.com/VisualStudio/feedback/details/775953/adding-new-task-in-tfs-2012-web-access-problem-with-right-alt-s . I resolve this Bug as a duplicate of that one. Please vote for the other issue.
Posted by Microsoft on 12/10/2012 at 11:03 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 12/10/2012 at 4:49 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.