plateaukao / einkbro

A small, fast web browser based on Android WebView. It's tailored for E-Ink devices but also works great on normal android devices.
Other
1.05k stars 77 forks source link

Switching up/down direction for touch pagination changes button speed #338

Closed AJolly closed 5 months ago

AJolly commented 5 months ago

11.3.1

Weird little bug, by default the touch pagination buttons respond instantly and you can hold it down and it will rapidly scroll to the top or bottom of a page. If you switch the direction, they respond significantly slower (repeat threshold/speed)?

Tested this a few times.

(Ps. Related feature request: I love if we could somehow tie the up down directions to the device rotation, Ie portrait versus inverted portrait.

(A lot of ebook readers only have physical buttons on one side of the device, id like to be able to always have the down action be on the side farthest away from the buttons. )

Or if there's a way for me to set the setting via tasker I can diy.)

plateaukao commented 5 months ago

sorry, I don't understand your related feature request. as for long press luggish, I'll check why.

AJolly commented 5 months ago

sorry, I don't understand your related feature request.

Does this make more sense? Trying to make it easier for one hand operation.
So either 1) tie the touch pagination buttons to the device rotation. 2) let it be a setting that's controllable by an external script or plug in like Tasker. 3) add a option that combines the current left + right options 4) let the middle/bottom/two sides options work as down arrows on both sides

IMG20240215101702~2

IMG20240215101638~2

Minor bug: the labels for middle and bottom are flipped:

IMG20240215101532~2 IMG20240215101539~2

plateaukao commented 5 months ago

for screen rotation, please configure toolbar to add the rotate button directly. (it's available in action menu) it's not so intuitive to rotate device by touching screen area. as for script or plugin to control behavior, sounds like a good idea, but I have no time to implement so. Thanks for the siggestion. If you can send a pull request, I would love to revoew it.