Page 1 of 2

Grid Size not saving on report

Posted: Fri Sep 20, 2019 4:14 pm
by Ryan Robar
I have a report set to use inches with the grid size set to 0.05. I'm using version 2019.3.5 of your designer, and every time I open the report the grid size is reset to the default value of 0.1. It's easy enough to set it back every time, but it is a bit of a hassle.

I took a look at my Stimulsoft.Report.settings file, and I can see that the "GridSizeInch" item is set to 0.05 when I set the setting. It doesn't get changed back to 0.1 unless I close the designer, reopen it, and then open my report.

Re: Grid Size not saving on report

Posted: Sat Sep 21, 2019 8:25 am
by HighAley
Hello, Ryan.

You get the issue because the Report Unit property by default is set to Centimeters.
I will check if it's possible to change this behavior.

Thank you.

Ticket reference: #971

Re: Grid Size not saving on report

Posted: Mon Sep 23, 2019 7:38 am
by HighAley
Hello, Ryan.

What Report Unit is set for the report?
Please, check that it is set to inches.

In the Designer you could set the grid for different report units.
But the report unit is set in the report.

Thank you.

Re: Grid Size not saving on report

Posted: Mon Sep 23, 2019 11:34 am
by Ryan Robar
The Report Unit is set to inches, and stays set to inches if I close and reopen the report. The issue I'm having is with the Grid Size setting of the designer. Every time I launch the designer, the first time I open a report all of my Grid Size settings are being reset to the default values.

So, if I open the designer and fix the setting to what I want (In this case 0.05), I see this line in my Stimulsoft.Report.settings file:

<Item Key="GridSizeInch" Value="0.05" Type="System.Double" />

If I then close and reopen the designer, and open any report, the setting changes to this:

<Item Key="GridSizeInch" Value="0.1" Type="System.Double" />

I'd like the setting to keep the value I set it to.

Re: Grid Size not saving on report

Posted: Thu Sep 26, 2019 1:49 pm
by Lech Kulikowski
Hello,

Please check the last build 2019.3.6.
If the issue still present, please send us a step by step guide how to reproduce it.

Thank you.

Re: Grid Size not saving on report

Posted: Thu Sep 26, 2019 2:43 pm
by Ryan Robar
I am currently using version 2019.3.6

To reproduce:
  1. Open the report designer.
  2. Create a report or open an existing one.
  3. Go to File -> Options to open the options dialog box.
  4. Go to the Grid section of the options dialog.
  5. Note the values in the Grid size section.
    DefaultGridOptions.png
    DefaultGridOptions.png (19.56 KiB) Viewed 4091 times
  6. Change the defaults for one or more of the Grid size values and hit OK to save them.
    ChangedGridSize.png
    ChangedGridSize.png (5.61 KiB) Viewed 4091 times
  7. Completely exit the report designer.
  8. Repeat steps 1 through 4 to get back to the grid options.
  9. Note that the Grid size values are back to the original values.
    RevertedGridSize.png
    RevertedGridSize.png (5.53 KiB) Viewed 4091 times

Re: Grid Size not saving on report

Posted: Sun Sep 29, 2019 11:51 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue.

> 1. Open the report designer.

Please clarify which designer do you open?

Thank you.

Re: Grid Size not saving on report

Posted: Mon Sep 30, 2019 11:06 am
by Ryan Robar
The one installed from this page on your site: https://www.stimulsoft.com/en/downloads/reports

I used the 'Download for Windows' link. The version I installed was older (My initial install was version 2019.3.3) but I have downloaded every update since using the update feature of the designer.

Here's the about box, if that helps:
AboutBox2019_3_6.png
AboutBox2019_3_6.png (10.83 KiB) Viewed 4058 times

Re: Grid Size not saving on report

Posted: Wed Oct 02, 2019 9:47 am
by Lech Kulikowski
Hello,

We still couldn't reproduce the issue.
Please try to clear settings folder at the following path:
Users\[UserName]\AppData\Local\Stimulsoft\

Thank you.

Re: Grid Size not saving on report

Posted: Wed Oct 02, 2019 11:06 am
by Ryan Robar
I removed all of the files in that folder. The designer recreated all of them, and my issue is still present. I played with some of the other settings, and it seems like this might not only be an issue with the grid settings. I also tried disabling rulers and enabling auto-save. Both settings were changed back to default after restarting the designer and opening a report. But I also set the "Who are you?" setting to "I'm Developer" and that setting seems to have stayed set, so it's not all settings that are being reverted.