Print Page | Close Window

BUG: Report control sometimes freezes!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19896
Printed Date: 28 September 2024 at 1:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: Report control sometimes freezes!
Posted By: mgampi
Subject: BUG: Report control sometimes freezes!
Date Posted: 26 June 2012 at 4:42pm
Hello;

We're using several instances of the report control within our app. Sometimes one of these report controls freezes drawing. It does not update it's states (drawing freezes). E.g. the vertical scrollbar is visible and can be moved by mouse but the content is always the same. Also when clicking into the control the selection does not change, but when using the keyboard arrow keys to navigate I receive change events in the owner of the control.

Firts we thought that we forgot to call EndUpdate() after a BeginUpdate() call, but we always use CXTPReportControl::CUpdateContext guards throughout the whole application. So it definitely can't be within our app.
I just checked the XT source code and found out that in several places the CXTPReportControl::CUpdateContext isn't used and I found functions with EndUpdate()/BeginUpdate() (in this order) calls. Perhaps here's the problem...

Has anyone else encountered the same problem? How did you solve this?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mihey
Date Posted: 16 December 2014 at 4:56am
Hi,
I‘ve experienced a similar problem with my Report Control. After some debugging I’ve found out, that the effect had something todo with xtpReportScrollModeSmooth ScrollMode in a very special case (a row in a hidden group changes his parent).

Sometimes the EnsureVisibleSmooth in the CXTPReportSection::EnsureVisible method crashes and the caller SetFocusedRow method does not have an EndUpdate executed.
Do you also use xtpReportScrollModeSmooth scroll mode? Try to switch to xtpReportScrollModeBlockCount instead. Perhaps that would be a workaround.

Best Regards,
Mikhail


Product: Xtreme Toolkit Version 16.2.0

Platform: Windows 7 (64bit)

Language: Visual C++ 2003


Posted By: mgampi
Date Posted: 16 December 2014 at 7:26am
Hello;

I'm not using the xtpReportScrollModeSmoothscroll mode!
But I still have the problems.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: mcmastl
Date Posted: 20 April 2015 at 12:55pm
Hi Martin,
Thank you for letting us know of this issue.  We have let our development team know to look further into the issue.  If the matter has been resolved please let us know. 


-------------
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net