pingdotgg / pingdotgg/t3code

[Bug]: Left click becomes right-click; sidebar threads unclickable until Ctrl+Escape

Open
#11,066 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug upstream via-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce

I do not have a deterministic first trigger. It happens often during normal use of the desktop app, especially around the left sidebar (projects / threads). After it starts, every left click behaves like a right click.

Related tickets I found (same menu, different symptom, all closed): #2053, #2535, #285, #3698. Those describe a misplaced menu or an item firing on open. This report is the stuck state that follows: left click stays in right-click mode and the thread list stops accepting selection.

Expected behavior

A left click selects the thread or UI control under the cursor. A right click opens the context menu. After the menu closes, left click works again.

Actual behavior

Left click starts opening context menus (or otherwise acting as a right click). Threads in the left sidebar cannot be selected. Escape or clicking around sometimes clears it. Closing T3 Code often does not. Ctrl+Escape consistently restores normal left-click behavior.

That looks like a leftover context-menu listener or compositor pointer grab. Ctrl+Escape may just force a focus change that drops the grab; I am not claiming it is an intentional T3 shortcut.

Impact

Major degradation or frequent failure

Version or commit

v0.0.40 (Linux AppImage T3-Code-0.0.40-x86_64.AppImage)

Environment

Pop!_OS 24.04 LTS, COSMIC desktop, Wayland, T3 Code desktop AppImage v0.0.40

Workaround

Ctrl+Escape resets the stuck state and left click works again. Escape alone or clicking around only helps sometimes. Restarting the app is unreliable.

Created with AI · Commissioned by Karsten.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in apps/desktop by reproducing the stuck left-click state around the sidebar projects and threads, then inspect the context-menu and focus behavior associated with Ctrl+Escape. Compare left- and right-click handling after the menu closes. Done means left click reliably selects threads and controls again, while right click still opens the context menu.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.