MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   KOReader (https://www.mobileread.com/forums/forumdisplay.php?f=276)
-   -   Increase file browser button size? (https://www.mobileread.com/forums/showthread.php?t=341583)

Hyphen-ated 09-04-2021 04:07 AM

Increase file browser button size?
 
I find the prev/next buttons in the file browser to be tiny and difficult to press, especially when I need to press them many times quickly.
Here's a drawing of roughly what I'd like the file browser UI to look like.
https://i.imgur.com/92OGQfL.png

Is it easily possible to configure something along these lines?
I found the settings in defaults.lua that allow for detailed customization of touch areas when actually reading a book, but I haven't been able to find anything similar for the file browser.

It would also be fine by me if these big buttons were invisible, allowing more space to display book metadata, and I'd just have to know to click in the middle in order to open a book.

pazos 09-04-2021 07:28 AM

Just do a swipe gesture

Hyphen-ated 09-04-2021 01:21 PM

Quote:

Originally Posted by pazos (Post 4151604)
Just do a swipe gesture

No thank you.

JSWolf 09-04-2021 03:38 PM

Quote:

Originally Posted by Hyphen-ated (Post 4151663)
No thank you.

What have you against swiping?

Frenzie 09-04-2021 05:23 PM

In settings → taps & gestures you can customize most of the corners as additional back/forward zones.

Also in settings → screen → you can make the entire UI larger by lowering the DPI setting.

Hyphen-ated 09-06-2021 11:34 PM

Quote:

Originally Posted by Frenzie (Post 4151717)
In settings → taps & gestures you can customize most of the corners as additional back/forward zones.

Thanks for the suggestion!
I don't see it though. If I go to: [be in file browser] -> settings -> Taps and gestures -> Gesture manager -> Tap corner -> Bottom left -> File browser

Then I get to choose between "Folder up", "Show plus menu", "Refresh content", "Folder shortcuts", "OPDS Catalog". None of those are back/forward. Should I be looking in a different place in the menu hierarchy?

Hyphen-ated 09-06-2021 11:38 PM

Quote:

Originally Posted by JSWolf (Post 4151695)
What have you against swiping?

Swipe gestures are a sick farce on devices that can't respond to them in real time :)

JSWolf 09-07-2021 04:24 AM

Quote:

Originally Posted by Hyphen-ated (Post 4152277)
Swipe gestures are a sick farce on devices that can't respond to them in real time :)

That is just so very wrong. A swipe is because the user prefers to swipe then to tap.

Hyphen-ated 09-07-2021 03:05 PM

Quote:

Originally Posted by JSWolf (Post 4152322)
That is just so very wrong. A swipe is because the user prefers to swipe then to tap.

You don't get to tell me what I prefer.

You are free to enjoy whatever UI interactions you want on your own devices.

hius07 09-07-2021 04:41 PM

There are no actions for filebrowser page turns in Taps&Gestures at the moment.

Hyphen-ated 09-08-2021 01:46 AM

Quote:

Originally Posted by hius07 (Post 4152480)
There are no actions for filebrowser page turns in Taps&Gestures at the moment.

There also seems to be no way to change the corner area size in the file browser; it's about as tiny as the next/prev arrow buttons, although easier to hit.

I think I'll take a look at the code and see how much effort it would be to implement page controls and also allow the file browser to configure all the same tap areas as the reading ui.

hius07 09-08-2021 04:14 AM

Very nice. Page turning with chevrons starts here
https://github.com/koreader/koreader.../menu.lua#L769

Hyphen-ated 09-08-2021 04:46 AM

I made some progress. https://github.com/Hyphen-ated/korea...af398a4c580a09

Adding configurable actions to page through the file browser was easy.

I also unlocked the ability to configure the top-left and top-right corners, which had been intentionally disabled because the Home and Plus buttons are there. But I want to be able to have top corners that are like, 1/4 the width and height of the screen, so it makes total sense to have these usable even when there's also a tiny button there.

I'm not sure how to make the user-configured tap areas take priority over the item_table entries representing files. Right now my big corner tap areas work great, as long as there's fewer than a full page of files so my tap doesn't get eaten. I haven't found any explicit Z-ordering in the code. Maybe I need to do something in some object's onMenuSelect?

JSWolf 09-08-2021 06:14 AM

Quote:

Originally Posted by Hyphen-ated (Post 4152465)
You don't get to tell me what I prefer.

You are free to enjoy whatever UI interactions you want on your own devices.

I'm not telling you that you should prefer swiping to tapping. I'm telling you that your reasoning is wrong. Swiping is not a sick farce for any reason. It's a preference. That is all it is.


All times are GMT -4. The time now is 05:10 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.