Commit 6330783
Fix AST-137779: Do not auto-load results on scan completion
Previously, two syncExec blocks fired when a scan completed: the first
auto-loaded results immediately (causing a 'no results' flash and
bypassing the notification), and the second showed the notification
popup whose 'Load Results' button would load a second time.
Merged into a single syncExec that: refreshes the scan list, marks the
new scan ID as latest in preferences, and shows the notification. Results
are now only loaded when the user explicitly clicks 'Load Results'. If the
notification is closed or ignored the current results remain visible and
the new scan ID is still available in the scan list as latest.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 58aa636 commit 6330783
1 file changed
Lines changed: 9 additions & 21 deletions
Lines changed: 9 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | 337 | | |
| 338 | + | |
| 339 | + | |
339 | 340 | | |
340 | 341 | | |
341 | | - | |
| 342 | + | |
| 343 | + | |
342 | 344 | | |
343 | | - | |
344 | 345 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| 346 | + | |
358 | 347 | | |
359 | | - | |
360 | | - | |
| 348 | + | |
| 349 | + | |
361 | 350 | | |
362 | 351 | | |
363 | 352 | | |
| |||
366 | 355 | | |
367 | 356 | | |
368 | 357 | | |
369 | | - | |
370 | | - | |
| 358 | + | |
| 359 | + | |
371 | 360 | | |
372 | 361 | | |
373 | 362 | | |
374 | | - | |
375 | 363 | | |
376 | 364 | | |
377 | 365 | | |
| |||
0 commit comments