Why do people never say the following:
I have wanted to ask. . . .
Maybe it would be better to ask whether it’s correct to say:
I have wanted to ask. . . .
But really I think I’ve never heard that form. Usually I hear people say (for example):
I wanted to ask how you spent this morning.
I’m talking about the situation when, for instance, one person is discussing something with other people. Suppose in the middle of the discussion, the person realises that they need to get some complementary information from the speaker. They wait for their turn to have a word, and when their turn comes, they say:
I have wanted to ask you, how do you make pastries?
That is, they wish to ask the question which occurred in the mind of the person, and they retained the thought until the moment they asked the speaker. Is it formally correct for them to use present perfect there?
Of course, there is another situation when you say:
Yesterday I wanted to ask you about your health, but you had fled. How are you now?
And here it seems quite okay to use the simple past.