Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[Bug]: Drop-to-attach overlay stays stuck after interrupted drag

Aberta
#108 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Domínio
desktop

Direção de pesquisa

The issue describes a bug in the private desktop application code, which is not in this public repository. A newcomer would need to understand the drag overlay lifecycle in the private codebase. The first step is to locate the drag overlay handling code in the private repository, then examine event paths for drag end, focus loss, and cancellation. 'Done' means the overlay clears reliably and CPU usage returns to normal after an interrupted drag.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Problem

A drag entering the Command Code desktop window can leave the “drop to attach” overlay stuck if the source process exits before the app receives a terminal drag event. The report describes the overlay remaining until reload and the renderer using 30–66% CPU while otherwise idle.

Expected behavior

The overlay should clear when the drag ends, including when the source disappears and no drop or dragleave arrives. An inactive overlay should not keep the renderer busy.

Reproduction

  1. Start dragging an item from another app over the Command Code window.
  2. End the source process during the drag.
  3. Check whether the overlay clears without reloading the desktop app.

Environment and evidence

Reported on Command Code GUI 0.1.37, macOS 27.0 (build 26A428), Apple silicon. The original report includes a renderer sample and CPU observations in the issue filed in the wrong repository.

Proposed direction

Please inspect the private desktop application code that owns the drag overlay and determine how to guarantee teardown when terminal drag events are missing. Candidate safeguards include handling all available end/focus/cancel paths, a bounded watchdog, and pausing overlay work when no drag is active. These are options for investigation, not a prescribed implementation; the renderer source is not present in this public repository, so the root cause remains to be confirmed by maintainers.

The public desktop repository contains installers, documentation, and issue tracking. Application source is private, so this report tracks the GUI behavior and does not claim to provide or test an application-code fix.

Automated posting by agentic team with human oversight.

Linguagem predominante
Shell
Estrelas
80
Forks
2
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CommandCodeAI/desktop

Todas as issues de CommandCodeAI/desktop

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.