https://bugs.documentfoundation.org/show_bug.cgi?id=146219

--- Comment #7 from Mike Kaganski <[email protected]> ---
(In reply to Mike Kaganski from comment #6)

Ah - sorry, I was thinking too complicated.
RecentFilesMenuController::fillPopupMenu doesn't use file thumbnail at all. It
calls SvFileInformationManager::GetImageId to *get identifier of generic
image*, which tries to check if the URL is directory (and thus calls
GetImageId_Impl passing bDetectFolder = true). But
RecentFilesMenuController::fillPopupMenu itself doesn't need directory
detection. So the solution is to just avoid use of
SvFileInformationManager::GetImageId, and use
SvFileInformationManager::GetFileImageId instead, that calls GetImageId_Impl
with bDetectFolder = false.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to