Skip to content

Undo/Redo breaks in Params and URL fields after switching tabs #9113

Description

@aditya-bruno

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • Making Bruno unusable for me.
  • Slowing me down but I'm able to continue working.
  • Annoying.
  • This feature was working in a previous version but is broken in the current release.

Bruno version

4.1.0

💻 Operating System

macOS

Specific OS Version / Distro

Others

🐞 Describe the bug

Undo/Redo (Cmd+Z / Cmd+Y on Mac) doesn't work like a normal editor undo in a couple of fields.

Query param Name field: undo works fine word by word as long as you stay on the same tab. But once you switch to another tab and come back, Cmd+Z stops doing anything at all.

Query param Value field and the URL bar: same tab switching trigger, but instead of doing nothing, Cmd+Z wipes the whole field content in one shot instead of undoing it gradually.

The request body editor also shows some undo/redo issues, but the behavior there was inconsistent across tests, so keeping this report focused on the Name and Value/URL cases above, which reproduce reliably.

📝 Steps to reproduce

Case 1, Params Name field:

  1. Open a request, go to Params tab, type a name in the Query Name field.
  2. Press Cmd+Z without switching tabs. It undoes normally, word by word.
  3. Type the name again, switch to another request tab, then switch back.
  4. Press Cmd+Z. Nothing happens, the field does not undo.

Case 2, Params Value field and URL bar:

  1. Type something in a query param's Value field, or directly in the URL bar.
  2. Switch to another tab, then switch back.
  3. Press Cmd+Z. The entire field content disappears in one shot instead of undoing gradually.

Case 3, Request body:

  1. Open a request, go to Body, type something in the editor.
  2. Press Cmd+Z without switching tabs at all. The entire body disappears in one shot, not word by word.
  3. Press Cmd+Y. The entire body comes back in one shot.

📁 Collection to reproduce

No special collection needed, any collection with at least two requests works so you have a second tab to switch to.

📷 Screenshots/Live demo link

Video attached below showing all three cases.

Screen.Recording.2026-08-28.at.8.54.51.PM.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions