Page 1 of 1

Problem with preview designer

Posted: Thu Dec 02, 2021 4:14 pm
by paullef
Hello,

I am in the process of upgrading from 2014.2 to 2021.4 and run into a strange problem. If I preview a report the report checker will keeps flashing, so it shows/hides/shows/hides/shows/hide.... until you will break the application. I have simulated this with the following (clean) code. It shows the designer, and if you open the attached report and presses preview I am getting this behaviour.

The datasources behind this report are deleted (it also goes wrong when they still are there but not correct anymore). This will trigger the report checker of course, but it should not goes on and off.

I have already tried to disable the automatic report checker but I cannot find how. Please help.

Thanks
Paul


Code: Select all

Imports Stimulsoft.Report

Public Class Form1
    Private WithEvents StiDesignerControl1 As Stimulsoft.Report.Design.StiDesignerControl

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    End Sub

    Public Sub New()

        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        Try
            Stimulsoft.Base.StiLicense.Key = "xxxxx"

            StiDesignerControl1 = New Stimulsoft.Report.Design.StiDesignerControl
            StiDesignerControl1.Dock = DockStyle.Fill

            Me.Controls.Add(StiDesignerControl1)
            StiDesignerControl1.Visible = True

            StiDesignerControl1.Report = New StiReport

        Catch ex As Exception
        End Try

    End Sub


End Class

Re: Problem with preview designer

Posted: Fri Dec 03, 2021 2:26 pm
by Lech Kulikowski
Hello,

Please send us a sample project that we can run and reproduce the issue for analysis.

Thank you.

Re: Problem with preview designer

Posted: Fri Dec 03, 2021 2:53 pm
by paullef
Hello Lech,

It's just a standard vb.net project, with the code as states in my previous post. I have attachted the project. You will have to run it (change the license key), and open the mrt file wich is also attached. Click preview and it goes wrong.

thanks,
Paul

Re: Problem with preview designer

Posted: Mon Dec 06, 2021 8:30 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#5814

Re: Problem with preview designer

Posted: Mon Dec 06, 2021 8:45 pm
by paullef
Hello9,

Can you reproduce it?

Thanks
Paul

Re: Problem with preview designer

Posted: Mon Dec 06, 2021 9:30 pm
by Lech Kulikowski
Hello,

Yes.

Thank you.

Re: Problem with preview designer

Posted: Tue Dec 07, 2021 10:17 am
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next release build within a week.

Thank you.