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

Theory/Runtype Details open at the screen's top-left corner, then jump next to the editor

Aberta
#278 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
55/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
desktop

Direção de pesquisa

Read the scripts/codereg/*theory.py and *runtype.py entry points to see how the details windows are started and positioned. Reproduce the behavior with the screen recording at 45–54 seconds, then check the headless test described in the issue: start a window with a given editor position and confirm its position stays fixed through the first second.

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

Descrição

9.0.0-beta.1, Debian 13 (GNOME, X11). Clicking Theory Details... in the Calculation Editor (ORCA) opens the window in the top-left corner of the screen, over the Organizer. The user moves the mouse there to use it; a few seconds later the window jumps to a new position next to the editor, and the user has to follow it. Seen in a screen recording (45–54 s).

Likely cause: the details windows are separate Python (wxPython) programs (scripts/codereg/*theory.py, *runtype.py). They are shown before they know where the editor is, and placed once they do.

Fix: pass the editor's position and size when the details window is started (an argument or environment variable), and create the window at its final place, centred on the editor, before it is first shown. Same for every code's Theory and Runtype Details.

Check: a headless test that starts the details window with a given editor position and reads the window's position before and after its first second; it must not move.

Linguagem predominante
C
Estrelas
10
Forks
8
Merge médio
21min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

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 FriendsofECCE/ECCE

Todas as issues de FriendsofECCE/ECCE

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

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