Dispatcher: action list fixes#13167
Conversation
Hold on, I'm not sure if that reasoning necessarily makes sense. Defect size for example can make quite a bit of impact, but presumably for interface simplicity it was left out of the quick tweaks for on-device reflow settings. But these are the advanced settings. I don't know if we decided on any particular relationship between the bottom menu and Dispatcher, but I've always thought Dispatcher is "more". Line 78 in 9911ef7 |
|
koreader/frontend/ui/data/koptoptions.lua Lines 600 to 607 in 9911ef7 koreader/frontend/ui/data/koptoptions.lua Lines 614 to 619 in 9911ef7 |
|
So it is used? I'm afraid I'm not following. You said they weren't used. Edit: okay, you were just showing that it says show = false there. I thought you were saying something new. ;-) |
|
I removed them because of the comments. Let's reconsider. name = "defect_size",
name_text = _("Reflow Speckle Ignore Size"),
show = false, -- might work somehow, but larger values than 1.0 might easily eat contentShow in the bottom menu? Show in the action list? name = "detect_indent",
name_text = _("Indentation"),
show = false, -- does not workShow in the bottom menu? Show in the action list? |
|
Speckle Ignore Size is definitely useful, but whether it's useful enough to clutter the bottom interface is another matter. But in Dispatcher/Profiles I don't think it's clutter. It's one of those settings you simply almost never have to change. The comment may be referring to the provided values. See here for an example where 1.5 was helpful for example. name = "detect_indent",
name_text = _("Indentation"),
show = false, -- does not workI don't really know what that's supposed to do. Maybe it's related to koreader/libk2pdfopt#15 |
|
Context I would say that if you delete then from kopt (as broken), then delete then from dispatcher, otherwise they should probably stay |
| kopt_max_columns = {category="configurable", paging=true}, | ||
| kopt_auto_straighten = {category="absolutenumber", paging=true}, | ||
|
|
||
| settings = nil, -- reserved for per instance dispatcher settings |
There was a problem hiding this comment.
This is there for documentation purposes
There was a problem hiding this comment.
Restored.
I don't find this line to be helpful.
| "kopt_zoom_overlap_h", | ||
| "kopt_zoom_overlap_v", | ||
| "kopt_zoom_mode_type", | ||
| -- "kopt_zoom_range_number", -- can't figure out how this name text func works |
There was a problem hiding this comment.
If you figure can out the name_text func please leave this in, itdoes work in the bottom menu
+1 They're not broken nor should they be deleted. |
|
This one is deleted from Dispatcher: |
|
If so we should remove it everywhere really I think, but fair enough. :-) |
|
I'd rather keep some traces that the kopt feature somehow is exposed and is just not working - than remove all traces of it - so people looking around can more easily know it exists and investigate/try/work on it. |
|
Okay, it's kept in koptoptions. |
(1) Remove unused kopt actions that are not shown in the bottom menu.
(2) Separate GoTo and Back actions for Reader and FileManager.
(3) Statistics:
-add "Time range" action
-group all actions together in the General section, except "Book statistics" in Reader section.
Closes #12690.
This change is