#3643·cutter

Renaming variables in decompile window resets scroll.

Author: lpn256Created Jul 6, 2026Updated Jul 6, 2026

Environment information

  • Operating System: NixOS
  • Cutter version: 2.4.1
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format: nix

Describe the bug

When you rename a variable in the decompilation window, the scroll resets.

To Reproduce

Steps to reproduce the behavior:

  1. Decompile with Ghidra (retdec probably does this too...)
  2. Rename a variable

Expected behavior

Decompilation window retains scroll level, like Ghidra.

Screenshots

https://github.com/user-attachments/assets/8a2129f5-d81e-4d06-8d36-fb30c4fc7562

Additional context

Using nixpkgs, I also had to add to systemPackages "(cutter.withPlugins (ps: with ps; [jsdec rz-ghidra]))", since the default install's decompilation is broken. This may affect things.