Skip to content

Do not allow to rewrite Python console history #15792

@CyrilleB79

Description

@CyrilleB79

Steps to reproduce:

  • Open Python console
  • Execute "regexp = r"a(very)?complex[R]+egexp"
  • Execute "foo=4"
  • Press upArrow twice
  • Edit the line to "bar=3" but do not press enter
  • Press down arrow
  • Press Enter to execute the current line ("foo=4")
  • Press upArrow many times

Actual behavior:

The regexp cannot be found anymore in the history

Expected behavior:

No item should be deleted or modified. They may only be deleted/moved in case an item is entered two times to keep only the most recent occurence.

NVDA logs, crash dumps and other attachments:

None

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2023.3

Windows version:

Windows 10 22H2 (AMD64) build 19045.3570

Name and version of other software in use when reproducing the issue:

N/A

Other information about your system:

N/A

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

Yes, older version have the same problem

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions