preferences not saved when ~/.config doesn't exist

Bug #931187 reported by Nomer T Gomer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Low
Maxime DOYEN

Bug Description

When HomeBank is run on a system where ~/.config doesn't exist, the preferences are not saved. I'm guessing here but, it seems that HomeBank tries to create "~/.config/homebank/preferences" but can't because ~/.config doesn't exist.
This is a minor problem that will probably only effect a minor amount of people, because most Linux(R)/GNU systems have ~/.config

OS: TinyCore Linux 4.1
HomeBank version: 4.4
Steps to reproduce:
  on a system where ~/.config doesn't exist:
    download and un-pack v4.4 source
    ./configure --prefix=/usr/local
    make
    make install [as root]
    homebank
    [open the example file, then make some changes in the preferences e.g. Prefix symbol, then exit homebank and start it again]
    [note how the thing you changed is back to its default value]

Tags: preference
Nomer T Gomer (nomer)
description: updated
Maxime DOYEN (mdoyen)
Changed in homebank:
importance: Undecided → Low
Maxime DOYEN (mdoyen)
tags: added: preference
Maxime DOYEN (mdoyen)
Changed in homebank:
milestone: none → 4.5
assignee: nobody → Maxime Doyen (mdoyen)
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

This is fixed for v4.5.
When the home/<usr>/.config dir do not exist, it is created

Changed in homebank:
status: New → Fix Committed
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.