Overlapping OCG layers don't respond to clicks
This PDF consists of 3 layers which, when clicked, should cycle (Button1->Button2->Button3->Button1->....).
This seems to work on Acrobat Reader, but unfortunately in Evince it seems that the clicks are always captured by the uppermost layer, so Button1 is always visible (as clicks reach always Button3's layer triggering the show of Button1).
This pdf was made using the following Latex:
\documentclass{standalone}
\usepackage[tikz]{ocgx2}
\tikzstyle{button}=[minimum width=15mm, rounded corners, draw=white!50!black!100, bottom color=white]
\begin{document}
\begin{tikzpicture}
\begin{ocg}[radiobtngrp=myRadioButtons]{OCG 0}{1}{1}
\node[button, show ocg=2] (n1) at (0,0) {$Button 1$};
\end{ocg}
\begin{ocg}[radiobtngrp=myRadioButtons]{OCG 1}{2}{0}
\node[button, show ocg=3] (n2) at (0,0){$Button 2$};
\end{ocg}
\begin{ocg}[radiobtngrp=myRadioButtons]{OCG 2}{3}{0}
\node[button, show ocg=1] (n3) at (0,0){$Button 3$};
\end{ocg}
\end{tikzpicture}
\end{document}
Edited by Eugenio Bargiacchi