Bug 403335 - When entering next transaction, clicking once on date increase starts date increasing until you click on decrease
Summary: When entering next transaction, clicking once on date increase starts date in...
Status: RESOLVED DUPLICATE of bug 424378
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-18 00:11 UTC by Ian Neal
Modified: 2020-08-11 09:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Neal 2019-01-18 00:11:44 UTC
SUMMARY
When entering next transaction, clicking once on date increase starts date increasing until you click on decrease

STEPS TO REPRODUCE
1. Setup a scheduled transaction and set preview schedule days to be enough to show next scheduled transaction.
2. Go to relevant ledger, right click and select Enter next transaction.
3. On dialog, select up arrow next to date and observe what happens.

OBSERVED RESULT
Date increases by one then, about a second later, increases until it reaches the end of the month.

EXPECTED RESULT
Date increases by one and doesn't increase any further until you click the up arrow again.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: Fedora 28 xcb windowing system
(available in About System)
KDE Plasma Version: 5.13.5-1
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2019-01-18 08:31:48 UTC
I am unable to duplicate this here. Does it happen in other date selector fields (e.g. reports) as well or is it only with the scheduled transactions?

My versions (in case this is relevant):

Linux/KDE Plasma: openSUSE Leap 15.0
(available in About System)
KDE Plasma Version: ??
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4
Comment 2 Ian Neal 2019-01-18 10:10:14 UTC
Yes, it also happens in other date selector fields like in reports.
Comment 3 Jack 2019-01-18 19:35:29 UTC
Ian - can you try some app other than KMM that uses the same date widget?  That might distinguish whether the problem is with the underlying widget itself, or with how KMM is using it, although I do suspect the former.
Comment 4 Ian Neal 2019-01-18 22:24:10 UTC
(In reply to Jack from comment #3)
> Ian - can you try some app other than KMM that uses the same date widget? 
> That might distinguish whether the problem is with the underlying widget
> itself, or with how KMM is using it, although I do suspect the former.

If you can suggest some apps, I will give it a go.
What I have noticed is that it doesn't happen in all places in KMM, so for example if you are creating a new transaction in the ledger then it works as expected.
Another place where it doesn't work correctly is in the price editor when you try to modify a date.
Comment 5 Thomas Baumgart 2019-01-19 08:20:11 UTC
I don't have a suggestion for another app, but some more tests and questions.

1. In case you press the up or down button on the right of the date, a popup should appear underneath the date entry widget showing the full date including weekday. This disappears after some time. Does the auto increment/decrement is related to the disappearance of the popup?

2. Does the auto increment also happens, if you place the cursor in the month or year section?

3. What happens, if you use the up or down arrow key of the keyboard instead of clicking the buttons with the mouse?

4. What happens, if you use the + or - key of the keyboard instead of clicking the buttons with the mouse?

5. You mentioned, that the start of the auto increment happens delayed. How fast does it increment?

6. Which theme do you use? Do you use an X-Server or Wayland?

7. Can you create a new fresh user on your system and see if KMyMoney behaves the same in this account regarding the date widget?
Comment 6 Ian Neal 2019-01-19 12:08:04 UTC
See replies inline.
(In reply to Thomas Baumgart from comment #5)
> I don't have a suggestion for another app, but some more tests and questions.
> 
> 1. In case you press the up or down button on the right of the date, a popup
> should appear underneath the date entry widget showing the full date
> including weekday. This disappears after some time. Does the auto
> increment/decrement is related to the disappearance of the popup?
No, it starts the increments/decrements before the poup is due to disappear - in other circumstances the popup would disappear after about 1.5 seconds, the increase/decrease starts in under 1 second.

> 2. Does the auto increment also happens, if you place the cursor in the
> month or year section?
No, if you click anyway in the date picker other than on the arrows and then one of the arrows, the auto increment does not happen.

> 3. What happens, if you use the up or down arrow key of the keyboard instead
> of clicking the buttons with the mouse?
For the up/down arrow you have to click into the date field, so the auto increment does not happen. It only seems to happen if the date field has never had focus when you click one of the arrows.

> 4. What happens, if you use the + or - key of the keyboard instead of
> clicking the buttons with the mouse?
As for 3.

> 5. You mentioned, that the start of the auto increment happens delayed. How
> fast does it increment?
After the first increment, it can take less than 4 seconds to go from 11 to 31, so about 0.2 seconds per increment.
 
> 6. Which theme do you use? Do you use an X-Server or Wayland?
Icon theme is oxygen. 
Using Xwayland.
Using Gnome as Desktop Manager (switching to Plasma makes no difference to the issue).

> 7. Can you create a new fresh user on your system and see if KMyMoney
> behaves the same in this account regarding the date widget?
Behaves the same way for a new user with same file and a new file.
Comment 7 Ian Neal 2020-03-06 04:58:23 UTC
Tested against Fedora 30 and this is still happening.
In Fedora 30 the SOFTWARE/OS VERSIONS are:
KDE Plasma Version: 5.15.5-1
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.5
Comment 8 Ian Neal 2020-08-11 09:49:42 UTC
Double checked and it looks like the fix for Bug 424378 fixed this.

*** This bug has been marked as a duplicate of bug 424378 ***