Anyone running Windows 10 Insider Preview 1773x or newer? I have a strange problem with Delphi applications and even the Delphi IDE: When editing the content of a TComboBox (default Style = csDropDown), the Backspace key (VK_BACK) deletes two characters instead of only one character!


Anyone running Windows 10 Insider Preview 1773x or newer? I have a strange problem with Delphi applications and even the Delphi IDE: When editing the content of a TComboBox (default Style = csDropDown), the Backspace key (VK_BACK) deletes two characters instead of only one character!

Not only my applications are affected, even the Delphi IDE has the same behaviour:
Ctrl+F in the code editor show the "Search" panel at the bottom of the editor. The Backspace key deletes two characters. "Find in files" (Ctrl+Shift+F), "Replace Text" (Ctrl*R), Run->Parameters,... almost any TComboBox-based control deletes two characters on one Backspace keystroke. Even 3rd-party experts like GExperts' Grep search misbehaves like this.

But when using a TComboBoxEx, the Backspace key works normal.
I'm not sure if this is bug in Windows 10, or a bug in the VCL which shows only in the latest Windows 10 builds.

Comments

  1. I'd dig into the sources and check to see if the two controls load different versions of MS-libraries. If an older commctrl thingy suffers from this would be "logical".

    ReplyDelete
  2. I haven't done preview OSs since Vista. It's just not worth it.

    ReplyDelete
  3. 17744 does the same (removes 2 characters)

    ReplyDelete
  4. Russell Peters Thank you for confirmation. If this is a Windows bug, why do other (non-delphi-)applications work correctly? And if this a Delphi VCL bug, why it doesn't show on other/older Windows builds. Must be a combination of both.
    I'll try some other applications.

    ReplyDelete
  5. In 1775.1 it is fixed (or at least works correctly).

    ReplyDelete
  6. Russell Peters Yes, Problem is gone in the latest Win10 build.

    ReplyDelete

Post a Comment