shosetsuorg / shosetsu

An android application for reading light novels. Moved to https://gitlab.com/shosetsuorg/shosetsu
https://shosetsu.app
GNU General Public License v3.0
582 stars 34 forks source link

[Bug] [1656] [F-R] Chapters Scrollbar Improvements #152

Open Dunbock opened 2 years ago

Dunbock commented 2 years ago

This is a bit of bug report and a feature request combined.

Describe the bug The scroll bar when reading a chapter is inconsistent. I am not able to spot the scroll bar in the white and yellow reader theme. The scrollbar in the black and gray theme are of the same colour. drawing drawing

Furthermore, the scroll bar vanished behind the app bars at the top and bottom and vanishes after not scrolling for a bit.

The scrollbar in chapters chapters can not be grabbed to scroll using it.

To Reproduce Steps to reproduce the behavior:

  1. Select reader theme in Settings > Reader.
  2. Have no custom CSS.
  3. Open a novel chapter.
  4. Scroll around and see: 4.1. The scroll bar not being grabbable. 4.2. The scroll bar vanishing after stopping to scroll. 4.3. The scroll bar vanishing behind the top and bottom app bar if scroll enough at the top or bottom of the chapter.

Expected behavior I expect the scrollbar to be visible when scrolling and having a contrasting color to background like for the example the text colour regardless of the reader theme. Additionally I would expect the scrollbar to be there all the time, or at least an option for that. That way it does not always appear with scrolling, which might irritate people.

Device information:

Additional context Preferably the scroll bar colour is set to the text colour or can be set manually via CSS in case the reader theme gets modified via CSS due to the possibility of the background colour being different. Might even be worth it to add the top and bottom app bar to be coloured in accordance of the reader theme.

Dunbock commented 2 years ago

Just noticed this is partial duplicate of #135 .

Doomsdayrs commented 2 years ago

I am at loss on how to properly handle this.

Should there be a custom CSS field that Shosetsu looks for to modify the color of the scrollbar?

Or should there simply be a setting you can change to the color you prefer?

Also, Is this a webview behavior or is this noticed in other readers aswell?