Commit 0260961
Fix: Clear detail panels on severity filter change (AST-136035) (#245)
* Fix AST-136035: Clear detail panels on severity filter change; fix scan ID combo overflow
- Hide resultViewComposite and attackVectorCompositePanel when filter changes
so the description and attack vector windows no longer show stale content
- Replace fixed widthHint=520 on scan ID combo with SWT.FILL/grabExcess layout
so the combo is always visible without needing to maximize the window
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Fix AST-136035: Clear right panels only when displayed item's severity is filtered out
Previously, toggling any severity filter always hid the description and
attack vector panels. Now the panels are only cleared when the currently
displayed item belongs to a severity that was just disabled. If the item's
severity is still active, the panels stay visible.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Fix AST-136035: Preserve tree expansion state when severity filter changes
- Capture expanded elements before clearing the model so the snapshot
is accurate when restoring after refresh
- Pass expand=true for FILTER_CHANGED (keep GET_RESULTS at false) so
previously expanded group nodes are restored after filtering instead
of collapsing the entire tree
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 644dae9 commit 0260961
1 file changed
Lines changed: 12 additions & 3 deletions
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
1082 | 1083 | | |
1083 | 1084 | | |
1084 | 1085 | | |
1085 | | - | |
1086 | | - | |
| 1086 | + | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
| |||
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
| 1389 | + | |
1389 | 1390 | | |
1390 | 1391 | | |
1391 | 1392 | | |
| |||
2473 | 2474 | | |
2474 | 2475 | | |
2475 | 2476 | | |
| 2477 | + | |
| 2478 | + | |
2476 | 2479 | | |
2477 | 2480 | | |
2478 | 2481 | | |
| |||
2489 | 2492 | | |
2490 | 2493 | | |
2491 | 2494 | | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
2492 | 2502 | | |
2493 | 2503 | | |
2494 | | - | |
2495 | 2504 | | |
2496 | 2505 | | |
2497 | 2506 | | |
| |||
0 commit comments