when I open a PDF file, the top title is the file name that I passed in, and then open a Docx file, the top title is still the file name of PDF file, but in the Shared module, that name is correct. After many attempts, I found that when I opened the Docx file, there would be such a problem that the title would always be the title of the last open file's fileNameOptional.
when I open a PDF file, the top title is the file name that I passed in, and then open a Docx file, the top title is still the file name of PDF file, but in the Shared module, that name is correct. After many attempts, I found that when I opened the Docx file, there would be such a problem that the title would always be the title of the last open file's fileNameOptional.