GnuCash
Contact   Instructions
Bug 797754 - In an account register, scrolling stops working when the mouse pointer re-enters the scrollbar after leaving it
Summary: In an account register, scrolling stops working when the mouse pointer re-ent...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Register (show other bugs)
Version: 3.10
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: ui
QA Contact: ui
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-13 08:17 EDT by Vincent Lefevre
Modified: 2020-05-19 11:34 EDT (History)
6 users (show)

See Also:


Attachments

Description Vincent Lefevre 2020-05-13 08:17:53 EDT
In an account large enough to need scrolling, when I scroll with the mouse by pressing the left mouse button over the thumb and moving the mouse up and down (but also a bit left and right unintentionally), the scrolling stops as soon as the mouse pointer re-enters the scrollbar.

In short, to reproduce the bug:
1. Open an account large enough to need scrolling.
2. Press and hold the mouse button over the thumb of the scrollbar.
3. Move the mouse up-left: this will scroll upward, and the mouse pointer will leave the scrollbar to enter the work area of the window.
4. Move the mouse up-right or down-right: this will scroll upward or downward, but only until the mouse pointer re-enters the scrollbar.

The bug also occurs when inverting left and right (i.e. with the mouse pointer leaving the window and re-entering).

Note: When I start scrolling, the thumb changes from gray to dark blue. When scrolling stops due to this bug, the thumb changes back to gray, as if I had released the mouse button.
Comment 1 John Ralls 2020-05-13 12:54:04 EDT
Does this happen with a report too?

What distro & version?
Comment 2 Vincent Lefevre 2020-05-13 13:35:47 EDT
I've tried several reports, and the bug does not occur there. It does not occur either in the list of the accounts.

Debian/unstable (package gnucash 1:3.10-1).

In case this matters, I use the fvwm window manager, no desktop environment.
Comment 3 John Ralls 2020-05-13 13:42:05 EDT
OK, it's a register problem rather than a Gtk one. Thanks.
Comment 4 Chris Good 2020-05-13 21:34:13 EDT
Same problem as https://bugs.gnucash.org/show_bug.cgi?id=797755 :
  After scrolling, slider and register contents snap back ?
Comment 5 Vincent Lefevre 2020-05-14 02:51:29 EDT
No, it is not the same problem. In my case, the scrolling just stops, as if I released the mouse button. Nothing snaps back.
Comment 6 Bob 2020-05-15 06:56:00 EDT
This I think is down to gnucash_register_enter_scrollbar in gnucash-register.c which was used from the start of the 3.x series to fix a potential bug in gtk+3.20 which still seems to be open.

https://bugzilla.gnome.org/show_bug.cgi?id=765410
https://gitlab.gnome.org/GNOME/gtk/issues/615

Will try and remove it and see if it works ok.
Comment 7 Bob 2020-05-19 11:34:52 EDT
I have removed this old fix and tried in Windows 10 and a couple of flavours of Linux and I am unable to reproduce the old problem so have pushed this to master and so will be fixed for version 4.0

Note You need to log in before you can comment on or make changes to this bug.