Closed
Description
If you use a GtNotificationJob
and use the GtNotificationEvent>>#showNotifications
method to automatically show the notification when the job starts, you can sometimes get an error when the notification dropdown is shown or hidden:
I received this from running this code a few times:
[ (1 to: 20)
collect: [ :i |
| job notification |
job := (GtJob
block: [ :job1 |
job1 label: 'Testing'.
job1 max: 10.
1
to: 10
do: [ :j |
10000 atRandom factorial.
job1 value: j ] ]) announcer: Announcer new.
notification := GtNotificationJob new.
notification summaryClass: GtCompilationNotificationSummary.
notification job: job.
notification registerNotifications.
notification showNotifications.
notification hideNotificationsOnRemoval.
[ job run ] forkAt: Processor activePriority - 1 ] ] asAsyncPromise
Metadata
Metadata
Assignees
Labels
No labels