Grid Size not saving on report

Stimulsoft Reports.WEB discussion
Ryan Robar
Posts: 22
Joined: Fri Sep 20, 2019 3:46 pm
Location: Canada

Grid Size not saving on report

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Grid Size not saving on report

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Grid Size not saving on report

Post 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.
Ryan Robar
Posts: 22
Joined: Fri Sep 20, 2019 3:46 pm
Location: Canada

Re: Grid Size not saving on report

Post 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.
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Grid Size not saving on report

Post 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.
Ryan Robar
Posts: 22
Joined: Fri Sep 20, 2019 3:46 pm
Location: Canada

Re: Grid Size not saving on report

Post 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 2761 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 2761 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 2761 times
Attachments
RevertedGridSize.png
RevertedGridSize.png (5.53 KiB) Viewed 2762 times
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Grid Size not saving on report

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.

> 1. Open the report designer.

Please clarify which designer do you open?

Thank you.
Ryan Robar
Posts: 22
Joined: Fri Sep 20, 2019 3:46 pm
Location: Canada

Re: Grid Size not saving on report

Post 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 2728 times
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Grid Size not saving on report

Post 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.
Ryan Robar
Posts: 22
Joined: Fri Sep 20, 2019 3:46 pm
Location: Canada

Re: Grid Size not saving on report

Post 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.
Post Reply