The calendar
report is ignoring rule.precedence.color
and rule.color.merge
settings
#3691
Labels
topic:themes
Issues related to color themes or colorized output
Current behavior
The
calendar
report does not respect therule.precedence.color
orrule.color.merge
settings as expected. At the same time, both thetaskrc
(precedence, merge) andtask-color
(precedence, merge) man pages lack any mention that they do not apply to thecalendar
report.Example
In the following example, I set
rule.precedence.color=scheduled,due
intending that dates with bothscheduled
anddue
tasks (e.g., November 22nd) would adopt the color defined forscheduled
tasks. However, the color for that date defaults to thedue
task color instead of prioritizingscheduled
.Additionally, I set
rule.color.merge=0
to prevent blending ofscheduled
anddue
colors, but the colors are still merged.Analysis
A quick review of the source code for the
calendar
report reveals:if
clausesblend()
method from libshared is used in several places, disregarding therule.color.merge
settingThe text was updated successfully, but these errors were encountered: