none
An issue about input accent mark in System.Windows.Controls.TextBox

    Question

  • Hello experts:

    I just encounter a issue about TextBox (System.Windows.Controls.TextBox)

    Process:
    1. Configure your keyboard to German.
    2. Type accent mark "^" in German keyboard.
    3. Press the space bar immediately after type one accent mark.

    Result:
    Found behavior: One space is given.
    Expected behavior: The accent mark "^" is given. (The behavior as the Notepad)

    ENV:
    VISTA
    Visual studio c# 2008

    BTW:
    1. System.Windows.Forms.TextBox has no such problem.
    2. Both System.Windows.Controls.TextBox and System.Windows.Forms.TextBox in Windows7 have no such problem.

    Anyone know why this is? Thanks
    Thursday, February 25, 2010 6:58 AM

All replies

  • I guess this is a bug of WPF, but am not sure.

    Anyone encounters this problem?
    Thursday, February 25, 2010 11:00 AM
  • Hi,
    -->1. System.Windows.Forms.TextBox has no such problem.2. Both System.Windows.Controls.TextBox and System.Windows.Forms.TextBox in Windows7 have no such problem.

    Have you installed the language pack including Geman on your computer(Vista)? Since there is no problem on Windows 7,  so it probably caused by the lack of language pack according to the issue you mentioned.

    Thanks.
    Sincerely.
    Jim Zhou -MSFT
    Friday, February 26, 2010 11:17 AM
  • Hi,

    Thank for your response.

    (Sorry for my poor english!)

    I think that it has no thing to do with the language pack.

    (In Vista)

    On the same computer and the same environment. If you test it in Notepad or any TextBox of System.Windows.Forms, it is OK.

    But if you test it in any TextBox of System.Windows.Controls, it's behaviour is different and not ok.

    Thanks!
    Monday, March 01, 2010 10:11 AM