GnuCash
Contact   Instructions
Bug 797003 - Number widget changes values by more than one
Summary: Number widget changes values by more than one
Status: NEW
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Import - CSV (show other bugs)
Version: 3.4
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: import
QA Contact: import
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-01 11:40 EST by Christoph Rohland
Modified: 2019-05-27 15:40 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot of widget (12.94 KB, image/png)
2019-01-01 13:26 EST, Christoph Rohland
no flags Details

Description Christoph Rohland 2019-01-01 11:40:42 EST
Apparently it already recognizes a pretty short click as a long one and starts to count up or down.

This seems to only happen in the cdv importer settings window. It does not happen e.g in the general Gnucash settings window.
Comment 1 John Ralls 2019-01-01 13:16:23 EST
Exactly what widget in what window or page in which CSV Importer?
Comment 2 Christoph Rohland 2019-01-01 13:26:09 EST
Created attachment 373089 [details]
Screenshot of widget
Comment 3 Christoph Rohland 2019-01-01 13:26:31 EST
Attached a screenshot
Comment 4 John Ralls 2019-01-02 23:41:12 EST
I see the opposite: The Notify When Due spinbutton in Preferences>Business seems to me to start advancing more quickly than the Leading/Trailing Rows to Skip spinbuttons in the CSV Import Assistant do. Not only that but the latter spinbuttons have only 3 values, 0, 1, or 2, so the most one can overrun is 1.
Comment 5 John Ralls 2019-01-02 23:44:35 EST
Hmm, it occurs to me that the spinbutton has 3 values only because the CSV I tested with has only 3 rows.
Comment 6 Christoph Rohland 2019-01-07 04:09:25 EST
Yeah, I definitely had higher values with a larger file.
Comment 7 Geert Janssens 2019-03-18 05:45:46 EDT
Correct. The spin buttons in the csv importer have dynamic maximum values which depend on the lines still eligible for skipping.

Perhaps this dynamic modification of these maximum values interacts with the button's long-click timers ? To be investigated further.
Comment 8 Geert Janssens 2019-05-27 12:35:21 EDT
Unfortunately I can't reproduce this at all on Fedora so it may be a MacOS only issue :(
Comment 9 Christoph Rohland 2019-05-27 14:36:58 EDT
Yeah, I suspect this is related to the "long-standing issue of getting crossing events in Gdk-Quartz"

https://bugs.gnucash.org/show_bug.cgi?id=797001.

But it is only my guess.
Comment 10 Geert Janssens 2019-05-27 15:11:08 EDT
Should we mark this one as a duplicate then ?

Presumably there's an upstream bug against Gdk-Quartz ?
Comment 11 John Ralls 2019-05-27 15:40:18 EDT
No, it's not a crossing event. It would be in the button-down handler somewhere. The spin buttons in gtk3-demo seem to work fine, as do the spin buttons in e.g. the security editor or the duplicate transaction dialog.

It may well be Mac-only.

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