I believe I found a solution to this annoying Microsoft Windows 11 issue.
When "printing" a webpage, the Windows 11 default Destination is now "Microsoft Print to PDF", which produces a blank filename.
I changed the Destination back to "Save as PDF", as it was by default on my Windows 10 PC.
Now the filename populates automatically as expected.
I hope this works for others as well.