update currency at program start always mark the file changed

Bug #2002650 reported by Daniele Gautschi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Low
Maxime DOYEN

Bug Description

Each time that I close the file the app asks me to save the changes (normally 2 changes) also if I have not made any change to the file. I can open the file and close it immediately and the systema asks me to save the 2 changes.

Version: 5.6.1 (but it happened also in the previous versions)
Windows 11

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

Do you have in preferences > General > Program start:
- Post pending scheduled transaction
- update currencies online

?

Changed in homebank:
status: New → Incomplete
Revision history for this message
Daniele Gautschi (pegaso1976ch) wrote :

As attachment I send you the settings.

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

Ok so I guess it is because each time you launch HB:
- it load last file
- and update the currency rates

so you have 2 change, because you have 2 currencies

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

I will see if it is possible to detect change (or no change) more precisely
for example if the rate is the same = no change

Changed in homebank:
assignee: nobody → Maxime DOYEN (mdoyen)
importance: Undecided → Low
milestone: none → 5.6.2
status: Incomplete → Confirmed
Maxime DOYEN (mdoyen)
summary: - Number of changes to save
+ update currency at program start always mark the file changed
Changed in homebank:
status: Confirmed → In Progress
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

only when the rate value change is counted as a change

also added an online API TTL : a smarter delay to avoid calling the api several time a day to get the same results

Changed in homebank:
status: In Progress → Fix Committed
Revision history for this message
Daniele Gautschi (pegaso1976ch) wrote :

OK, I removed the flag "Refresh value online" and the app now don't ask to save. So I have solved my problem but I think it could be nice an option like "ask to save if refresh value online is active", this would give the oportunity to the user to chose if save automatically or not.

Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.