Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Never full refresh #5227

Merged
merged 2 commits into from
Aug 20, 2019
Merged

Never full refresh #5227

merged 2 commits into from
Aug 20, 2019

Conversation

robert00s
Copy link
Contributor

  • add Never refresh in Settings -> Screen -> E-ink settings -> Full refresh rate.
  • spinnerWidget insteed of inputWidget after long press Cutom x
  • After changing the value, the menu label is now updated see: Never full refresh page #5190 (comment)

obraz

obraz

@Frenzie Frenzie added this to the 2019.09 milestone Aug 19, 2019
@Frenzie
Copy link
Member

Frenzie commented Aug 19, 2019

I use 22 on mine and I'd probably be happy with 99, but literally never doesn't strike me as desirable. I definitely prefer the occasional possibly redundant flash over having to manually trigger screen refreshes. But whatever, I guess that's up to the user. ¯_(ツ)_/¯

Edit: oh, I see. Full refresh is still triggered by dictionary lookup and such as per the linked issue.

local function custom_2() return G_reader_settings:readSetting("refresh_rate_2") or 22 end

local function custom_3() return G_reader_settings:readSetting("refresh_rate_3") or 99 end
local function custom(refresh_rate_type)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick, but for read/understandability, refresh_rate_type is a bit misleading, refresh_rate_num or custom_refresh_rate_setting_name is probably clearer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

return {
text = _("Full refresh rate"),
separator = true,
sub_item_table = {
{
text = _("Never refresh"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or just Never or Manually ? @Frenzie ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual and UI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use Never.

@Frenzie Frenzie merged commit d9018fa into koreader:master Aug 20, 2019
@robert00s robert00s deleted the never_refresh branch November 23, 2019 18:22
mwoz123 pushed a commit to mwoz123/koreader that referenced this pull request Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants