Days before, I was dealing with the problem of drawing horizontal lines between colored multirow cell with \hhline. I tried two method and took the second at last. But I found there is a bug in the first method if calc is loaded.
All things are in my example code. Comment the calc package, the vertical line (red and teal ones) below the third row will be shown normally.
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{tikz}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage{ehhline}
% \usepackage{calc} % make method 1 not work
%% vertical line
% vertical colored line #1 color #2 width
\newcommand{\vsl}[2]{\color{#1}\vrule width #2}
% colored solid line pattern
% #1 color #2 width #3 height
\newcommand{\hsp}[3]{\hbox{\textcolor{#1}{\rule{#2}{#3}}}}
% #1 top fill #2 bottom fill
\newcommand{\leaderfill}[1]{%
\xleaders\hbox{%
\vbox{\baselineskip=0pt\lineskip=0pt#1}%
}\hfill%
}
% #1 color #2 height
\newcommand{\sfill}[2]{%
\leaderfill{\hsp{#1}{0.1pt}{#2}}%
}
%% vline settings
% #1 rule width #2 color
\newcommand{\setvline}[2]{%
\global\setlength\arrayrulewidth{#2}\arrayrulecolor{#1}%
}
\begin{document}
\begin{tabular}{
!{\vsl{red}{5pt}}c
!{\vsl{teal}{5pt}}p{0.5cm}
!{\vsl{blue}{3pt}}
}
% row 1
\cellcolor{gray}
& \cellcolor{yellow}\\
\hhline{
~ % blank in merged cell
!{\sfill{black}{3pt}}
}
% row 2
\cellcolor{gray}
& \cellcolor{yellow}\\
\hhline{
!{\sfill{gray}{3pt}} % overlap the vertical line
!{\sfill{black}{3pt}}
}
% row 3
\cellcolor{gray} third row
& \cellcolor{orange}\\
% first method: set arrayrulewidth and arraycolor
% not work with calc
\hhline{
>{\setvline{red}{5pt}}|
!{\sfill{gray}{3pt}}
>{\setvline{teal}{5pt}}|
!{\sfill{black}{3pt}}
}
% row 4
\cellcolor{gray}\tikz[->, baseline=-.5ex] \draw (0, 0) -- (-1ex, 1ex);
% load calc
not load
& \cellcolor{pink}\\
% second method: use box
\hhline{
>{\vsl{red}{5pt}}
!{\sfill{gray}{3pt}}
>{\vsl{teal}{5pt}}
!{\sfill{black}{3pt}}
}
% row 5
\cellcolor{gray}\multirow{-5}*{}
& \cellcolor{cyan}\\
\end{tabular}
\end{document}



stackengine, the solid red vertical bar gets a smll gray finger on the left side. Same for teal bar. Is this the essence of the cited issue? – Steven B. Segletes Apr 27 '20 at 10:55stackenginepackage loads thecalcpackage, and it iscalcthat is causing the issue. If you loadcalcinstead ofstackengine, you will see the same issue. Thus, there seems to be an incompatibility withcalc. – Steven B. Segletes Apr 27 '20 at 11:07calcinstead ofstackenginewill get a different set of eyes looking at the problem, since the use ofcalcis more widespread than that ofstackengine. – Steven B. Segletes Apr 27 '20 at 11:16