[Kmymoney-devel] [Bug 238857] The default value of the CSS option in the report settings page is not used correctly

Bernd Gonsior bernd.gonsior at googlemail.com
Sun May 30 18:15:52 CEST 2010


Alvaro Soliverez schrieb am 26.05.2010 12:46: 
> https://bugs.kde.org/show_bug.cgi?id=238857
> 
> 
> Alvaro Soliverez <asoliverez at gmail.com> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED
> 
> 
> 
> 
> --- Comment #1 from Alvaro Soliverez <asoliverez gmail com>  2010-05-26
>  12:46:51 --- SVN commit 1130791 by asoliverez:
> 
> Leaving the default CSS value blank defaults to the regular CSS file used
>  by reports
> 
> BUG:238857

The kmymoneyrc file is an external ressource which can be easily destroyed by
copying different version back and forth as i did. So i had another, wrong
value for the css file there because of my copying.

Currently i could not find a check at KMM startup, whether this configuration
parameter is valid. To avoid that people like me cause more headache here,
maybe such check should be added. Attached is a tgz with a basic outline of
such a check (it is not intended to be used that way, it's only an outline -
the check was added to KMyMoneyApp which is big enough and likely not the
right place).

This outline tries to set the build-in kmymoney.css if the one found in
kmymoneyrc is invalid (this should also be done in the reportsettings, where
currently an invalid file generates a warning, but no valid default is set).

If it seems to be useful, i could dig into it a bit more.

Sorry for responding so late, i was a bit busy.

Regards,
Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-css.tgz
Type: application/x-compressed-tar
Size: 67248 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100530/2cf11ce7/attachment-0001.tgz 


More information about the KMyMoney-devel mailing list