Bug 458565 - Typing character to open popup calculator immediately triggers currency editor dialog
Summary: Typing character to open popup calculator immediately triggers currency edito...
Status: RESOLVED WORKSFORME
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: git (master)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 16:46 UTC by Dawid Wróbel
Modified: 2022-10-05 04:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Wróbel 2022-08-31 16:46:00 UTC
SUMMARY
When editing a split, for an entry assigned to a non-default currency, typing * (star) in amount in order to multiply its value immediately triggers currency editor dialog. Closing that dialog and typing * again allows to perform the calculation as expected.


STEPS TO REPRODUCE
1. Edit a split
2. Assign an entry to one of a non-default currency
3. Navigate to amount
4. Type in * (star)

OBSERVED RESULT
Currency dialog pops-up immediately

EXPECTED RESULT
Dialog should not be shown until after Enter (or Tab?) is pressed on that entry
Comment 1 Thomas Baumgart 2022-09-04 08:13:49 UTC
We need more details to duplicate this. Here's what I did:

Create a new transaction in (asset) account denominated in EUR. Start editing splits. Create a new split. Add a value in deposit. Navigate to category. Select a category denominated in USD -> Exchange rate dialog pops up. Press Enter/OK. Navigate to deposit. Press * -> Calculator pops up. Save split. Edit it again. Navigate to deposit. Press * -> Calculator pops up.

Can you provide a backtrace from a breakpoint in NewSplitEditor::Private::amountChanged() right before KCurrencyCalculator::updateConversion() is called when you press * in your case? KMyMoney symbols would be great to have.
Comment 2 Bug Janitor Service 2022-09-20 04:46:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-10-05 04:50:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!