Feed Advanced Search

May 29 2020

rszczesiak committed R261:58ef131ea94e: Add copyright (authored by rszczesiak).
Add copyright
May 29 2020, 2:36 PM
rszczesiak committed R261:8ae14acc9e89: Fix budget view displaying all account types (authored by rszczesiak).
Fix budget view displaying all account types
May 29 2020, 2:36 PM
rszczesiak committed R261:3bf120d2b2ae: Fix report's chart cluttered with overlapping data labels (authored by rszczesiak).
Fix report's chart cluttered with overlapping data labels
May 29 2020, 12:19 AM

May 18 2020

rszczesiak committed R261:6e1746e3d6ea: Fix new account wizard not asking if the user wants to add a new payee (authored by rszczesiak).
Fix new account wizard not asking if the user wants to add a new payee
May 18 2020, 6:40 PM

May 16 2020

rszczesiak updated the diff for D29776: Fix New Account Wizard throws exception on empty payment method selected.

Added the fix for incorrect Next button tooltip messages on the Schedule page.

May 16 2020, 6:45 AM · KMyMoney

May 15 2020

rszczesiak added a comment to D29776: Fix New Account Wizard throws exception on empty payment method selected.

OK, I found it.
The 2nd last line of the isComplete() method should be d->m_wizard->d_func()->m_nextButton->setToolTip(msg); instead of d->m_wizard->d_func()->m_finishButton->setToolTip(msg);
Now the tooltip message informs the user why the Next button is disabled.

May 15 2020, 8:24 PM · KMyMoney
rszczesiak added a comment to D29776: Fix New Account Wizard throws exception on empty payment method selected.

@tbaumgart, That's right. I also investigated those #if 0/#endif lines to find out why they had been added before I decided to bring those two payment methods back and found no good reason. It might well have been only temporary and the author forgot to revert the change.

May 15 2020, 6:44 PM · KMyMoney
rszczesiak added a comment to D29776: Fix New Account Wizard throws exception on empty payment method selected.

@ostroffjh, I agree that your concerns are important. I have just skimmed through the code and came acrosss something that may render useful.
There is a virtual method isComplete() in KMyMoneyWizardPage class.

/**
  * This returns, if all necessary data for this page has been
  * filled. It is used to enabled the 'Next' or 'Finish' button.
  * The button is only enabled, if this method returns @p true,
  * which is the default implementation.
  *
  * @retval false more data required from the user before we can proceed
  * @retval true all data available, we allow to switch to the next page
  */
virtual bool isComplete() const;

The method is overridden in subclass CreditCardSchedulePage which is changed by this patch.
It seems this approach works as expected on the previous page:


For some reason tooltip message is not supported correctly on the Schedule page. This needs looking into more closely to find out why.

May 15 2020, 6:39 PM · KMyMoney
rszczesiak added a comment to D29776: Fix New Account Wizard throws exception on empty payment method selected.

The patch also disallows the user to intentionally set empty payment method. Empty method is not listed. Therefore I consider the fix quite solid.

May 15 2020, 3:11 PM · KMyMoney
rszczesiak added a comment to D29776: Fix New Account Wizard throws exception on empty payment method selected.

What about just refusing to allow to complete the creation (instead of crashing) unless a payment method is selected, but not set a default type?

May 15 2020, 2:57 PM · KMyMoney
rszczesiak requested review of D29776: Fix New Account Wizard throws exception on empty payment method selected.
May 15 2020, 2:27 PM · KMyMoney

May 13 2020

rszczesiak added a comment to D29614: Fix Account context menu's Reconcile option opens incorrect ledger.

@tbaumgart, thank you for your acceptance. Could you please land the patch for me? I do not have git push permission.

May 13 2020, 6:51 AM · KMyMoney

May 11 2020

rszczesiak added a project to D29614: Fix Account context menu's Reconcile option opens incorrect ledger: KMyMoney.
May 11 2020, 10:01 AM · KMyMoney

May 10 2020

rszczesiak added a reviewer for D29614: Fix Account context menu's Reconcile option opens incorrect ledger: tbaumgart.
May 10 2020, 10:17 PM · KMyMoney
rszczesiak requested review of D29614: Fix Account context menu's Reconcile option opens incorrect ledger.
May 10 2020, 10:16 PM · KMyMoney

May 8 2020

rszczesiak updated the diff for D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.

Removed unnecessary function declaration.

May 8 2020, 10:10 AM · KMyMoney
rszczesiak updated the diff for D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.

Added the requested changes.

May 8 2020, 10:07 AM · KMyMoney

May 6 2020

rszczesiak added a comment to D29480: Fix Logarithmic vertical axis has multiple zero labels.

Thanks :) I really like to see that charts work as expected.

