"Set selected text as title" for PDF files

I think that we lost an important function we used to have. “Set selected text as title” is an invaluable context menu item. It used to work for imported PDF files, but now it doesn’t.

And yes, I am talking about an OCRed PDF or one created natively with text; not a image-only PDF.