Commit 55481d3
Fix: Statusline not cleared after job completion if sub-tasks are used
Similar to `setTaskName()`, the string created when calling `subTask()`
must also be stored in the `fTaskName`, rather than in `fMessageText`
field. Otherwise the label of the status line is not cleared after
calling done() on the progress monitor.
Because the text of the sub-task is calculated using the value of
`fTaskName`, the original name of the task needs to be stored in a
separate field to avoid the name of the previous sub-task to be
contained in the next sub-task.
Closes eclipse-platform#27621 parent 92e290e commit 55481d3
File tree
2 files changed
+45
-4
lines changed- bundles/org.eclipse.jface/src/org/eclipse/jface/action
- tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api
2 files changed
+45
-4
lines changedLines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
580 | 583 | | |
581 | 584 | | |
582 | 585 | | |
| 586 | + | |
583 | 587 | | |
584 | 588 | | |
585 | 589 | | |
| |||
650 | 654 | | |
651 | 655 | | |
652 | 656 | | |
653 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
654 | 663 | | |
655 | | - | |
656 | 664 | | |
657 | 665 | | |
658 | 666 | | |
| |||
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
197 | 201 | | |
198 | 202 | | |
199 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
200 | 233 | | |
0 commit comments