May 6 2020, 8:01 PM · KMyMoney
rszczesiak added inline comments to D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.
May 6 2020, 6:35 PM · KMyMoney
rszczesiak added a comment to D29480: Fix Logarithmic vertical axis has multiple zero labels.

Before fix:

May 6 2020, 1:37 PM · KMyMoney
rszczesiak added a project to D29480: Fix Logarithmic vertical axis has multiple zero labels: KMyMoney.
May 6 2020, 12:07 PM · KMyMoney
rszczesiak requested review of D29480: Fix Logarithmic vertical axis has multiple zero labels.
May 6 2020, 12:05 PM · KMyMoney
rszczesiak updated the diff for D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.

Simplified c'tor arguments. Removed unnecessary if statements. Added indentation.

May 6 2020, 7:41 AM · KMyMoney

May 5 2020

rszczesiak added a project to D29446: Fix Freeze: logarithmic vertical axis and negative data range From value: KMyMoney.
May 5 2020, 7:27 PM · KMyMoney
rszczesiak updated the diff for D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.

Fixed typos in the commit message

May 5 2020, 6:05 PM · KMyMoney
rszczesiak updated the diff for D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.
May 5 2020, 3:27 PM · KMyMoney
rszczesiak updated the summary of D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.
May 5 2020, 2:31 PM · KMyMoney
rszczesiak requested review of D29446: Fix Freeze: logarithmic vertical axis and negative data range From value.
May 5 2020, 1:19 PM · KMyMoney

May 1 2020

rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

With the priceless help from @tbaumgart I managed to find a solution. Please find attached the final version of the patch.

May 1 2020, 9:28 PM · KDiagram, KMyMoney
rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

I have done some more testing and I realized that precision (number of digits after the decimal point) is subject to change. In fact, account balance history chart is pretty straightforward but the code that I worked with is also used with configurable charts in reports. Precision can be changed in the Range tab of the Report Configuration window.
My previous patch created yAxis by calling new KReportCartesianAxis(loc, m_precision) whereas it should be new KReportCartesianAxis(loc, config.yLabelsPrecision()).

May 1 2020, 12:37 PM · KDiagram, KMyMoney

Apr 30 2020

rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.
Apr 30 2020, 7:40 AM · KDiagram, KMyMoney
rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

0.0 is quite a special argument for the logarithm. I made one last change adding support for this case.

Apr 30 2020, 7:30 AM · KDiagram, KMyMoney
rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

Also there was a todo comment in the code I have removed, so thought it to be appropriate to take care of it lest it be missed out.

/ @todo this might also need some vertical adjustment in case of a horizontal line
/ see below how this has been solved for linear graphs

Indeed, support for logarithmic axis type was required.
Now I think the code is robust and complete. Now I'll just wait for the final review from you :)

Apr 30 2020, 7:03 AM · KDiagram, KMyMoney

Apr 29 2020

rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

There is one thing I overlooked in my previous revision. I have just tested my changes against a new account with clear history (empty ledger). It leads to a horizontal-line chart that is drawn incorrectly if no custom grid extension is made. The conclusion is the original grid extension code is here to stay. I have just moved it from void KReportChartView::slotNeedUpdate() to the bottom of void KReportChartView::drawPivotChart( ... ) and I refactored a little bit. Sorry for messing around in this already accepted patch. The good thing is labels are now printed correctly even when one zooms a horizontal-line chart :)

Apr 29 2020, 10:41 PM · KDiagram, KMyMoney
rszczesiak added inline comments to D29255: Fix ordinate axis labels when zooming.
Apr 29 2020, 8:12 PM · KDiagram, KMyMoney
rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.
Apr 29 2020, 8:04 PM · KDiagram, KMyMoney
rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

Thank you, @tbaumgart for your time spent reviewing my changes. I have amended my commit message with tag "BUG: 420767"

Apr 29 2020, 7:44 PM · KDiagram, KMyMoney

Apr 28 2020

rszczesiak updated the diff for D29255: Fix ordinate axis labels when zooming.

Uploaded a new diff patch after changes according to @tbaumgart's comments.

Apr 28 2020, 9:20 PM · KDiagram, KMyMoney
rszczesiak added inline comments to D29255: Fix ordinate axis labels when zooming.
Apr 28 2020, 9:18 PM · KDiagram, KMyMoney
rszczesiak updated the test plan for D29255: Fix ordinate axis labels when zooming.
Apr 28 2020, 2:09 PM · KDiagram, KMyMoney
rszczesiak updated the test plan for D29255: Fix ordinate axis labels when zooming.
Apr 28 2020, 1:51 PM · KDiagram, KMyMoney
rszczesiak added a watcher for KMyMoney: rszczesiak.
Apr 28 2020, 1:21 PM
rszczesiak requested review of D29255: Fix ordinate axis labels when zooming.
Apr 28 2020, 1:18 PM · KDiagram, KMyMoney