View Issue Details

IDProjectCategoryView StatusLast Update
0006102JEDI VCL00 JVCL Componentspublic2013-06-15 15:29
ReporterrszabolcsAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0006102: jvDock causes access violation at application exit when there is a Ribbon
DescriptionUsing C++Builder XE and latest SVN version of JVCL components, when I put a TRibbon object to a form as well as a TJvDockServer, at exit application throws an access violation exception.
Additional InformationSee the attached code.
TagsJVCL

Activities

2013-03-15 15:22

 

RibbonDockBug.7z (3,581 bytes)

AHUser

2013-05-25 14:40

developer   ~0020503

This seems to be a bug in TCustomRibbon.CustomFrameWndProc which recreates the already destroyed form's window handle because it wants to send the CM_CONTROLCHANGE message to DwmDefWindowProc() which can't do anything with it as it is a Delphi "private" message.

The only thing that could be done is to detect that there is a DwmCompositionEnabled TRibbon on the form and then intercept all CM_* messages. But this isn't a solution.

rszabolcs

2013-06-12 19:28

reporter   ~0020527

Thank you for the advice. I chose, however, an other approach so that I create and assign the style component in FormCreate and destroy it in FormDestroy.

rszabolcs

2013-06-12 19:28

reporter   ~0020528

I do not know exactly the protocol to follow with this issue so I assign it to you again.

rszabolcs

2013-06-12 19:29

reporter   ~0020529

I cannot do that. Please remove my previous and this note.

Issue History

Date Modified Username Field Change
2013-03-15 15:22 rszabolcs New Issue
2013-03-15 15:22 rszabolcs File Added: RibbonDockBug.7z
2013-04-19 15:23 rszabolcs Tag Attached: JVCL
2013-05-25 14:40 AHUser Note Added: 0020503
2013-05-25 14:40 AHUser Status new => feedback
2013-06-12 19:28 rszabolcs Note Added: 0020527
2013-06-12 19:28 rszabolcs Note Added: 0020528
2013-06-12 19:29 rszabolcs Note Added: 0020529
2013-06-15 15:29 AHUser Status feedback => closed
2013-06-15 15:29 AHUser Resolution open => fixed