johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
5.26k stars 256 forks source link

footnote popup scroll bar does not react to mouse clicks #1241

Open joeyh opened 5 months ago

joeyh commented 5 months ago

Describe the bug

When a footnote popup is being displayed, and the text is longer than will all show at once, there is a scroll bar. Clicking or dragging anywhere this scroll bar does not cause any scrolling. It is, however, possible to scroll it using the scroll wheel.

To Reproduce

Steps to reproduce the behavior:

  1. Open the standard ebooks version of Abbot's Flatland
  2. Go to chapter III and click on footnote 2 (just after "Isosceles parents")
  3. Try to click on the scroll bar to move it around.

Expected behavior

Scroll bars should always be responsive to clicks.

Also, for what it's worth, the page navigation keys like up/down change pages in the book despite the footnote popup being displayed.

Screenshots

Screenshot showing one place where clicking does not move the scroll bar.

Version:

joeyh commented 5 months ago

Just noticed that in scrolled mode, the scroll bar also doesn't react to clicks or drags.

johnfactotum commented 5 months ago

Works for me. Probably a WebKitGTK bug. Could be related to the fact that you seem to have disabled overlay scrolling. But it works for me even when overlay scrolling is disabled.