Slicer doesn't show rotation slider value corresponding to a transform after rotation axis is not cannonical

I’ve played around with this a few times because indeed it seems to make sense to have Euler angle sliders. However, in practice it works very poorly. You can find a complete implementation in Python in this post that you can easily test (and try to fix):