After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345980 - changing Stylesheet doesn't commit
changing Stylesheet doesn't commit
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Reports
git-master
Other All
: Normal normal
: ---
Assigned To: Chris Lyttle
Chris Lyttle
: 507671 517859 (view as bug list)
Depends on:
Blocks: backport
 
 
Reported: 2006-06-26 19:01 UTC by jamie
Modified: 2018-06-29 21:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First try (1.77 KB, patch)
2008-11-09 15:46 UTC, Andreas Köhler
committed Details | Review

Description jamie 2006-06-26 19:01:16 UTC
Please describe the problem:
in revision 14441, changing the stylesheet option is not remembered.

Steps to reproduce:
1. open gnucash with books that have some data
2. go to reports/Sample & Custom/Welcome Sample Report
3. go to the bottom and click "edit options"
4. change stylesheet to easy
5. click ok
6. click edit options again.  Stylesheet has reverted to default.


Actual results:


Expected results:
settings should remember the changed value for stylesheet

Does this happen every time?
yes

Other information:
Comment 1 Josh Sled 2007-04-21 16:13:24 UTC
Confirmed.

The last "Edit Options" link on the report page is for the Income/Expense Chart report specifically; none of the embedded/sub-reports stylesheet options are changed.

I do note that changing the options for the whole Welcome report is both retained and cascades to all the sub-reports.
Comment 2 Christian Stimming 2008-11-08 20:54:36 UTC
*** Bug 507671 has been marked as a duplicate of this bug. ***
Comment 3 Christian Stimming 2008-11-08 20:55:31 UTC
*** Bug 517859 has been marked as a duplicate of this bug. ***
Comment 4 Christian Stimming 2008-11-08 20:56:54 UTC
Bug 517859 wrote:

I can reproduce the bug in all my 2.2.7 installations. Have You closed the tab with modified report before You close and restart the GnuCash program? Here are the steps.

Start GnuCash with a datafile
Open the report "Berichte" -> "Erträge & Aufwendungen" -> "Gewinn- und
Verlustrechnung"
RightMouseKey -> "Berichtsoptionen" (or Menu "Bearbeiten" ->
"Berichtsoptionen")
  Category "Allgemein":
    Change "Berichtsname:" "Gewinn- und Verlustrechnung" to "TestGuV"
    Change "Stilvorlage:" "Voreinstellung" to "Bunt"
    Klick "OK" -> The report will shown in colors
"File" -> "Bericht hinzufügen.."
Close the tab "TestGuV"
Close Gnucash
Start Gnucash again
Open the report "Berichte" -> "Benutzerdefiniert" -> "TestGuV"
  The report will now shown with the Stylesheet "Voreinstellung", not with
"Bunt".
  Verify:
    RightMouseKey -> "Berichtsoptionen"
      Category "Allgemein" -> "Stilvorlage:" shows "Voreinstellung"
Comment 5 Andreas Köhler 2008-11-09 15:46:24 UTC
Created attachment 122267 [details] [review]
First try

Does this patch work for you?
It would be nice if someone could confirm that applying this does not destroy earth too eagerly :-)
Comment 6 Christian Stimming 2008-11-26 22:18:39 UTC
Patch applied to trunk, r17728 (Not that I knew what this really does, but it looks good to me :-)
Comment 7 Christian Stimming 2008-12-06 22:10:42 UTC
And to 2.2 branch, r17756.
Comment 8 John Ralls 2018-06-29 21:08:44 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=345980. Please update any external references or bookmarks.