Repository navigation
Description
Summary
On a phone, touching a pinned thread in the sidebar can sometimes unpin it instead of opening it. A slightly slow tap or tiny finger drift can cross the sidebar's touch drag activation threshold, after which releasing over a normal section is treated as an intentional drag out of Pinned.
Expected: touching a thread row navigates to it, and pin state changes only after an unmistakably deliberate action.
Versions and environment
- BB 0.43.4
- BB server on macOS, accessed from a phone through BB Connect
- Exact phone OS/browser was not captured
- Observed in the built-in Thread List plugin
Steps to reproduce
- Pin a visible root thread so it appears in the Pinned section.
- On a phone, touch the thread row slightly slowly and allow a few pixels of natural finger drift.
- Release after the row begins behaving like a drag, over a non-pinned sidebar section.
- Observe that the thread leaves Pinned.
The symptom is timing/movement-sensitive rather than occurring on every tap. The source-level trigger is deterministic: the shared touch sensor activates after a 200 ms hold with up to 6 px movement.
Expected vs actual
Expected: The touched thread opens and remains pinned.
Actual: The gesture can be interpreted as a drag out of Pinned, and the thread becomes unpinned.
Evidence
Observed by a user on a physical phone. I then inspected the exact BB 0.43.4 Thread List bundle and current source:
- The touch sensor uses
delay: 200andtolerance: 6:bb/plugins/thread-list/app/ui/useReorderDnd.ts
Lines 93 to 100 in 384666f
const sensors = useSensors( useSensor(MouseSensor, { activationConstraint: { distance: 8 } }), useSensor(touchSensor, { activationConstraint: { delay: 200, tolerance: 6 }, }), useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates, }), - Committing a cross-section drop unpins every ID in
decision.unpinThreadIds:bb/plugins/thread-list/app/dnd/useSectionThreadDnd.ts
Lines 1250 to 1262 in 384666f
const commitDropChanges = useCallback( ( decision: Extract< SectionThreadDropDecision, { kind: "move" | "nest" | "pin" } >, failureMessage: string, ) => Promise.all( decision.unpinThreadIds.map((threadId) => sidebarActions.setPinned(threadId, false), ), ) - The existing projection test confirms that dragging a pinned row to a normal section calls
setPinned(..., false), but it invokesonDragStart/onDragEnddirectly and does not cover touch activation ambiguity:bb/plugins/thread-list/app/dnd/useSectionThreadDnd.projection.test.tsx
Lines 170 to 189 in 384666f
it("routes drag unpinning through the optimistic sidebar action", async () => { const pinned = createThread({ id: "pinned-thread", pinnedAt: 42, sectionId: "a", }); const { inspection, result } = renderSectionThreadDnd(ROOT_ITEMS, [pinned]); const props = () => result.current!.dndContextProps; act(() => props().onDragStart?.(dragStart(pinned.id))); act(() => props().onDragEnd?.(dragEnd(pinned.id, "section:a"))); await flushTasks(); expect(inspection.sidebarActionCalls).toEqual([ { method: "setPinned", threadId: pinned.id, pinned: false }, ]); expect(inspection.sdkCalls).not.toContainEqual({ method: "threads.unpin", args: [{ threadId: pinned.id }], });
A mobile-safe correction would make row selection and reordering unambiguous—for example, require an explicit drag handle on coarse pointers. At minimum, add a regression test that drives the touch activation path and proves an ordinary slightly slow/drifting tap cannot mutate pin state.
What you ruled out
- Not caused by the user's Auto Pin plugin: that plugin has no unpin call or frontend code.
- No matching open or closed issue was found by searching for mobile/sidebar/drag/unpin terms.
- This is not only a visual projection: the drop commit path actually persists
pinned: false.
Suggested priority and effort
Medium — it changes persistent thread organization through an ambiguous everyday mobile gesture. Workaround: repin the thread manually. Likely medium effort because the shared drag sensor supports multiple sidebar reorder flows.
AGENT GENERATED — investigation thread
thr_bizwzwnvq2(private BB thread)
Activity
bb-slop-cop commentedon Sep 24, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotBug · Priority: Medium · Effort: Medium. Applied
mobile,ui, andconfirmed-repro; no existing classification values were replaced.Reproduction and root-cause report: REPRODUCED, high root-cause confidence. In two trusted checkouts, the touch-event regression passed at 100 ms but failed at 210 ms: 4 px movement into an adjacent section invoked
setPinned(false). The 200 ms touch activation has no further intent gate before the cross-section unpin action. All 17 relevant existing tests passed.Verification used an isolated DOM harness; physical-phone frequency and database persistence were not measured. No PR: choosing a reliable mobile reorder initiation gesture requires a product decision outside the simple-fix rule.
Require a deliberate long press to reorder sidebar threads (#4329)