.qwen/e2e-tests/2026-08-03-completion-category-mouse.md
Verify that the tabbed @ completion picker can switch to an exact category
with a mouse click when terminal mouse tracking is enabled. Keyboard category
navigation and suggestion-row mouse behavior must remain unchanged.
A released global qwen executable was not available in this environment, so
the before-change Warp dry-run could not be repeated locally. The issue's SGR
mouse reproduction reports that suggestion rows accept clicks while category
labels do not. Source inspection on upstream/main confirms that suggestion
rows have a mouse controller, while category labels have no refs or click
handler.
ui.mouseTracking enabled and the terminal
buffer enabled.@ completion shows at least three tabs, such as
All / Files / Sessions.Left / Right cycles the
categories. Press Esc to dismiss the picker and confirm the arrows return
to normal input-caret behavior.ui.mouseTracking to false, restart Qwen Code, and confirm that tab
clicks are not intercepted by Qwen Code.cd packages/cli
npx vitest run \
src/ui/components/CompletionCategoryMouseController.test.tsx \
src/ui/components/SuggestionsDisplay.mouse.test.tsx \
src/ui/components/InputPrompt.suggestionMouse.test.tsx \
src/ui/hooks/useCompletion.test.ts
cd ../..
npm run lint
npm run build
npm run typecheck
qwen executable were not available in this environment.