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

Page Reserved Height has no effect #303

Open
mhantsch opened this issue Nov 30, 2023 · 6 comments
Open

Page Reserved Height has no effect #303

mhantsch opened this issue Nov 30, 2023 · 6 comments
Assignees

Comments

@mhantsch
Copy link

What device and app version are you using

  • Device: Onyx Boox Nova Air 2
  • OS: Android 11
  • EinkBro Version 10.16.1

Describe the bug
I set the Page Reserved Height to different valus, e.g. 50% but a page turn still moves by exactly the same amount. It seems the setting has no effect.

I am trying to get more of an overlap between pages but can't make it work. it does not matter if I turn pages using the device buttons or the on-screen page turn touch zones.

To Reproduce
Steps to reproduce the behaviour:

  1. Open web page
  2. Go to settings and set page Reserved Height to 50%
  3. Exit settings and page turn
  4. The Page turns but only 1 or 2 lines of text remain visible from the previous page.

Expected behavior
Half of the text of the previous page should still be visible.

@plateaukao
Copy link
Owner

please only input digits.
% is not allowed.

@mhantsch
Copy link
Author

I did not put the % sign in the field, only the digits 50.

@plateaukao
Copy link
Owner

plateaukao commented Nov 30, 2023

@mhantsch
The input number unit is pixel, not percentage of the screen.
Usually, the screen height is 768, or 1024.
You could try 300, or 500 to see if it's close to what you expected.

@mhantsch
Copy link
Author

@plateaukao
I did not realise this value was in pixels! Of course the feature works, now I have put in 250, and that makes a big difference. Maybe the text around the entry field should say "in pixels".

@mhantsch
Copy link
Author

Or, when the entry has '%' at the end, it could automatically calculate the pixels from the current screen height.

@plateaukao
Copy link
Owner

Yes, you are right. I'll add description to explain it's in pixels; and modify codes so that users should explicitly add %, and it will take the string as percentage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants