Bug 517475 - Alarms triggering even when conditions not met
Summary: Alarms triggering even when conditions not met
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: EndeavourOS Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-03-12 17:05 UTC by dissuade_scrambler790
Modified: 2026-03-16 20:56 UTC (History)
0 users

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


Attachments
Conditions and entered transactions (32.19 KB, image/jpeg)
2026-03-12 17:05 UTC, dissuade_scrambler790
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dissuade_scrambler790 2026-03-12 17:05:31 UTC
Created attachment 190608 [details]
Conditions and entered transactions

SUMMARY

Setting an alarm to trigger when a limit has been reached causes the alarm to trigger constantly, i.e. when the limit has not been reached.

For example setting it to trigger when 50,00 EUR are reached for the category "Dinning out" in the current month for Account X will cause the alarm message to appear even when the only transaction is 45,00 EUR or even when no transaction is present at all


STEPS TO REPRODUCE
1. Set up the search conditions ((Category ='Expense > Food > Dining' and Date is in current month and Account ='X');If total(Amount)>=50 then send 'Budget Reached')
2. Hit "Add"

OBSERVED RESULT
The message "Budget Reached" appears when the conditions provided are not met (No transactions entered nor found via provided conditions)

EXPECTED RESULT
No message to appear until the conditions have been met

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.6.1
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Comment 1 Stephane MANKOWSKI 2026-03-16 20:56:05 UTC
Git commit 8cf26dd2de79d9afeb4427a6b73998f357775efd by Stéphane MANKOWSKI.
Committed on 16/03/2026 at 20:55.
Pushed by smankowski into branch 'master'.

Alarms triggering even when conditions not met

M  +1    -0    CHANGELOG
M  +1    -1    skgbankmodeler/skgruleobject.cpp
M  +0    -1    skrooge/main.cpp
M  +18   -2    tests/skgbankmodelertest/skgtestrule.cpp

https://invent.kde.org/office/skrooge/-/commit/8cf26dd2de79d9afeb4427a6b73998f357775efd