Truncate long task names in popup