Modules widget: copy only copies the first selected cell
まだ誰も着手していません。
評価
調査の方向性
ui/moduleswidget.cpp の DebugModulesWidget::copy() から始め、修正済みの DebugMemoryMapWidget::copy() の実装と比較します。関連する選択処理を移植し、選択されたすべてのセルが表示順でコピーされるようにします。列はタブで、行は改行で区切ります。
索引モデルが issue の本文から書いたものです。
説明
Description
In the Debugger Modules sidebar widget, selecting multiple cells and copying (Ctrl+C / right-click → Copy) only copies the contents of the first selected cell. All other selected cells are ignored.
Cause
DebugModulesWidget::copy() in ui/moduleswidget.cpp only reads sel[0]:
QModelIndexList sel = selectionModel()->selectedIndexes();
if (sel.empty())
return;
auto sourceIndex = m_filter->mapToSource(sel[0]); // <-- only the first cell
...
switch (sel[0].column()) { ... }
It should iterate over all selected indexes.
Expected behavior
Copy the contents of every selected cell — grouped by row (tab-separated columns within a row, newline between rows), in visual order — matching typical table-copy behavior.
Notes
The same bug existed in the Memory Map widget (DebugMemoryMapWidget::copy()) and has been fixed there; the same fix should be ported to the Modules widget. See DebugMemoryMapWidget::copy() for the reference implementation.
- 主要言語
- C++
- スター
- 331
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Vector35/debugger のほかの issue
-
bug Effort: Trivial Impact: Low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
Effort: Trivial enhancement UI
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
documentation Impact: Low
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
Vector35/debugger の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AXERA-TECH/ax-llm#77 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
games-on-whales/wolf#509 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NVIDIA/cuda-samples#453 ·