Repository navigation
Labels
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reporttasksBuilt-in plugin: tasksuiApp shell, sidebar, composer, rendering
Description
Summary
In the Tasks plugin, pressing Ctrl+Enter while focus is in the task title
field creates two identical tasks. The expected behavior is that one
Ctrl+Enter submission creates one task.
Versions and environment
- bb 0.42.1, running from source
- Source investigation based on
origin/mainat
04f4e6a21c1efa6d82d9d62a094b87796c36439c - Linux 6.18.41 x86_64 GNU/Linux
- Node v22.23.2
- Tasks plugin
- Internal investigation task: BB-3
- Agent thread:
thr_f342e494gx
Steps to reproduce
- Open the Tasks plugin.
- Open any project's task list.
- Click “New task”.
- Focus the task title field.
- Enter a task title.
- Press Ctrl+Enter.
- Return to the project task list.
Did not reproduce with:
- A single click on the “Create task” button.
- Plain Enter in the title field.
- Ctrl+Enter from another field in the dialog.
Expected vs actual
Expected:
- One task is created.
- The task receives one task number.
Actual:
- Two tasks are created from one Ctrl+Enter submission in the title field.
- Both tasks contain the same entered task data and receive separate task
numbers.
Evidence
The title input has an Enter key handler, and the surrounding dialog has a
separate Ctrl+Enter handler. When Ctrl+Enter is pressed in the title field,
the event reaches both handlers. Both handlers can call createTask before
React commits the submitting state update.
The duplicate request was reproduced deterministically in focused UI test
coverage by submitting through Ctrl+Enter and counting createTask calls.
Investigation task: BB-3.
Agent thread: thr_f342e494gx.
What you ruled out
- A single click on “Create task” does not reproduce the issue.
- Plain Enter in the title field does not reproduce the issue.
- Ctrl+Enter from another dialog field does not reproduce the same duplicate
handler path. - The database task-number allocator is not the source of the duplicate;
the duplicate requests originate in the dialog submission path.
Suggested priority and effort (optional)
No response
Checks
- I reproduced this on the latest release or on
main, or I say above that I could not. - I searched open and closed issues for the same problem.
- If an agent wrote this, the body ends with
> AGENT GENERATEDand links the thread or report.
AGENT GENERATED, HUMAN REVIEWED
Metadata
Metadata
Assignees
Labels
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reporttasksBuilt-in plugin: tasksuiApp shell, sidebar, composer, rendering
Activity
bb-slop-cop commentedon Sep 10, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Bug · Priority: Medium · Effort: Low · Labels:
ui,tasks,confirmed-repro.Reproduction report: REPRODUCED, high root-cause confidence. The title input and dialog shortcut both submit the same bubbling Enter event before React updates submission state. Two clean trusted-main checkouts each produced two requests for Ctrl/Meta+Enter in the title; both control cases produced one. Verification uses the real UI harness with RPC fixtures.
Fix: PR #3389 stops propagation after the title handles Enter. Four regression cases; all 368 Tasks tests and typecheck pass. 60 changed text lines across two files. PR left open for review.