taskwarrior
taskwarrior copied to clipboard
Taskwarrior miscalculates report height when using blank rows in sort
Note: my current workaround is an shell/alias command that effectively does the following:
task +next rc.report.next.sort=priority-,urgency-,priority-,project+/ limit:$(task calc $(task _get tw.height)/2)
What command(s) did you run?
task +next rc.report.next.sort=priority-,urgency-,priority-,project+/ limit:page
What did you expect to happen?
taskwarrior would limit the number of now DOUBLE rows (for readability on large screens) to the number of DOUBLE rows that will fit on a page
What actually happened?
The bottom of the report is cut off, and only the total number of tasks is printed (no indication of truncation), leading the warrior to believe that the count matches the total number of tasks shown (it doesn't).
The output of task diag:
task 2.6.2
Platform: Linux
Compiler
Version: 11.2.0
Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
Compliance: C++17
Build Features
CMake: 3.22.3
libuuid: libuuid + uuid_unparse_lower
libgnutls: 3.7.3
Build type:
Configuration
File: /home/doc/.taskrc (found), 3912 bytes, mode 100644
Data: /home/doc/.dotfiles/common/home/.task (found), dir, mode 40755
Locking: Enabled
GC: Enabled
$EDITOR: micro
Server: task.docslab.net:53589
CA: /home/doc/.dotfiles/common/home/.task/ca.cert.pem, readable, 7245 bytes
Certificate: /home/doc/.dotfiles/common/home/.task/doc_em.cert.pem, readable, 2704 bytes
Key: /home/doc/.dotfiles/common/home/.task/doc_em.key.pem, readable, 17764 bytes
Trust: strict
Ciphers: NORMAL
Creds: Public/Doc Em/************************************
Hooks
System: Enabled
Location: /home/doc/.dotfiles/common/home/.task/hooks
Active:
Inactive: on-exit-prime-projects (not executable)
Tests
Terminal: 577x42
Dups: Scanned 1388 tasks for duplicate UUIDs:
No duplicates found
Broken ref: Scanned 1388 tasks for broken references:
No broken references found