Join GitHub today
Close filemanger after open last document #3933
No similar problem if, when being in FileManager, you launch History, and open a document from there?
I remember I did look at something like that around the time I fixed "UIManager to not paint widgets covered by a full screen widget", for situations where we don't close the FileManager while opening reader.
--- a/frontend/apps/reader/readerui.lua +++ b/frontend/apps/reader/readerui.lua @@ -439,6 +439,10 @@ end local _running_instance = nil function ReaderUI:doShowReader(file, provider) + local FileManager = require("apps/filemanager/filemanager") + if FileManager.instance then + FileManager.instance:onClose() + end logger.info("opening file", file) -- keep only one instance running if _running_instance then
(again, there could be reasons - or none - why I didn't push that - I just don't remember them...)