When trying to remove the bark from a tree with a shield, it doesn't let you, since you have the shield equipped. According to Minecraft, the first hand will always be used if it has any possible action before the second one. So this is wrong because it forces you to remove the shield. ...
See MC-270047, this is intentional. Shift and right-click to strip the log.