[GNC] Is a screwed-up style sheet hiding somewhere?

Adrien Monteleone adrien.monteleone at lusfiber.net
Fri Jan 6 18:18:00 EST 2023


Fair enough.

I see you managed to clear it up with a registry edit.

I did manage to get a similar looking invoice to yours by default 
though. That was via Reports > Business > Fancy Invoice.

The other options of Easy, Printable, & Tax Invoice are more sane looking.

You can change the 'default' Invoice template to Fancy (not that you'd 
want to now) via Preferences > Business > Report for printing. I'd bet 
you had it set for the Fancy template before your re-install and regedit 
attempt.

-----
As a side note here, maybe take from a clean install, a copy of the 
settings location folders as a backup to do a quick restore. For the 
registry entries, I think you can export selected folders/keys as a 
subset that can be 're-imported' if needed rather than have to manually 
edit individual keys. (This is how installations work behind the scenes) 
I don't recall all of those steps as I haven't regularly used Windows in 
years, but I know it can be done.

Regards,
Adrien

On 1/6/23 4:16 PM, Dr. David Kirkby wrote:
> Since installation was so quick, I thought removing all files from all the
> directories listed in Help -> About was certain to solve the problem.
> 
> Your fix works for an invoice, but the next time I try to generate one, the
> same problem persists. So I don't think that's an ideal solution. I don't
> want to have to change it manually each time. Originally the default
> invoice looked reasonable (no duplicated company name). I was messing
> around with the style sheets a week or so ago when I caused the problem. I
> know I created it, and also moving the accounts to a Linux workstation does
> not show the problem. So the problem was caused by me on this Windows
> laptop and remains on the laptop, not the .gnucash file. I have somehow
> changed the default invoice (and bill), and left the changes in a location
> I can't find.
> 
> I tried changing the location I saved files from the Documents folder to
> the Desktop. But that does not solve the problem.
> 
> I'm 99% sure there was an uninstall program on version 4.12. But maybe
> Windows put one in the GnuCash folder.
> 
> Looking at this
> 
> https://wiki.gnucash.org/wiki/Configuration_Diagrams_-_Windows
> 
> GnuCash uses files in HOME\AppData\Local. That's not listed on the help
> menu.
> 
> You might laugh, but I'm going to uninstall again, and see if I can clear
> out anything from HOME\AppData\Local. Perhaps then I can restore the
> default behaviour to something sensible.



More information about the gnucash-user mailing list