Builder: code that sets m_atomHighLight without setSelection or a SelectionChanged event selects nothing visibly
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- c
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C
- スター
- 10
- フォーク
- 8
- 平均マージ
- 6時間 32分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
FriendsofECCE/ECCE のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
FriendsofECCE/ECCE#1353 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FriendsofECCE/ECCE#1348 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
FriendsofECCE/ECCE#1345 ·
FriendsofECCE/ECCE の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Life-Framework/Life-Framework#5378 ·
メンテナーはふだん 1 日以内に返信
-
Bug Status: Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug status: planned ui
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ChupathingyCE/chupathingyce#2126 ·
メンテナーはふだん 1 日以内に返信
-
good first issue simulation
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
メンテナーはふだん 1 日以内に返信
-
needs-kind
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
falcosecurity/libs#3173 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信