Builder: code that sets m_atomHighLight without setSelection or a SelectionChanged event selects nothing visibly
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- c
- Domínio
- desktop-dev, testing-qa
Direção de pesquisa
Start with the SelectionChanged handler in src/apps/builder/Builder.C, then trace writes to m_atomHighLight under src/apps/builder, src/viz/sgcommands, and src/wxviz. Prioritize EigenValPanel, PartialCharges, VecAtomSpectrum, EnsemblePropertyPanel, TrajectoryPanel, and BuilderVinaBox; each fixed path should report the Open Inventor selection count after the action.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The 3-D viewer draws the Open Inventor selection, not Fragment::m_atomHighLight. Writing to m_atomHighLight changes what later commands act on, but the view shows the change only when one of two things follows:
- a call to
Builder::setSelection(m_atomHighLight, m_bondHighLight), or - publishing the "SelectionChanged" event, which the Builder handles by calling
setSelection(src/apps/builder/Builder.C, the "SelectionChanged" branch of the event handler).
Code that does neither leaves the user with a selection they cannot see. Delete, Copy, the docking box and the constraint panel then act on atoms that do not look selected.
This defect has already appeared twice, in code written a day apart: the #1297 ligand placement (fixed in 9311d9373, which now calls setSelection) and the #1320 pocket picker (fixed there in the same way).
There are about 120 write sites in src/apps/builder, src/viz/sgcommands and src/wxviz. Many are inside commands whose callers redraw afterwards, so most are probably fine. The task is to find the ones reachable from the GUI or a script hook with no setSelection or SelectionChanged after them. Candidates to check first are the panel row-click handlers: EigenValPanel, PartialCharges, VecAtomSpectrum, EnsemblePropertyPanel and TrajectoryPanel, plus BuilderVinaBox.
Test: for each fixed path, a hook that reports the Open Inventor selection count (not m_atomHighLight.size()) after the action.
- Linguagem predominante
- C
- Estrelas
- 10
- Forks
- 8
- Merge médio
- 6h 32min
- 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
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de FriendsofECCE/ECCE
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FriendsofECCE/ECCE#1353 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
FriendsofECCE/ECCE#1348 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
FriendsofECCE/ECCE#1345 ·
Todas as issues de FriendsofECCE/ECCE
Issues semelhantes
-
documentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Life-Framework/Life-Framework#5378 ·
Mantenedores costumam responder em até 1 dia
-
Bug Status: Needs Triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
bug status: planned ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
ChupathingyCE/chupathingyce#2126 ·
Mantenedores costumam responder em até 1 dia
-
good first issue simulation
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
Mantenedores costumam responder em até 1 dia
-
needs-kind
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
falcosecurity/libs#3173 · 1 comentário ·
Mantenedores costumam responder em até 1 dia