hius07
hius07
Duplicate of https://github.com/koreader/koreader/issues/13489. @pazos I think this local function should be rewritten as method (maybe using `self.ui` from the plugin main). Currently `file_chooser` is initiated after plugins.
Sorry, I don't use calibre. Just looking at the code of this local function that is built before file_chooser.
What I propose: ```diff diff --git a/main.lua b/main.lua index ffd35f9..20b4a9e 100644 --- a/main.lu +++ b/main.lua @@ -87,7 +87,7 @@ function Calibre:onDispatcherRegisterActions() end function Calibre:init() - CalibreWireless:init() + CalibreWireless:init(self) self:onDispatcherRegisterActions() self.ui.menu:registerToMainMenu(self)...
Okay. Just a coincidence: two similar issues reported right after I had moved file_chooser initiation after plugins loading.
Frontlight level can be changed by gestures as well, besides the dialog.
At least there is an action to create/open the notebook file (in the General section of the Gesture manager).
It creates/opens a special txt file, see https://github.com/koreader/koreader/issues/12623. When in reader - a book's notebook file, when in file browser - common (default) notebook file. Name and location can be...
Closed in favor of https://github.com/koreader/koreader/pull/13078. Thanks.
Seems to work good. Actually they become not "Progress bar margins" but "Status bar margins".
Userpatch to save the full chapter path. ```Lua local ReaderAnnotation = require("apps/reader/modules/readerannotation") ReaderAnnotation.addItem_orig = ReaderAnnotation.addItem ReaderAnnotation.addItem = function(self, item) item.chapter = table.concat(self.ui.toc:getFullTocTitleByPage(item.page), " ▸ ") return self:addItem_orig(item) end ```