BUG: Report control sometimes freezes! |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mihey
Groupie Joined: 14 May 2003 Location: Germany Status: Offline Points: 45 |
Post Options
Thanks(0)
|
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 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hello;
I'm not using the xtpReportScrollModeSmoothscroll mode! But I still have the problems. |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mcmastl
Admin Group Joined: 14 April 2015 Status: Offline Points: 79 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |