Skip to content

Not work search in command history (Ctrl+r) #1442

Closed

Description

@Sublihim

Environment

PS version: 7.0.0
PSReadline version: 2.0.0
os: 10.0.18362.718 (WinBuild.160101.0800)
PS file version: 7.0.0.0
HostName: ConsoleHost
BufferWidth: 120
BufferHeight: 9001

Exception report

Steps to reproduce

Press Ctrl+r

Expected behavior

Start searching in command history

Actual behavior


<к> symbol appears (Russian letter к)
this behavior does not depend on the selected keyboard layout

also all the keyboard shortcuts with Ctrl lead to the appearance of Russian characters.

For example, pressing Ctrl + v displays the Russian character <м>. 

And this behavior does not depend on the selected keyboard layout.

Activity

  1. ghost added
    Needs-Triage 🔍It's a new issue that core contributor team needs to triage.
    on Apr 1, 2020
  2. iSazonov commented on Apr 1, 2020

    @iSazonov

    Sublihim (@Sublihim) The issue template contains a script. Please run the script and add the script output to the issue description.

  3. Sublihim commented on Apr 1, 2020

    @Sublihim
    Author

    Ilya (@iSazonov) In the environment template?
    I started it.
    Duplicate the output below:

    PS version: 7.0.0
    PSReadline version: 2.0.0
    os: 10.0.18362.718 (WinBuild.160101.0800)
    PS file version: 7.0.0.0
    HostName: ConsoleHost
    BufferWidth: 120
    BufferHeight: 9001
    
  4. daxian-dbw commented on Apr 1, 2020

    @daxian-dbw
    Member

    this behavior does not depend on the selected keyboard layout

    Sublihim (@Sublihim) What do you mean by this? Aren't you using the Russian keyboard layout? How can I reproduce this?

  5. iSazonov commented on Apr 2, 2020

    @iSazonov

    I can not repo on 10.0.17763.1039 with Russian keyboard layout. We need more info.

  6. Sublihim commented on Apr 2, 2020

    @Sublihim
    Author

    The error is reproduced regardless of the layout (Russian or English)
    In fact, I realized it looks like this error: #1393

    If I run PowerShell at The moment when the system is switched to the English layout, then everything works well.

  7. iSazonov commented on Apr 2, 2020

    @iSazonov

    Sublihim (@Sublihim) Please share more info. Is your system installed from Russian or English distributive? If English do you install language pack? What is default for non-unicode programs? What is other region and language options? What is default keyboard layout? Do you use Windows Terminal?
    Can you share screenshots? and maybe an animation with repo?

  8. Sublihim commented on Apr 2, 2020

    @Sublihim
    Author
    1. This is reproduced on both the Russian-language distribution and the English-Language distribution with Russian-Language pack installed.
    2. For non-unicode programs, the default language is Russian on both systems
    3. no other languages installed, no other regional options
    4. Russian is set as the default keyboard layout
    5. the problem is relevant both in Windows Terminal and just in the PowerShell window.
  9. iSazonov commented on Apr 2, 2020

    @iSazonov

    This is reproduced on both the Russian-language distribution and the English-Language distribution with Russian-Language pack installed.

    Thanks! Looks like this is a key here.

  10. daxian-dbw commented on Apr 2, 2020

    @daxian-dbw
    Member

    Thanks Sublihim (@Sublihim) for the additional information!
    Indeed, this looks resulted by the same root cause of #1393. I will resolve this issue as a duplicate of the other one.

  11. ghost removed
    Needs-Triage 🔍It's a new issue that core contributor team needs to triage.
    on Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-KeyboardLayoutIssues related to dead keys with some keyboard layout.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions